1 Reply Latest reply on May 29, 2013 4:50 AM by justin_at_adobe

    content-package-maven-plugin use filter.xml

    danchapmanme

      Is there a way to get the Maven plugin (content-package-maven-plugin) to use the filter.xml used by VLT for the filtering for the content package. At the moment I need to specifiy the filtering again in the POM.

       

      <plugin>

      <groupId>com.day.jcr.vault</groupId>

      <artifactId>content-package-maven-plugin</artifactId>

      <extensions>true</extensions>

      <configuration>

      <group>geometrixx</group>

      <filters>

      <filter><root>/apps/geometrixx</root></filter>               

      <filter><root>/etc/designs/geometrixx</root></filter> 

      <filter><root>/content/geometrixx</root></filter> 

      </filters>

      <embeddeds>

      <embedded>

      <groupId>${project.groupId}</groupId>

      <artifactId>geometrixx-bundle</artifactId>

      <target>/apps/geometrixx/install</target>

      </embedded>

      </embeddeds>

      <targetURL>http://${crx.host}:${crx.port}/crx/packmgr/service.jsp</targetURL>

      </configuration>

      </plugin>

       

      Filter.xml

       

      <?xml version="1.0" encoding="UTF-8"?>

      <workspaceFilter version="1.0">

      <filter root="/apps/geometrixx">

      <include pattern="/apps/geometrixx(/.*)?" />

      </filter>   

      <filter root="/etc/designs/geometrixx"/>

      <filter root="/content/geometrixx"/>

      <filter root="/apps/geometrixx/install">

      <exclude pattern="/apps/geometrixx/install/.*"/>

      </filter>

      </workspaceFilter>