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 Build a content package.

System Requirements

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

Maven 3.2.5
JDK 1.7
Memory No minimum requirement.
Disk Space No minimum requirement.

Usage

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

<project>
  ...
  <build>
    <!-- To define the plugin version in your parent POM -->
    <pluginManagement>
      <plugins>
        <plugin>
          <groupId>org.apache.jackrabbit</groupId>
          <artifactId>filevault-package-maven-plugin</artifactId>
          <version>1.0.4</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>org.apache.jackrabbit</groupId>
        <artifactId>filevault-package-maven-plugin</artifactId>
        <version>1.0.4</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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