Closed perfeccionista closed 6 years ago
can I know the Java and Maven version ? you using
Try to add these dependency in content/POM.xml
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<version>3.9.0</version>
<type>content-package</type>
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>2.12.0</version>
<scope>provided</scope>
</dependency>
and then within the configuration of the content-package-maven-plugin, add a subPackage
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<subPackages>
<subPackage>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<filter>true</filter>
</subPackage>
</subPackages>
</configuration>
</plugin>
I have using java 1.8 version.
Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T10:41:4
7-06:00)
Maven home: C:\Adobe\apache-maven\bin\..
Java version: 1.8.0_121, vendor: Oracle Corporation
Java home: C:\Installations\Java\jdk1.8.0_121\jre
Default locale: en_US, platform encoding: Cp1252
My main POM file has this entry.
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>3.4.0</version>
<scope>provided</scope>
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<version>3.4.0</version>
<type>content-package</type>
<scope>provided</scope>
</dependency>
@perfeccionista in the first post you say you're using 3.9.0.. but here it appears you're using 3.4.0... have you manually deployed 3.9.0 to your AEM instance? You should make sure that you are in sync across your ACS Commons versions (the dep versions in your maven pom and what is deployed to AEM) .. if they are different you can certainly get dependency resolution issues.
In our project we have used version 3.8.4 for both acs-commons-bundle and acs-commons-content. it works fine for us.
no feedback in several months. closing
I am using AEM 6.2 and ACS Commons 3.9 on a windows environment with Java8.
On activating the bundle, following error shown in error.log.
Help much appreciated.