Plugin Documentation

Goals available for this plugin:

Goal Description
vltpack:embed-bundles
Embeds bundles in the project artifact at the configured bundleInstallPath
vltpack:embed-hooks
Embeds install hooks (dependencies referenced by artifactId) into the package. A valid install hook is a jar with a Main-Class manifest attribute whose value references a class in the jar that implements com.day.jcr.vault.packaging.InstallHook.
vltpack:embed-packages
Embed sub packages in the project artifact package under /etc/packages
vltpack:help Display help information on vltpack-maven-plugin.
Call mvn vltpack:help -Ddetail=true -Dgoal=<goal-name> to display parameter details.
vltpack:IT-http-properties
Exports HTTP properties defined in HttpParameters and the active Maven Proxy configuration for integration tests to use via java.lang.System#getProperties.
vltpack:IT-put-bundle
PUT the project artifact (of packaging type 'bundle') to the configured CQ server
vltpack:IT-server-ready
Waits for server readiness before continuing on to integration-test phase. Fails the build if the configured timeout is exceeded.
vltpack:IT-upload
Uploads the project vault package and its dependencies to the configured IT server
vltpack:IT-upload-tests
Upload integration test dependencies, including vault packages and OSGi bundles, to the configured integration test server
vltpack:package
Creates a vault package based on the generated metadata and configured content root
vltpack:put-bundle-file
PUT a bundle identified by the file parameter to the configured CQ instance
vltpack:upload-file
Command-line goal that provides the ability to upload a package file and install it directly into a running instance.
vltpack:upload-from-repo
Command-line goal that provides the ability to resolve a package artifact from a local or remote repository and install it directly into a running instance.
vltpack:vault-inf
Generates package meta information under META-INF/vault, including config.xml, properties.xml, filter.xml and the package definition

System Requirements

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

Maven 3.3.9
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>net.adamcin</groupId>
          <artifactId>vltpack-maven-plugin</artifactId>
          <version>1.3.0</version>
        </plugin>
        ...
      </plugins>
    </pluginManagement>
    <!-- To use the plugin goals in your POM or parent POM -->
    <plugins>
      <plugin>
        <groupId>net.adamcin</groupId>
        <artifactId>vltpack-maven-plugin</artifactId>
        <version>1.3.0</version>
      </plugin>
      ...
    </plugins>
  </build>
  ...
</project>

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