diff options
Diffstat (limited to 'ubuntu')
-rw-r--r-- | ubuntu/pom.xml | 25 |
1 files changed, 6 insertions, 19 deletions
diff --git a/ubuntu/pom.xml b/ubuntu/pom.xml index 22ee2eee..63f64335 100644 --- a/ubuntu/pom.xml +++ b/ubuntu/pom.xml @@ -9,7 +9,6 @@ </parent> <artifactId>distribution-ubuntu</artifactId> - <version>1.1.1-SNAPSHOT</version> <packaging>pom</packaging> <name>ccsdk-distribution :: ubuntu</name> @@ -20,17 +19,14 @@ <properties> <image.name>onap/ccsdk-ubuntu-image</image.name> - <ccsdk.project.version>${project.version}</ccsdk.project.version> - <ccsdk.build.timestamp>${maven.build.timestamp}</ccsdk.build.timestamp> - <ccsdk.distribution.version>${project.version}</ccsdk.distribution.version> </properties> <build> <plugins> - <plugin> <groupId>org.codehaus.groovy.maven</groupId> <artifactId>gmaven-plugin</artifactId> + <version>1.0</version> <executions> <execution> <phase>validate</phase> @@ -80,16 +76,15 @@ <plugin> <groupId>io.fabric8</groupId> <artifactId>docker-maven-plugin</artifactId> - <version>0.28.0</version> + <version>0.34.0</version> <inherited>false</inherited> <configuration> - <images> <image> <name>${image.name}</name> <build> <cleanup>try</cleanup> - <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir> + <contextDir>${basedir}/target/docker-stage</contextDir> <dockerFile>Dockerfile</dockerFile> <tags> <tag>${project.docker.latestminortag.version}</tag> @@ -99,19 +94,12 @@ </build> </image> </images> + <verbose>${docker.verbose}</verbose> + <skipPush>${docker.skip.push}</skipPush> </configuration> <executions> <execution> - <id>generate-images</id> - <phase>generate-sources</phase> - <goals> - <goal>build</goal> - </goals> - </execution> - - <execution> - <id>push-images</id> - <phase>deploy</phase> + <id>build-push-images</id> <goals> <goal>build</goal> <goal>push</goal> @@ -119,7 +107,6 @@ </execution> </executions> </plugin> - </plugins> </build> </profile> |