Create a deployment package using Maven

To enable continuous deployment, the XL Deploy Maven plugin enables you to integrate XL Deploy with the Maven build system. For more information, see XL Deploy Maven plugin.


  • Create a deployment package containing artifacts from the build
  • Perform a deployment to a target environment
  • Undeploy a previously deployed application

Note: The XL Deploy Maven plugin cannot set values for hidden CI properties.

Using the Maven jar plugin

The standard Maven jar plugin can also be used to create a XL Deploy package.

  • Create a manifest file conforming to the XL Deploy manifest standard
  • Create a directory structure containing the files as they should appear in the package

In the Maven POM, configure the jar plugin as follows:

            <include>** /* </include>

To generate an XL Deploy package, execute:

mvn package

Managing application dependencies

You can declare your application dependencies in Maven by defining the properties in the deploymentPackageProperties node. This is a sample snippet you can add to the pom.xml file using your specific properties:

              <entry key="BackEnd">[2.0.0,2.0.0]</entry>

Make sure that the dependent package is already present in XL Deploy and has the correct version as configured in the pom.xml file.

For more information about application dependencies, see Application dependencies in XL Deploy.