Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
spring-cloud-netflix
Project
Overview
Details
Activity
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
openSource
spring-cloud-netflix
Commits
a5d839fe
Commit
a5d839fe
authored
Mar 02, 2016
by
Dave Syer
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix mvnw script for milestones
parent
9ea64308
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mvnw
mvnw
+3
-3
No files found.
mvnw
View file @
a5d839fe
...
@@ -49,10 +49,10 @@ fi
...
@@ -49,10 +49,10 @@ fi
VERSION
=
$(
sed
`
dirname
$0
`
/pom.xml
-e
'/<parent/,+4d'
|
grep
'<version'
|
head
-1
|
sed
-e
's/.*>\(.*\)<.*/\1/'
)
VERSION
=
$(
sed
`
dirname
$0
`
/pom.xml
-e
'/<parent/,+4d'
|
grep
'<version'
|
head
-1
|
sed
-e
's/.*>\(.*\)<.*/\1/'
)
if
echo
$VERSION
| egrep
-q
'M|RC'
;
then
if
echo
$VERSION
| egrep
-q
'M|RC'
;
then
echo
Activating
\"
milestone
\"
profile
for
version
=
\"
$VERSION
\"
echo
Activating
\"
milestone
\"
profile
for
version
=
\"
$VERSION
\"
echo
$MAVEN_
OPTS
|
grep
-q
milestone
||
MAVEN_OPTS
=
"
$MAVEN_OPT
S
-Pmilestone"
echo
$MAVEN_
ARGS
|
grep
-q
milestone
||
MAVEN_ARGS
=
"
$MAVEN_ARG
S
-Pmilestone"
else
else
echo
Deactivating
\"
milestone
\"
profile
for
version
=
\"
$VERSION
\"
echo
Deactivating
\"
milestone
\"
profile
for
version
=
\"
$VERSION
\"
echo
$MAVEN_
OPTS
|
grep
-q
milestone
&&
MAVEN_OPTS
=
$(
echo
$MAVEN_OPT
S
|
sed
-e
's/-Pmilestone//'
)
echo
$MAVEN_
ARGS
|
grep
-q
milestone
&&
MAVEN_ARGS
=
$(
echo
$MAVEN_ARG
S
|
sed
-e
's/-Pmilestone//'
)
fi
fi
# OS specific support. $var _must_ be set to either true or false.
# OS specific support. $var _must_ be set to either true or false.
...
@@ -239,5 +239,5 @@ exec "$JAVACMD" \
...
@@ -239,5 +239,5 @@ exec "$JAVACMD" \
$MAVEN_OPTS
\
$MAVEN_OPTS
\
-classpath
"
$MAVEN_PROJECTBASEDIR
/.mvn/wrapper/maven-wrapper.jar"
\
-classpath
"
$MAVEN_PROJECTBASEDIR
/.mvn/wrapper/maven-wrapper.jar"
\
"-Dmaven.home=
${
M2_HOME
}
"
"-Dmaven.multiModuleProjectDirectory=
${
MAVEN_PROJECTBASEDIR
}
"
\
"-Dmaven.home=
${
M2_HOME
}
"
"-Dmaven.multiModuleProjectDirectory=
${
MAVEN_PROJECTBASEDIR
}
"
\
${
WRAPPER_LAUNCHER
}
"
$@
"
${
WRAPPER_LAUNCHER
}
${
MAVEN_ARGS
}
"
$@
"
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