<plugins> <plugin> <groupId>com.xebialabs.deployit</groupId> <artifactId>maven-deployit-plugin</artifactId> <version>3.9.5</version> <executions> <execution> <id>deployit-plugin-test</id> <phase>pre-integration-test</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <environmentId>Environments/MyProjectEnvironment</environmentId> </configuration> </plugin> </plugins>
<plugins> <plugin> <groupId>com.xebialabs.deployit</groupId> <artifactId>maven-deployit-plugin</artifactId> <version>3.9.5</version> <executions> <execution> <id>deployit-plugin-test</id> <phase>pre-integration-test</phase> <goals> <goal>deploy</goal> </goals> </execution> </executions> <configuration> <deployables> <!-- artifactId must be the same name as artifact id defined for this pom --> <wls.War artifactId="petclinic"> <stageMode>stage</stageMode> </wls.War> </deployables> <environmentId>Environments/MyProjectEnvironment</environmentId> </configuration> </plugin> </plugins>