Fork me on GitHub

Plugin Documentation

Goals available for this plugin:

Goal Description
filevault-package:analyze-classes Maven goal which analyzes the generated class files and generates a usage report
filevault-package:check-signature Maven goal which checks the embedded libraries against a defined signature. Based on the Animal Sniffer project.
filevault-package:format-xml Maven goal which either checks only the formatting of the Docview XML files to comply with the formatting rules from FileVault or also reformats those files.
filevault-package:generate-metadata Maven goal which generates the metadata ending up in the package like META-INF/MANIFEST.MF as well as the files ending up in META-INF/vault like filter.xml, properties.xml, config.xml and settings.xml. Those files will be written to the directory given via parameter workDirectory. In addition performs some validations.
filevault-package:help Display help information on filevault-package-maven-plugin.
Call mvn filevault-package:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
filevault-package:package Builds a content package.
filevault-package:validate-files Validates individual files with all registered validators. This is only active for incremental builds (i.e. inside m2e) or when mojo "validate-package" is not executed in the current Maven execution
filevault-package:validate-package Validates a package (and optionally in addition all attached packages with the given classifiers) with all registered validators.

System Requirements

The following specifies the minimum requirements to run this Maven plugin:

Maven 3.3.9
JDK 1.8
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

You should specify the version in your project's plugin configuration:

  1. <project>
  2. ...
  3. <build>
  4. <!-- To define the plugin version in your parent POM -->
  5. <pluginManagement>
  6. <plugins>
  7. <plugin>
  8. <groupId>org.apache.jackrabbit</groupId>
  9. <artifactId>filevault-package-maven-plugin</artifactId>
  10. <version>1.1.3-SNAPSHOT</version>
  11. </plugin>
  12. ...
  13. </plugins>
  14. </pluginManagement>
  15. <!-- To use the plugin goals in your POM or parent POM -->
  16. <plugins>
  17. <plugin>
  18. <groupId>org.apache.jackrabbit</groupId>
  19. <artifactId>filevault-package-maven-plugin</artifactId>
  20. <version>1.1.3-SNAPSHOT</version>
  21. </plugin>
  22. ...
  23. </plugins>
  24. </build>
  25. ...
  26. </project>

For more information, see "Guide to Configuring Plug-ins"