aboutsummaryrefslogtreecommitdiffstats
path: root/pom.xml
diff options
context:
space:
mode:
authorJimmy Forsyth <jf2512@att.com>2019-08-20 10:20:13 -0400
committerJimmy Forsyth <jf2512@att.com>2019-08-20 11:01:54 -0400
commit6c61db25f45369d0b97345db9aa86589603c151d (patch)
treeb7cd17213d34e5c570c8ff894a3f7e75ca5783ac /pom.xml
parentea5bf21fe49554e67be2e439f17a5d0d4fc310ba (diff)
Add build helper for major/minor versions
Issue-ID: AAI-2579 Signed-off-by: Jimmy Forsyth <jf2512@att.com> Change-Id: I93b6c4f840787e74ca6e787e1d967536ee975c27
Diffstat (limited to 'pom.xml')
-rw-r--r--pom.xml19
1 files changed, 16 insertions, 3 deletions
diff --git a/pom.xml b/pom.xml
index 2aca23d..e60005b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -449,7 +449,7 @@ limitations under the License.
<imageTags>
<imageTag>latest</imageTag>
<tag>${project.docker.latesttag.version}</tag>
- <tag>${project.major.version}.${project.minor.version}-STAGING-${maven.build.timestamp}</tag>
+ <tag>${parsedVersion.majorVersion}.${parsedVersion.minorVersion}-STAGING-${maven.build.timestamp}</tag>
</imageTags>
<forceTags>true</forceTags>
</configuration>
@@ -571,9 +571,22 @@ limitations under the License.
</execution>
</executions>
</plugin>
- </plugins>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>build-helper-maven-plugin</artifactId>
+ <version>3.0.0</version>
+ <executions>
+ <execution>
+ <id>parse-version</id>
+ <goals>
+ <goal>parse-version</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
</build>
-
+
<distributionManagement>
<site>
<id>ecomp-javadoc</id>