Simple war deployment and clean

Show how to deploy the current artifact (ear or war) to a target environment and clean the server after the integration tests.

<plugin>
    <groupId>com.xebialabs.deployit</groupId>
    <artifactId>maven-deployit-plugin</artifactId>
    <version>3.9.3</version>
    <executions>
        <execution>
            <id>deploy-id</id>
            <phase>pre-integration-test</phase>
            <goals>
                <goal>deploy</goal>
            </goals>
        </execution>
        <execution>
            <id>clean-id</id>
            <phase>post-integration-test</phase>
            <goals>
                <goal>clean</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <environmentId>Environments/MyProjectEnvironment</environmentId>
    </configuration>
</plugin>