From 498599fa9b54bc6754287d001e83dcd6a6a26dfd Mon Sep 17 00:00:00 2001 From: Sampsa Sohlman Date: Fri, 1 Jul 2016 13:11:52 +0300 Subject: Fix the OSGi version at MANIFEST.MF so it does not contain -SNAPSHOT Change-Id: Iad1f7c9fbff6ded1ce85536788a0b86135ecfbad --- client-compiled/pom.xml | 3 ++- client-compiler/pom.xml | 3 ++- client/pom.xml | 2 +- pom.xml | 13 +++++++++++++ push/pom.xml | 1 + server/pom.xml | 9 +++++---- shared/pom.xml | 3 ++- themes/pom.xml | 3 ++- widgets/pom.xml | 3 ++- 9 files changed, 30 insertions(+), 10 deletions(-) diff --git a/client-compiled/pom.xml b/client-compiled/pom.xml index 251c8e9ffa..63c045e2a9 100644 --- a/client-compiled/pom.xml +++ b/client-compiled/pom.xml @@ -67,7 +67,7 @@ compile ${java.home}/bin/java - -Dvaadin.version=${project.version} + -Dvaadin.version=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} -DincludeNumberPackages=1 -classpath @@ -110,6 +110,7 @@ true + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} JavaSE-1.6 diff --git a/client-compiler/pom.xml b/client-compiler/pom.xml index 33a3423b3f..4564bfb0a5 100644 --- a/client-compiler/pom.xml +++ b/client-compiler/pom.xml @@ -229,8 +229,9 @@ true + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} JavaSE-1.6 - com.vaadin.*;version="${project.version}" + com.vaadin.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" diff --git a/client/pom.xml b/client/pom.xml index 87a6e93d53..a980c97162 100644 --- a/client/pom.xml +++ b/client/pom.xml @@ -96,7 +96,7 @@ JavaSE-1.6 - com.vaadin.*;version="${project.version}" + com.vaadin.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" diff --git a/pom.xml b/pom.xml index c6059ad8af..55565bbaab 100644 --- a/pom.xml +++ b/pom.xml @@ -231,6 +231,19 @@ + + org.codehaus.mojo + build-helper-maven-plugin + 1.8 + + + parse-version + + parse-version + + + + org.codehaus.mojo animal-sniffer-maven-plugin diff --git a/push/pom.xml b/push/pom.xml index 31131653f8..51c2557d47 100644 --- a/push/pom.xml +++ b/push/pom.xml @@ -138,6 +138,7 @@ true + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} JavaSE-1.6 VAADIN com.vaadin.external.atmosphere.runtime;bundle-version="${atmosphere.runtime.version}";visibility:=reexport diff --git a/server/pom.xml b/server/pom.xml index fcd11f3a47..3df2ec1918 100644 --- a/server/pom.xml +++ b/server/pom.xml @@ -150,7 +150,7 @@ - + maven-resources-plugin @@ -221,7 +221,8 @@ JavaSE-1.6 - com.vaadin.*;version="${project.version}" + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} + com.vaadin.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" javax.servlet;version="${javax.servlet.version}", javax.servlet.http;version="${javax.servlet.version}", javax.validation;version="${javax.validation.version}";resolution:=optional, @@ -235,8 +236,8 @@ javax.portlet.filter;version="[${javax.portlet.version},3)";resolution:=optional, com.liferay.portal.kernel.util;resolution:=optional - com.vaadin.shared;bundle-version="${project.version}", - com.vaadin.push;bundle-version="${project.version}";resolution:=optional, + com.vaadin.shared;bundle-version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}", + com.vaadin.push;bundle-version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}";resolution:=optional, com.vaadin.sass-compiler;bundle-version="${vaadin.sass.version}";resolution:=optional" diff --git a/shared/pom.xml b/shared/pom.xml index f8bff03e6b..4f4037c371 100644 --- a/shared/pom.xml +++ b/shared/pom.xml @@ -117,7 +117,8 @@ JavaSE-1.6 - com.vaadin.*;version="${project.version}",elemental.*;version="${project.version}" + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} + com.vaadin.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}",elemental.*;version="${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion}" com.google.gwt.thirdparty.streamhtmlparser;version="${streamhtmlparser.version}", com.google.gwt.thirdparty.streamhtmlparser.impl;version="${streamhtmlparser.version}", com.google.gwt.thirdparty.streamhtmlparser.util;version="${streamhtmlparser.version}", diff --git a/themes/pom.xml b/themes/pom.xml index 8a1333a754..6c621204b9 100644 --- a/themes/pom.xml +++ b/themes/pom.xml @@ -246,7 +246,7 @@ compile ${java.home}/bin/java - -Dvaadin.version=${project.version} + -Dvaadin.version=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} -DincludeNumberPackages=0 -classpath @@ -295,6 +295,7 @@ true + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} JavaSE-1.6 diff --git a/widgets/pom.xml b/widgets/pom.xml index 5fa0f7120b..b971da479a 100644 --- a/widgets/pom.xml +++ b/widgets/pom.xml @@ -63,6 +63,7 @@ true + ${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} JavaSE-1.6 @@ -225,7 +226,7 @@ compile ${java.home}/bin/java - -Dvaadin.version=${project.version} + -Dvaadin.version=${parsedVersion.majorVersion}.${parsedVersion.minorVersion}.${parsedVersion.incrementalVersion} -DincludeNumberPackages=1 -classpath -- cgit v1.2.3