I was trying to add a component from the code side.
Steps to reproduce:
1) Clone the repository of wknd project https://github.com/adobe/aem-guides-wknd.git
2) checkout to main branch
3) Copy the helloworld component folder from ui.apps folder and paste and rename the new component to myhelloword
4)Change the cq:dialog appropraitely
5)change the html and .content.xml appropriately
6) Add MyHelloWorld.java in the core folder and by copy pasting the HelloWorld.java
7) Link the MyHelloWorld.java to the myhelloworld.html component as done in helloworld.html
I changed the package.info in the model package as follows
@org.osgi.annotation.versioning.Version("3.3.0")
package com.adobe.aem.guides.wknd.core.models;
But still getting the error. Could yoy please advice what to do to fix it?
Getting error as [ERROR] The bundle version change (3.2.0 to 3.2.1) is too low, the new version must be at least 3.3.0
[INFO] ------------------------------------------------------------------------
Solved! Go to Solution.
Views
Replies
Total Likes
Look for the "bnd-baseline-maven-plugin" configuration, it must be in the core's pom.xml I think
Hi,
This is most likely due to the BND baseline, please refer to this thread for a full explanation: https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/the-bundle-version-change-...
https://github.com/bndtools/bnd/issues/2859
To fix it you could either increase the version of the packages as the error suggests(https://experienceleaguecommunities.adobe.com/t5/adobe-experience-manager/an-error-occurred-while-ca...), or you could simply disable the BND baseline like below:
<plugin>
<groupId>biz.aQute.bnd</groupId>
<artifactId>bnd-baseline-maven-plugin</artifactId>
<configuration>
<failOnMissing>false</failOnMissing>
<skip>true</skip>
</configuration>
</plugin>
Look for the "bnd-baseline-maven-plugin" configuration, it must be in the core's pom.xml I think
Thank you @EstebanBustamante, the above plugin worked for me
@vineetham123 Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies