Skip to content

Instantly share code, notes, and snippets.

@kuckmc01
Created August 4, 2016 04:06
Show Gist options
  • Save kuckmc01/519619469399570e39c42d3f451d8245 to your computer and use it in GitHub Desktop.
Save kuckmc01/519619469399570e39c42d3f451d8245 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