Add setting major/minor with buildhelper 89/94289/1
authorJimmy Forsyth <jf2512@att.com>
Mon, 26 Aug 2019 15:47:58 +0000 (11:47 -0400)
committerJimmy Forsyth <jf2512@att.com>
Mon, 26 Aug 2019 15:48:00 +0000 (11:48 -0400)
Issue-ID: AAI-2579
Signed-off-by: Jimmy Forsyth <jf2512@att.com>
Change-Id: I73e0ca929027e6f3c71646fa8565f2e410e61505

pom.xml

diff --git a/pom.xml b/pom.xml
index 0da4f9c..c04d406 100644 (file)
--- a/pom.xml
+++ b/pom.xml
@@ -432,7 +432,7 @@ limitations under the License.
                                         <tags>
                                             <tag>latest</tag>
                                             <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>
                                         </tags>
                                         <cleanup>try</cleanup>
                                         <dockerFileDir>${project.basedir}/src/main/docker</dockerFileDir>