-
-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
enable source jar creation only for select modules to keep Nexus happy
- Loading branch information
Showing
11 changed files
with
218 additions
and
22 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
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,49 @@ | ||
#mvn versions:set -DgenerateBackupPoms=false -DnewVersion=${VERSION_NUMBER} | ||
|
||
MVN='/java/maven-3.5.2//bin/mvn' | ||
|
||
PASS=$1 | ||
echo $PASS | ||
|
||
function checkExit(){ | ||
if test "$?" != "0"; then | ||
echo Command $1 exited with abnormal status | ||
exit 1; | ||
else echo $? | ||
fi | ||
} | ||
|
||
function echoThenRun () { # echo and then run the command | ||
echo $1 | ||
$1 | ||
ret=$? | ||
echo $ret | ||
return $ret | ||
} | ||
|
||
$MVN clean | ||
checkExit "mvn clean" | ||
|
||
|
||
$MVN install | ||
checkExit "mvn install" | ||
|
||
|
||
$MVN site:site | ||
checkExit "mvn site:ste" | ||
|
||
|
||
$MVN assembly:single | ||
checkExit "mvn assembly:single" | ||
|
||
|
||
$MVN deploy -P javadocjar,sign-artifacts -Dgpg.passphrase=$PASS | ||
checkExit "mvn deploy -P javadocjar,sign-artifacts -Dgpg.passphrase=xxx" | ||
|
||
#$MVN site:deploy -N # with Java 8!!! | ||
#checkExit "mvn site:deploy -N" | ||
|
||
#git tag -m "tagging" -a v_${VERSION_NUMBER} | ||
#git push --tags | ||
|
||
#release version and add next version on jira |
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
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