filevault pacakge plugin vs content package plugin

sreedobe

19-07-2019

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>

Accepted Solutions (1)

Accepted Solutions (1)

Jörg_Hoh

Employee

22-07-2019

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

Answers (0)