<plugin> <groupId>com.day.jcr.vault</groupId> <artifactId>content-package-maven-plugin</artifactId> <extension>true</extension> <configuration> <group>myPackages</group> <filterSource>src/main/content/META-INF/vault/filter.xml</filterSource> <properties> <aclHandling>overwrite</aclHandling> </properties> <embeddeds> <embedded> <groupId>com.example</groupId> <artifactId>myEmbeddedBundle</artifactId> <target>/apps/myAppp/install</target> </embedded> </embeddeds> <subPackages> <subPackage> <groupId>com.example</groupId> <artifactId>myEmbeddedContentPackage</artifactId> <filter>true</filter> </subPackage> </subPackages> </configuration> </plugin>
THis is a sample defintion for your pom. It embedds the bundle com.example:myEmbeddedBundle and the content package com.example:myEmbeddedContentPackage into the content package. You need to add the bundle and the contentpackage to the dependency section also.
HTH,
Jörg