Add maven version plugin 87/48387/1
authorPatrick Brady <pb071s@att.com>
Mon, 21 May 2018 21:32:13 +0000 (14:32 -0700)
committerPatrick Brady <pb071s@att.com>
Mon, 21 May 2018 21:34:24 +0000 (14:34 -0700)
This plugin configuration is needed so jenkins can
update the version number of the proxy project to
the release number when the release job is run.

Change-Id: I30f02b150b71cb1cbaea6a5f1ccdac03d8843889
Signed-off-by: Patrick Brady <pb071s@att.com>
Issue-ID: APPC-910

pom.xml

diff --git a/pom.xml b/pom.xml
index 55cb608..4f2b1e2 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -63,6 +63,16 @@ ECOMP is a trademark and service mark of AT&T Intellectual Property.
 
     <build>
         <plugins>
+            <!-- Allows the maven version plugin to work even when child modules
+                 don't use this pom as a parent. -->
+            <plugin>
+                <groupId>org.codehaus.mojo</groupId>
+                <artifactId>versions-maven-plugin</artifactId>
+                <version>2.5</version>
+                <configuration>
+                    <processAllModules>true</processAllModules>
+                </configuration>
+            </plugin>
             <!--maven staging plugin --> 
             <plugin> 
                 <groupId>org.sonatype.plugins</groupId>