An error occurred while calculating the baseline: The baselining plugin detected versioning errors | Community
Skip to main content
Level 8
March 31, 2021
Solved

An error occurred while calculating the baseline: The baselining plugin detected versioning errors

  • March 31, 2021
  • 2 replies
  • 14129 views

I downloaded the wknd tutorial for git. This compiles and installs ok (once pom is edited to fix the M1 node version issue).  

 

Following this tutorial, I created a new component:

 

https://experienceleague.adobe.com/docs/experience-manager-learn/getting-started-wknd-tutorial-develop/custom-component.html#byline-htl

 

However, when I try to build, I get 

 

[ERROR] Failed to execute goal biz.aQute.bnd:bnd-baseline-maven-plugin:5.1.2:baseline (baseline) on project aem-guides-wknd.core: An error occurred while calculating the baseline: The baselining plugin detected versioning errors -> [Help 1]

 

I also notice:

[ERROR] Baseline mismatch for package com.adobe.aem.guides.wknd.core.models, MINOR change. Current is 2.0.0, repo is 2.0.0, suggest 2.1.0 or -

 

Any idea how to fix?  how do I bump this version number? It doesn't seem to be defined in the core pom.xml nor the root pom.xml

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by TB3dock

Ok, from the error message, I did a full text search on the contents of the entire source for "2.0.0", and found that core/src/main/java/come/adobe/aem/guides/wknd/core/models/package-info.java contains 

 

@2892159("2.0.0")

 

I increased this to 2.1.0.

 

Now it builds without error

2 replies

TB3dockAuthorAccepted solution
Level 8
March 31, 2021

Ok, from the error message, I did a full text search on the contents of the entire source for "2.0.0", and found that core/src/main/java/come/adobe/aem/guides/wknd/core/models/package-info.java contains 

 

@2892159("2.0.0")

 

I increased this to 2.1.0.

 

Now it builds without error

Level 2
April 16, 2024

my version is 2.1.0 ,but its also report issue

July 3, 2025

Try updated it with suggested version in my case its 3.0.0