Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dfparker2002/99138f1ae8004abfec75b1da63bf378e to your computer and use it in GitHub Desktop.
Save dfparker2002/99138f1ae8004abfec75b1da63bf378e to your computer and use it in GitHub Desktop.
ACS Commons Recipe
---Reactor pom (add dependencies)
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<version>3.2.4</version>
<type>content-package</type>
<classifier>min</classifier>
</dependency>
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-bundle</artifactId>
<version>3.2.4</version>
<scope>provided</scope>
</dependency>
---Content pom (add the plugin and dependency)
<plugin>
<groupId>com.day.jcr.vault</groupId>
<artifactId>content-package-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<filterSource>src/main/content/META-INF/vault/filter.xml</filterSource>
<verbose>true</verbose>
<failOnError>true</failOnError>
<group>Your Group</group>
<subPackages>
<subPackage>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<filter>true</filter>
</subPackage>
</subPackages>
<embeddeds>
<embedded>
<groupId>com.yoursite</groupId>
<artifactId>your-project.core</artifactId>
<target>/apps/your-project/install</target>
</embedded>
</embeddeds>
</configuration>
</plugin>
...
<dependency>
<groupId>com.adobe.acs</groupId>
<artifactId>acs-aem-commons-content</artifactId>
<type>content-package</type>
<classifier>min</classifier>
</dependency>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment