SLING-9638 - Update Starter Docker image to be based on the feature model
Move antrun warning next to the plugin execution that it 'guards'.
diff --git a/pom.xml b/pom.xml
index 6d42176..b233a2a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -60,22 +60,6 @@
<build>
<plugins>
<plugin>
- <artifactId>maven-antrun-plugin</artifactId>
- <executions>
- <execution>
- <phase>pre-integration-test</phase>
- <goals>
- <goal>run</goal>
- </goals>
- <configuration>
- <target if="${docker.skip}">
- <echo>WARNING: docker.skip is ${docker.skip}, Docker-based tests will not be executed.</echo>
- </target>
- </configuration>
- </execution>
- </executions>
- </plugin>
- <plugin>
<artifactId>maven-clean-plugin</artifactId>
<configuration>
<filesets>
@@ -208,6 +192,22 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <artifactId>maven-antrun-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>pre-integration-test</phase>
+ <goals>
+ <goal>run</goal>
+ </goals>
+ <configuration>
+ <target if="${docker.skip}">
+ <echo>WARNING: docker.skip is ${docker.skip}, Docker-based tests will not be executed.</echo>
+ </target>
+ </configuration>
+ </execution>
+ </executions>
+ </plugin>
<!--
Start a MongoDB container for the corresponding tests.
Must be declared before the feature-launcher-maven-plugin