I'm trying to build an AEM6 project using the new AEM6.1 dependencies. However I'm stuck with some pretty nasty build errors...
When I use the following new AEM6.1 dependency (why is this moved (the other way around again) from com.adobe.aem to com.day.cq?) :
<dependency>
<groupId>com.day.cq</groupId>
<artifactId>cq-quickstart</artifactId>
<version>6.1.0</version>
<scope>provided</scope>
<classifier>apis</classifier>
</dependency>
However when I build the project I get these errors :
[WARNING] Bundle sample:aem-services:bundle:1.0.0-SNAPSHOT : No translation found for macro: range;[==,+)
[ERROR] Bundle sample:aem-services:bundle:1.0.0-SNAPSHOT : null, for cmd: range, arguments; [range, [==,+)]
[ERROR] Bundle sample:aem-services:bundle:1.0.0-SNAPSHOT : No version specified for ${version} or ${range} and no implicit version ${@} either, mask===
[ERROR] Bundle sample:aem-services:bundle:1.0.0-SNAPSHOT : No version specified for ${version} or ${range} and no implicit version ${@} either, mask=+
[ERROR] Failed to execute goal org.apache.felix:maven-bundle-plugin:2.3.7:bundle (default-bundle) on project sample-aem-services: Error(s) found in bundle configuration -> [Help 1]
[ERROR]
What I already tried to do ?
Looks like I have an issue that is very familiar to the one that was mentioned related to the AEM 6.1 beta : http://www.minzdravkub.ru/content/adobeforums/en/experience-manager-forum/adobe-experience-manager.t...
Somebody who was able to get this fixed?
Solved! Go to Solution.
Views
Replies
Total Likes
Are you following online AEM documentation? I am looking at the 6.1 docs here:
http://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html#How-To Add Dependencies
and i am not seeing mention of this dependency. Instead - it says to use dep finder:
To find the Maven coordinates for a class or package, you can use the Web Console's "Packages" screen athttp://<host>:<port>/system/console/depfinder.
Views
Replies
Total Likes
Are you following online AEM documentation? I am looking at the 6.1 docs here:
http://docs.adobe.com/docs/en/aem/6-1/develop/dev-tools/ht-projects-maven.html#How-To Add Dependencies
and i am not seeing mention of this dependency. Instead - it says to use dep finder:
To find the Maven coordinates for a class or package, you can use the Web Console's "Packages" screen athttp://<host>:<port>/system/console/depfinder.
Views
Replies
Total Likes
Just to isolate the problem, could you try with maven-bundle-plugin version 2.3.4 please ?
-Sudheera
Views
Replies
Total Likes
Well actually I'm using this dependency based on a blog post from the official Adobe blog: http://blogs.adobe.com/experiencedelivers/experience-management/aem6-maven-dependencies-simplicity/
So I would assume they support this (much cleaner) way of managing AEM dependencies ?
Views
Replies
Total Likes
Views
Likes
Replies