summaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorPamela Dragosh <pdragosh@research.att.com>2017-03-07 15:39:48 -0500
committerPamela Dragosh <pdragosh@research.att.com>2017-03-08 11:13:22 -0500
commit3fe4d9c6105cdd58853ca75a0d7c000600fe2f45 (patch)
treecc282060e16cdc0d4e0d8d3a62910f3dd452a09f /pom.xml
parent6f91e0ba8db761cc8ae95c8284091d4fef5e2b48 (diff)
update docker image tags
Change-Id: I207a68c761ccc2770ac13539595a79f5e176d611 Signed-off-by: Pamela Dragosh <pdragosh@research.att.com>
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml27
1 files changed, 27 insertions, 0 deletions
diff --git a/pom.xml b/pom.xml
index f93ef38e..bed0f7a7 100644
--- a/pom.xml
+++ b/pom.xml
@@ -46,6 +46,11 @@
<name>OpenECOMP Staging Repository</name>
<url>${nexusproxy}/content/repositories/staging/</url>
</repository>
+ <repository>
+ <id>ecomp-snapshot</id>
+ <name>OpenECOMP Snapshot Repository</name>
+ <url>${nexusproxy}/content/repositories/snapshots/</url>
+ </repository>
</repositories>
<distributionManagement>
@@ -132,6 +137,28 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>exec-maven-plugin</artifactId>
+ <version>1.6.0</version>
+ <executions>
+ <execution>
+ <id>get-target-version</id>
+ <phase>prepare-package</phase>
+ <goals>
+ <goal>exec</goal>
+ </goals>
+ </execution>
+ </executions>
+ <configuration>
+ <executable>echo</executable>
+ <workingDirectory>${project.build.directory}</workingDirectory>
+ <arguments>
+ <argument>${project.version}</argument>
+ </arguments>
+ <outputFile>${project.build.directory}/version</outputFile>
+ </configuration>
+ </plugin>
</plugins>
</build>