aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
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>