In this sample, if testMode is true, the XL Deploy Maven plugin computes the change plan, displays it, and cancels the associated tasks.
<plugins>
....
<plugin>
<groupId>com.xebialabs.xldeploy</groupId>
<artifactId>xldeploy-maven-plugin</artifactId>
<version>5.1.1-SNAPSHOT</version>
<executions>
<execution>
<id>deploy-id</id>
<phase>pre-integration-test</phase>
<goals>
<goal>deploy</goal>
</goals>
</execution>
</executions>
<configuration>
<!-- test mode = true -->
<testMode>true</testMode>
<environmentId>Environments/MyProjectEnvironment</environmentId>
</plugin>
...
</plugins>