Test the configuration

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>6.0.0</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>