-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update groupId prefix to com.planet57.gshell
Update to com.planet57.buildsupport:public-parent:1 org.sonatype.gshell -> com.planet57.gshell Use gossip 2.0.0-SNAPSHOT toss non-enabled command modules for now Update version to 3.0.0-SNAPSHOT
- Loading branch information
Showing
752 changed files
with
26,948 additions
and
32,406 deletions.
There are no files selected for viewing
Binary file not shown.
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 @@ | ||
distributionUrl=https://repo1.maven.org/maven2/org/apache/maven/apache-maven/3.3.9/apache-maven-3.3.9-bin.zip |
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,16 @@ | ||
language: java | ||
|
||
env: | ||
global: | ||
secure: mFUCLdRvMgBr7JAp6NStVrX2kuVH8WvnSP0qIF9KMNv4DEG3uHzS07eijOqDIWqjNRgEP9nYTiWueQ5lWrGZWK6O4zf8hY2pjWVzI5xQCwRa0UxTBVQOUxFFgcaeG4GIlvteKU07lvISwmx7X81AD/BnK3S0pGOWcUVPwekAasY= | ||
|
||
branches: | ||
except: | ||
- /^release-.*$/ | ||
|
||
jdk: | ||
- oraclejdk8 | ||
|
||
install: ./build ci-prepare -V -B -s .travis/settings.xml | ||
|
||
script: ./build ci-deploy -V -B -s .travis/settings.xml |
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,10 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<settings> | ||
<servers> | ||
<server> | ||
<id>ossrh</id> | ||
<username>jdillon</username> | ||
<password>${env.SONATYPE_PASSWORD}</password> | ||
</server> | ||
</servers> | ||
</settings> |
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,95 @@ | ||
#!/bin/bash | ||
basename=`basename $0` | ||
dirname=`dirname $0` | ||
dirname=`cd "$dirname" && pwd` | ||
cd "$dirname" | ||
|
||
# load optional config | ||
if [ -f ./build.rc ]; then | ||
source ./build.rc | ||
fi | ||
|
||
# show message and exit | ||
function die { | ||
echo "$1" | ||
exit 1 | ||
} | ||
|
||
# show usage and exit | ||
function usage { | ||
echo "usage: $basename $*" | ||
exit 2 | ||
} | ||
|
||
# run self | ||
function self { | ||
$0 $* | ||
} | ||
|
||
# run maven | ||
function mvn { | ||
./mvnw $* | ||
} | ||
|
||
command="$1"; shift | ||
case "$command" in | ||
# change the version of the project | ||
change-version) | ||
newVersion="$1" | ||
if [ -z "$newVersion" ]; then | ||
usage "$command <version>" | ||
fi | ||
|
||
mvn org.eclipse.tycho:tycho-versions-plugin:0.25.0:set-version \ | ||
-Dtycho.mode=maven \ | ||
-Dartifacts=gshell \ | ||
-Dproperties=gshell.version \ | ||
-DnewVersion="$newVersion" | ||
;; | ||
|
||
# check license headers | ||
license-check) | ||
mvn -Plicense-check -N | ||
;; | ||
|
||
# format license headers | ||
license-format) | ||
mvn -Plicense-format -N | ||
;; | ||
|
||
# prepare CI build | ||
ci-prepare) | ||
self license-check $* | ||
;; | ||
|
||
# build and deploy for CI | ||
ci-deploy) | ||
mvn clean deploy $* | ||
;; | ||
|
||
# release automation | ||
release) | ||
version="$1" | ||
nextVersion="$2" | ||
if [ -z "$version" -o -z "$nextVersion" ]; then | ||
usage "$command <version> <next-version>" | ||
fi | ||
releaseTag="release-$version" | ||
|
||
# update version and tag | ||
self change-version "$version" | ||
git commit -a -m "update version: $version" | ||
git tag $releaseTag | ||
|
||
# deploy release | ||
mvn -Pbuildsupport-release clean deploy | ||
|
||
# update to next version | ||
self change-version "$nextVersion" | ||
git commit -a -m "update version: $nextVersion" | ||
;; | ||
|
||
*) | ||
usage "<command> [options]" | ||
;; | ||
esac |
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 was deleted.
Oops, something went wrong.
Oops, something went wrong.