summaryrefslogtreecommitdiffstats
path: root/dcae-analytics/dcae-analytics-tca-web/pom.xml
diff options
context:
space:
mode:
authorvagrant <vv770d@att.com>2018-09-27 02:10:48 +0000
committervagrant <vv770d@att.com>2018-09-27 02:10:57 +0000
commitb62fdb336a06d33b0dbf53a4f58b7880b4741ed4 (patch)
tree7394c9a8dd1f01f27370fa7a472f0c1e9b51a0c9 /dcae-analytics/dcae-analytics-tca-web/pom.xml
parenteaf55a773a370104c9b8eb30b9a38fbc00be87f9 (diff)
update docker mvn config
Change-Id: I0de1124434f975715ca16819e2415aa38daa1df2 Signed-off-by: Vijay Venkatesh Kumar <vv770d@att.com> Issue-ID: DCAEGEN2-772
Diffstat (limited to 'dcae-analytics/dcae-analytics-tca-web/pom.xml')
-rw-r--r--dcae-analytics/dcae-analytics-tca-web/pom.xml41
1 files changed, 13 insertions, 28 deletions
diff --git a/dcae-analytics/dcae-analytics-tca-web/pom.xml b/dcae-analytics/dcae-analytics-tca-web/pom.xml
index 2e1195d..6959bec 100644
--- a/dcae-analytics/dcae-analytics-tca-web/pom.xml
+++ b/dcae-analytics/dcae-analytics-tca-web/pom.xml
@@ -116,14 +116,6 @@
<resource>
<directory>${project.build.directory}/git</directory>
</resource>
- <resource>
- <directory>docker</directory>
- <includes>
- <include>Dockerfile</include>
- </includes>
- <targetPath>${project.basedir}</targetPath>
- <filtering>true</filtering>
- </resource>
</resources>
<plugins>
@@ -141,27 +133,20 @@
<artifactId>docker-maven-plugin</artifactId>
<configuration>
<skipDocker>false</skipDocker>
- <repository>${docker.repository}/onap/${project.groupId}.${project.artifactId}</repository>
- <tag>${project.version}</tag>
+ <imageName>${docker.repository}/onap/${project.groupId}.${project.artifactId}</imageName>
+ <dockerDirectory>${project.basedir}</dockerDirectory>
+ <resources>
+ <resource>
+ <targetPath>${project.basedir}</targetPath>
+ <directory>${project.build.directory}</directory>
+ <include>${project.build.finalName}.jar</include>
+ </resource>
+ </resources>
+ <imageTags>
+ <imageTag>${project.version}</imageTag>
+ <imageTag>latest</imageTag>
+ </imageTags>
</configuration>
-<!-- <artifactId>dockerfile-maven-plugin</artifactId>
- <executions>
- <execution>
- <id>build-image</id>
- <phase>package</phase>
- <goals>
- <goal>build</goal>
- </goals>
- </execution>
- <execution>
- <id>docker-push</id>
- <phase>deploy</phase>
- <goals>
- <goal>push</goal>
- </goals>
- </execution>
- </executions>
--->
</plugin>
</plugins>
</build>