<name.space>org.onap.ccsdk.apps</name.space> <!-- <name.space>${namespace}</name.space> -->\r
<serviceArtifactName>controllerblueprints</serviceArtifactName>\r
<image.name>onap/ccsdk-controllerblueprints</image.name>\r
- </properties>\r
+ <docker.buildArg.https_proxy>${https_proxy}</docker.buildArg.https_proxy>\r
+ <docker.push.phase>deploy</docker.push.phase>\r
+ <docker.verbose>true</docker.verbose>\r
+ </properties>\r
\r
<dependencies>\r
<dependency>\r
</execution>\r
</executions>\r
</plugin>\r
- <plugin>\r
- <groupId>io.fabric8</groupId>\r
- <artifactId>docker-maven-plugin</artifactId>\r
- <version>0.26.1</version>\r
- <inherited>false</inherited>\r
- <configuration>\r
- <images>\r
- <image>\r
- <name>${image.name}</name>\r
- <build>\r
- <cleanup>try</cleanup>\r
- <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>\r
- <tags>\r
- <tag>${project.version}</tag>\r
- <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>\r
- <tag>${project.docker.latesttag.version}</tag>\r
- </tags>\r
- </build>\r
- </image>\r
- </images>\r
- <verbose>true</verbose>\r
- </configuration>\r
- <executions>\r
- <!--<execution>-->\r
- <!--<id>build-images</id>-->\r
- <!--<phase>package</phase>-->\r
- <!--<goals>-->\r
- <!--<goal>build</goal>-->\r
- <!--</goals>-->\r
- <!--</execution>-->\r
- <execution>\r
- <id>push-images</id>\r
- <phase>deploy</phase>\r
- <goals>\r
- <goal>build</goal>\r
- <goal>push</goal>\r
- </goals>\r
- </execution>\r
- </executions>\r
- </plugin>\r
+\r
</plugins>\r
</build>\r
+\r
+ <profiles>\r
+ <profile>\r
+ <id>docker</id>\r
+ <build>\r
+ <plugins>\r
+ <plugin>\r
+ <groupId>io.fabric8</groupId>\r
+ <artifactId>docker-maven-plugin</artifactId>\r
+ <version>0.26.1</version>\r
+ <inherited>false</inherited>\r
+ <configuration>\r
+ <images>\r
+ <image>\r
+ <name>${image.name}</name>\r
+ <build>\r
+ <cleanup>try</cleanup>\r
+ <dockerFileDir>${basedir}/target/docker-stage</dockerFileDir>\r
+ <tags>\r
+ <tag>${project.version}</tag>\r
+ <tag>${project.version}-STAGING-${maven.build.timestamp}</tag>\r
+ <tag>${project.docker.latesttag.version}</tag>\r
+ </tags>\r
+ </build>\r
+ </image>\r
+ </images>\r
+ <verbose>true</verbose>\r
+ </configuration>\r
+ <executions>\r
+ <execution>\r
+ <id>push-images</id>\r
+ <phase>${docker.build.phase}</phase>\r
+ <goals>\r
+ <goal>build</goal>\r
+ <goal>push</goal>\r
+ </goals>\r
+ </execution>\r
+ </executions>\r
+ </plugin>\r
+ </plugins>\r
+ </build>\r
+ </profile>\r
+\r
+ </profiles>\r
</project>\r
\r