Skip to content

Commit 369defd

Browse files
committed
Update to Camden.BUILD-SNAPSHOT
1 parent 125cca8 commit 369defd

File tree

2 files changed

+18
-6
lines changed

2 files changed

+18
-6
lines changed

mvnw

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ if [ -z "$MAVEN_SKIP_RC" ] ; then
4646

4747
fi
4848

49-
VERSION=$(sed `dirname $0`/pom.xml -e '/<parent/,+4d' | grep '<version' | head -1 | sed -e 's/.*>\(.*\)<.*/\1/')
49+
VERSION=$(awk '/<parent/ {l=4}; (l-- > 0) {$0=$0} 1' `dirname $0`/pom.xml| grep '<version' | head -1 | sed -e 's/.*>\(.*\)<.*/\1/')
5050
if echo $VERSION | egrep -q 'M|RC'; then
5151
echo Activating \"milestone\" profile for version=\"$VERSION\"
5252
echo $MAVEN_ARGS | grep -q milestone || MAVEN_ARGS="$MAVEN_ARGS -Pmilestone"

pom.xml

Lines changed: 17 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,10 @@
1212
<description>Config Server demo project</description>
1313

1414
<parent>
15-
<groupId>org.springframework.cloud</groupId>
16-
<artifactId>spring-cloud-starter-parent</artifactId>
17-
<version>Brixton.BUILD-SNAPSHOT</version>
18-
<relativePath /> <!-- lookup parent from repository -->
15+
<groupId>org.springframework.boot</groupId>
16+
<artifactId>spring-boot-starter-parent</artifactId>
17+
<version>1.4.1.BUILD-SNAPSHOT</version>
18+
<relativePath/> <!-- lookup parent from repository -->
1919
</parent>
2020

2121
<dependencies>
@@ -41,7 +41,19 @@
4141
<scope>test</scope>
4242
</dependency>
4343
</dependencies>
44-
44+
45+
<dependencyManagement>
46+
<dependencies>
47+
<dependency>
48+
<groupId>org.springframework.cloud</groupId>
49+
<artifactId>spring-cloud-dependencies</artifactId>
50+
<version>Camden.BUILD-SNAPSHOT</version>
51+
<type>pom</type>
52+
<scope>import</scope>
53+
</dependency>
54+
</dependencies>
55+
</dependencyManagement>
56+
4557
<properties>
4658
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
4759
<start-class>demo.ConfigServerApplication</start-class>

0 commit comments

Comments
 (0)