moves generation of docker image on "qa" profile
this doesn't generate docker image
mvn clean install
this generates docker image
mvn clean install -Pqa
</execution>
</executions>
</plugin>
+ </plugins>
+ </build>
+
+ <profiles>
+ <profile>
+ <id>qa</id>
+
+ <build>
+ <plugins>
<plugin>
<groupId>com.spotify</groupId>
<artifactId>docker-maven-plugin</artifactId>
<systemPropertyVariables>
<buildDirectory>${project.build.directory}</buildDirectory>
<buildName>${project.build.finalName}</buildName>
- <loadScriptPath>${basedir}/src/main/resources/demoDB.osql</loadScriptPath>
- </systemPropertyVariables>
- </configuration>
- <executions>
- <execution>
- <goals>
- <goal>integration-test</goal>
- <goal>verify</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
-
- <profiles>
- <profile>
- <id>qa</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-failsafe-plugin</artifactId>
- <configuration>
- <systemPropertyVariables>
- <buildDirectory>${project.build.directory}</buildDirectory>
- <buildName>${project.build.finalName}</buildName>
- <loadScriptPath>${basedir}/src/main/resources/demoDB.osql</loadScriptPath>
</systemPropertyVariables>
</configuration>
<executions>
