Usage

This page provides general usage information. The XL Deploy Maven plugin has two main usages:

  • to create a XL Deploy Deployment package including artefacts, managed in pom.xml file or a maven repository, and file sets corresponding to configuration files, SQL Files, static contents... A new packaging type has been added, dar, to provide a dedicated lifecycle and to produce new kind of archive, dar files - Deployment Archive. These dar files could be used to be deployed within the maven plugin or to be imported into a XL Deploy server directly from a enterprise maven repository (eg. Artifactory, Nexus,....)
  • to deploy XL Deploy Deployment package to an environment in order to, for example, run a set of tests (functional tests, technical tests, performance tests). This is done during the pre-integration-test and pre-integration-test phase. This is done using xldeploy:deploy goal. The xldeploy:clean undeploys the current deployment package.

Getting started with XL Deploy Maven plugin

To use the XL Deploy maven plugin, add the XebiaLabs repository to your pom.xml file. Credentials are not required.

<pluginRepositories>
  ...
    <pluginRepository>
        <id>xebialabs-maven2</id>
        <url>https://dist.xebialabs.com/public/maven2/</url>
    </pluginRepository>
    <pluginRepository>
        <id>knopflerfish</id>
        <url>http://www.knopflerfish.org/maven2</url>
    </pluginRepository>
....
</pluginRepositories>