File tree Expand file tree Collapse file tree 2 files changed +18
-6
lines changed
Expand file tree Collapse file tree 2 files changed +18
-6
lines changed Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ if [ -z "$MAVEN_SKIP_RC" ] ; then
4646
4747fi
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/' )
5050if 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"
Original file line number Diff line number Diff line change 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 >
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 >
You can’t perform that action at this time.
0 commit comments