From d6544de1d5320f864ab8f04c7aea15a1946b233a Mon Sep 17 00:00:00 2001 From: Ittay Stern Date: Mon, 1 Jul 2019 17:40:20 +0300 Subject: Add maven-replacer-plugin to set value in version.json Issue-ID: VID-507 Change-Id: Iab08d9da4352b159a4dce550188af973bd55edfc Signed-off-by: Ittay Stern --- vid-app-common/pom.xml | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) 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 -- cgit 1.2.3-korg