forked from wildfly/wildfly
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
WFLY-3520 Replace bundled maven with version that is downloaded from …
…apache
- Loading branch information
1 parent
2992c80
commit 04a3b7c
Showing
70 changed files
with
30 additions
and
5,591 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
#!/bin/sh | ||
MAVEN_VERSION=3.2.1 | ||
MAVEN_URL=http://www.us.apache.org/dist/maven/maven-3/3.2.1/binaries/apache-maven-3.2.1-bin.zip | ||
|
||
if [ -d tools ]; then | ||
#executed from root of WF install | ||
cd tools | ||
fi | ||
|
||
if [ -d maven ]; then | ||
echo "Maven already exists" | ||
version=`./maven/bin/mvn -version | grep "Apache Maven $MAVEN_VERSION"` | ||
if [ "$version" ]; then | ||
echo "Maven is correct version" | ||
exit | ||
fi | ||
fi | ||
|
||
rm -rf maven | ||
curl $MAVEN_URL >maven.zip | ||
unzip maven.zip | ||
rm maven.zip | ||
mv apache-maven* maven | ||
|
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.