Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Sign in / Register
Toggle navigation
S
spring-boot
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
DEMO
spring-boot
Commits
3600533f
Commit
3600533f
authored
Aug 06, 2013
by
Phillip Webb
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add helper to set version
parent
d86bf666
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
32 additions
and
0 deletions
+32
-0
pom.xml
buildhelper/all/pom.xml
+18
-0
setversion.sh
buildhelper/all/setversion.sh
+14
-0
No files found.
buildhelper/all/pom.xml
0 → 100644
View file @
3600533f
<project
xmlns=
"http://maven.apache.org/POM/4.0.0"
xmlns:xsi=
"http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation=
"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"
>
<modelVersion>
4.0.0
</modelVersion>
<groupId>
org.springframework.boot
</groupId>
<artifactId>
spring-boot-build-all
</artifactId>
<version>
0.5.0.BUILD-SNAPSHOT
</version>
<packaging>
pom
</packaging>
<prerequisites>
<maven>
3.0.0
</maven>
</prerequisites>
<properties>
<main.basedir>
${basedir}/../..
</main.basedir>
</properties>
<modules>
<module>
../..
</module>
<module>
../../spring-boot-samples
</module>
</modules>
</project>
\ No newline at end of file
buildhelper/all/setversion.sh
0 → 100755
View file @
3600533f
if
[
-z
"
$1
"
]
;
then
echo
"Specify the new version"
exit
1
fi
cd
../../spring-boot-dependencies
mvn versions:set
-DgenerateBackupPoms
=
false
-DnewVersion
=
$1
cd
..
mvn versions:set
-DgenerateBackupPoms
=
false
-DnewVersion
=
$1
cd
buildhelper/all
mvn versions:set
-DgenerateBackupPoms
=
false
-DnewVersion
=
$1
mvn
-N
versions:update-child-modules
-DgenerateBackupPoms
=
false
cd
../../spring-boot-starters
mvn
-N
validate
cd
../buildhelper/all
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment