Forked from kuckmc01/gist:519619469399570e39c42d3f451d8245
Created
August 11, 2022 05:06
-
-
Save dfparker2002/99138f1ae8004abfec75b1da63bf378e to your computer and use it in GitHub Desktop.
ACS Commons Recipe
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
---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