Expand my Community achievements bar.

SOLVED

filevault pacakge plugin vs content package plugin

Avatar

Level 4

Which one to use ?

It seems based on what package plugin used, filter.xml syntax is different.

Can someone shed some light ? Application is on 6.3 and going to move to 6.5.

<!-- this plugin creates the content package artifact -->

  <plugin>

  <groupId>org.apache.jackrabbit</groupId>

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

  <version>1.0.0</version>

  <configuration>

  <filterSource>${basedir}/META-INF/vault/filter.xml</filterSource>

  </configuration>

  </plugin>

  <!-- this plugin is only needed for crx package manager deployment -->

  <plugin>

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

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

  <version>1.0.2</version>

  </plugin>

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

The new thing to use is the filevault-package-maven-plugin of Jackrabbit, which is a 95% percent droping for the content-package-maven-plugin (plus some more features). Except that it cannot upload the created content-package to AEM. But it's actually maintained and gets features added.

See [1] how to combine both to achieve the same behavior.

[1] aem-project-archetype/pom.xml at master · adobe/aem-project-archetype · GitHub

View solution in original post

1 Reply

Avatar

Correct answer by
Employee Advisor

The new thing to use is the filevault-package-maven-plugin of Jackrabbit, which is a 95% percent droping for the content-package-maven-plugin (plus some more features). Except that it cannot upload the created content-package to AEM. But it's actually maintained and gets features added.

See [1] how to combine both to achieve the same behavior.

[1] aem-project-archetype/pom.xml at master · adobe/aem-project-archetype · GitHub