aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorEdwin Lawrance <Edwin.Lawrance@amdocs.com>2017-10-09 11:56:05 +0100
committerEdwin Lawrance <Edwin.Lawrance@amdocs.com>2017-10-09 11:56:05 +0100
commit6337075d48df732e0ff711a1ad8dce9510ed0753 (patch)
tree7a010950547674da3b6b7a0a04b975777f59a039 /pom.xml
parentd9c87883ef5ac7601dbd67372cc4562e139609ed (diff)
Adding docker plugin to pom
Change-Id: I928ce2cec1cc8f358e62717190431b4368b75de4 Issue-Id: AAI-46 Signed-off-by: Edwin Lawrance <Edwin.Lawrance@amdocs.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml16
1 files changed, 16 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index 894f36e..60a479a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -57,6 +57,7 @@
<snakeyamle.version>1.18</snakeyamle.version>
<jacoco.version>0.7.9</jacoco.version>
<onap.nexus.url>https://nexus.onap.org</onap.nexus.url>
+ <docker.location>${basedir}/target</docker.location>
</properties>
<dependencies>
@@ -289,6 +290,21 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>com.spotify</groupId>
+ <artifactId>docker-maven-plugin</artifactId>
+ <version>0.4.11</version>
+ <configuration>
+ <verbose>true</verbose>
+ <serverId>docker-hub</serverId>
+ <imageName>${docker.push.registry}/openecomp/${project.artifactId}</imageName>
+ <dockerDirectory>${docker.location}</dockerDirectory>
+ <imageTags>
+ <imageTag>latest</imageTag>
+ </imageTags>
+ <forceTags>true</forceTags>
+ </configuration>
+ </plugin>
<!-- license plugin -->
<plugin>