From 8851794485fb6f2cb3a95fa17a7c5ffce3a5b4a4 Mon Sep 17 00:00:00 2001 From: Alexey Andreev Date: Sat, 26 Dec 2015 14:24:43 +0300 Subject: [PATCH] Fix set-version script --- set-version.sh | 6 +++--- tools/eclipse/core-plugin/dep-pom.xml | 2 +- tools/eclipse/m2e-plugin/lifecycle-mapping-metadata.xml | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/set-version.sh b/set-version.sh index f0467ef05..93e2453e6 100755 --- a/set-version.sh +++ b/set-version.sh @@ -5,9 +5,9 @@ pushd tools/eclipse mvn org.eclipse.tycho:tycho-versions-plugin:0.21.0:set-version -DnewVersion=$1 pushd core-plugin -mvn -f dep-pom.xml versions:set -DnewVersion=$1 -DgenerateBackupPoms=false -sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" build.properties -sed -r -i -e "s/lib\/(teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF +sed -r -i -e "s/(.+)<\/version>/$1<\/version>/" dep-pom.xml +sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" build.properties +sed -r -i -e "s/(lib\/teavm(-[a-z]+)+)-.+\.jar/\1-$1.jar/" META-INF/MANIFEST.MF popd pushd m2e-plugin diff --git a/tools/eclipse/core-plugin/dep-pom.xml b/tools/eclipse/core-plugin/dep-pom.xml index 7987d8052..541094bed 100644 --- a/tools/eclipse/core-plugin/dep-pom.xml +++ b/tools/eclipse/core-plugin/dep-pom.xml @@ -19,7 +19,7 @@ org.teavm teavm-eclipse-core-deps - 1.0.0-SNAPSHOT + 1.0.0-SNAPSHOT pom TeaVM dependencies for Eclipse plugin diff --git a/tools/eclipse/m2e-plugin/lifecycle-mapping-metadata.xml b/tools/eclipse/m2e-plugin/lifecycle-mapping-metadata.xml index 592a7e3db..337c96abe 100644 --- a/tools/eclipse/m2e-plugin/lifecycle-mapping-metadata.xml +++ b/tools/eclipse/m2e-plugin/lifecycle-mapping-metadata.xml @@ -5,7 +5,7 @@ org.teavm teavm-maven-plugin - 0.0.0 + 1.0.0-SNAPSHOT compile