-
-
Save dfparker2002/f8cdf86fea008f8f03f51a420526819e to your computer and use it in GitHub Desktop.
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
<plugin> | |
<groupId>com.day.jcr.vault</groupId> | |
<artifactId>content-package-maven-plugin</artifactId> | |
<!--Your other properties and build definition --> | |
<configuration> | |
<!-- All CQ package you want to install as part of your build --> | |
<subPackages> | |
<subPackage> | |
<groupId>YOUR SHARED GROUPID</groupId> | |
<artifactId>YOUR SHARED ARTIFACT</artifactId> | |
<filter>true</filter> | |
</subPackage> | |
</subPackages> | |
<!-- All third party OSGI bundle and jar you want to install as part of your build --> | |
<embeddeds> | |
<embedded> | |
<groupId>YOUR SHARED GROUPID</groupId> | |
<artifactId>YOUR SHARED ARTIFACT</artifactId> | |
<target>PATH WHERE YOU WANT THIS TO GO/target> | |
</embedded> | |
</embeddeds> | |
</configuration> | |
<executions> | |
<execution> | |
<goals> | |
<goal>package</goal> | |
<goal>install</goal> | |
</goals> | |
</execution> | |
</executions> | |
</plugin> | |
</dependencies> | |
<!-- Your other dependencies --> | |
<dependency> | |
<groupId>YOUR SHARED GROUPID</groupId> | |
<artifactId>YOUR SHARED ARTIFACT</artifactId> | |
<version>JAR FILE VERSION/version> | |
<scope>provided</scope> | |
</dependency> | |
<!-- CQ PACKAGE FROM OTHER PROJECT DEPENDENCY --> | |
<dependency> | |
<groupId>YOUR SHARED GROUPID</groupId> | |
<artifactId>YOUR SHARED ARTIFACT</artifactId> | |
<version>STABLE VERSION OF CQ PACKAGE FROM DIFFERENT PROJECT</version> | |
<type>zip</type> | |
</dependency> | |
</dependencies> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment