From: Ittay Stern Date: Mon, 1 Jul 2019 14:40:20 +0000 (+0300) Subject: Add maven-replacer-plugin to set value in version.json X-Git-Tag: 5.0.0~47 X-Git-Url: https://gerrit.onap.org/r/gitweb?a=commitdiff_plain;h=d6544de1d5320f864ab8f04c7aea15a1946b233a;hp=6946c31e6ed8180295e60797d9af0845d6697efd;p=vid.git Add maven-replacer-plugin to set value in version.json Issue-ID: VID-507 Change-Id: Iab08d9da4352b159a4dce550188af973bd55edfc Signed-off-by: Ittay Stern --- diff --git a/vid-app-common/pom.xml b/vid-app-common/pom.xml index d8c1a08df..6a48190bd 100755 --- a/vid-app-common/pom.xml +++ b/vid-app-common/pom.xml @@ -48,6 +48,9 @@ 1.6 v6.16.0 + + ${env.RELEASE_VERSION} + @@ -238,6 +241,30 @@ + + com.google.code.maven-replacer-plugin + replacer + 1.5.3 + + + prepare-package + + replace + + + + + false + ${project.basedir}/src/main/webapp/app/vid/scripts/constants/version.json + + + BUILD_NUMBER + ${release_version}.${patch_version}.${env.BUILD_NUMBER} + + + + + org.apache.maven.plugins maven-surefire-plugin