summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLusheng Ji <lji@research.att.com>2018-04-06 10:26:18 -0400
committerLusheng Ji <lji@research.att.com>2018-04-06 10:26:23 -0400
commit6bb4aa2c5ddc47ed2c8ffa03844f10b3482d1fcc (patch)
treec8341ba138781dccdbccd27e4c93cd22205e8bab
parent6930f1f6540273cbdfe325e5f77dcbb4960fd9f3 (diff)
Set spotify skip
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>
-rw-r--r--pom.xml9
-rw-r--r--prh-app-server/pom.xml3
2 files changed, 11 insertions, 1 deletions
diff --git a/pom.xml b/pom.xml
index 142ae737..a48f5386 100644
--- a/pom.xml
+++ b/pom.xml
@@ -308,6 +308,15 @@
<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>
diff --git a/prh-app-server/pom.xml b/prh-app-server/pom.xml
index 44ebca2f..a2d0aff5 100644
--- a/prh-app-server/pom.xml
+++ b/prh-app-server/pom.xml
@@ -70,6 +70,7 @@
</execution>
</executions>
<configuration>
+ <skipDockerBuild>false</skipDockerBuild>
<imageName>
${onap.nexus.dockerregistry.daily}/onap/${project.groupId}.${project.artifactId}
</imageName>
@@ -205,4 +206,4 @@
</dependency>
</dependencies>
</dependencyManagement>
-</project> \ No newline at end of file
+</project>