Set spotify skip 85/41385/1
authorLusheng Ji <lji@research.att.com>
Fri, 6 Apr 2018 14:26:18 +0000 (10:26 -0400)
committerLusheng Ji <lji@research.att.com>
Fri, 6 Apr 2018 14:26:23 +0000 (10:26 -0400)
Because the spotify plugin is invoked in a module pom but the trigger
mvn is called on the repo (parent) pom, we need to include the spotify
plugin in parent pom but config to skip, and in module pom where
it is actually used "not to skip".

Issue-ID: DCAEGEN2-206
Change-Id: Id0ceb48b03f343645aed4011103a3fb2af0076b6
Signed-off-by: Lusheng Ji <lji@research.att.com>
pom.xml
prh-app-server/pom.xml

diff --git a/pom.xml b/pom.xml
index 142ae73..a48f538 100644 (file)
--- a/pom.xml
+++ b/pom.xml
           <artifactId>maven-surefire-report-plugin</artifactId>
           <version>2.21.0</version>
         </plugin>
+
+        <plugin>
+          <groupId>com.spotify</groupId>
+          <artifactId>docker-maven-plugin</artifactId>
+          <version>0.4.11</version>
+          <configuration>
+            <skipDockerBuild>true</skipDockerBuild>
+          </configuration>
+        </plugin>
       </plugins>
     </pluginManagement>
     <plugins>
index 44ebca2..a2d0aff 100644 (file)
@@ -70,6 +70,7 @@
           </execution>
         </executions>
         <configuration>
+          <skipDockerBuild>false</skipDockerBuild>
           <imageName>
             ${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}
           </imageName>
       </dependency>
     </dependencies>
   </dependencyManagement>
-</project>
\ No newline at end of file
+</project>