Skip to main content
Level 8
Mar 31, 2021 1:00 PM UTC
Solved

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

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.
TB3dockAccepted solution
Level 8
Mar 31, 2021 1:40 PM UTC

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

4 replies

TB3dockAuthorAccepted solution
Level 8
Mar 31, 2021 1:40 PM UTC

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

Translate
Level 2
Apr 16, 2024 6:15 AM UTC

my version is 2.1.0 ,but its also report issue

Translate
Jul 3, 2025 10:13 AM UTC

Try updated it with suggested version in my case its 3.0.0

 

 

Translate