From 541b8f302e285130e48f59b818ee04ffcbdf8543 Mon Sep 17 00:00:00 2001 From: Dave Syer Date: Mon, 6 Mar 2017 12:31:37 +0000 Subject: [PATCH] Update to 1.3.1 --- mvnw | 8 ++++++++ pom.xml | 20 ++++---------------- spring-cloud-build-tools/pom.xml | 2 +- spring-cloud-dependencies-parent/pom.xml | 2 +- 4 files changed, 14 insertions(+), 18 deletions(-) diff --git a/mvnw b/mvnw index 0a7dac22..25f750cb 100755 --- a/mvnw +++ b/mvnw @@ -238,6 +238,14 @@ else echo $MAVEN_ARGS | grep -q milestone && MAVEN_ARGS=$(echo $MAVEN_ARGS | sed -e 's/-Pmilestone//') fi +if echo $VERSION | egrep -q 'RELEASE'; then + echo Activating \"central\" profile for version=\"$VERSION\" + echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pcentral" +else + echo Deactivating \"central\" profile for version=\"$VERSION\" + echo $MAVEN_ARGS | grep -q central && MAVEN_ARGS=$(echo $MAVEN_ARGS | sed -e 's/-Pcentral//') +fi + exec "$JAVACMD" \ $MAVEN_OPTS \ -classpath "$MAVEN_PROJECTBASEDIR/.mvn/wrapper/maven-wrapper.jar" \ diff --git a/pom.xml b/pom.xml index cbbc8a41..f77c925f 100644 --- a/pom.xml +++ b/pom.xml @@ -4,7 +4,7 @@ 4.0.0 org.springframework.cloud spring-cloud-build - 1.3.1.BUILD-SNAPSHOT + 1.3.1.RELEASE pom Spring Cloud Parent Spring Cloud parent pom, managing plugins and dependencies for Spring Cloud projects @@ -408,9 +408,9 @@ limitations under the License. scp://static.springframework.org/var/www/domains/springframework.org/static/htdocs/spring-cloud/docs/${project.artifactId}/${project.version} - repo.spring.io - Spring Release Repository - https://repo.spring.io/libs-release-local + sonatype-nexus-staging + Nexus Release Repository + https://oss.sonatype.org/service/local/staging/deploy/maven2/ repo.spring.io @@ -505,18 +505,6 @@ limitations under the License. - - - sonatype-nexus-snapshots - Sonatype Nexus Snapshots - https://oss.sonatype.org/content/repositories/snapshots/ - - - sonatype-nexus-staging - Nexus Release Repository - https://oss.sonatype.org/service/local/staging/deploy/maven2/ - - java8 diff --git a/spring-cloud-build-tools/pom.xml b/spring-cloud-build-tools/pom.xml index 6ec17755..ea76a0fc 100644 --- a/spring-cloud-build-tools/pom.xml +++ b/spring-cloud-build-tools/pom.xml @@ -11,7 +11,7 @@ org.springframework.cloud spring-cloud-build - 1.3.1.BUILD-SNAPSHOT + 1.3.1.RELEASE diff --git a/spring-cloud-dependencies-parent/pom.xml b/spring-cloud-dependencies-parent/pom.xml index 2605a6e9..3ffb57a3 100644 --- a/spring-cloud-dependencies-parent/pom.xml +++ b/spring-cloud-dependencies-parent/pom.xml @@ -3,7 +3,7 @@ xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> 4.0.0 org.springframework.cloud - 1.3.1.BUILD-SNAPSHOT + 1.3.1.RELEASE spring-cloud-dependencies-parent pom spring-cloud-dependencies-parent