From 6c1d7a6972a56941e9d03f438feb9c8cdb762257 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Sebastian=20Ho=C3=9F?= Date: Sun, 8 Nov 2015 01:13:10 +0100 Subject: [PATCH] Update Makefile MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Sebastian Hoß --- Makefile | 47 ++++++++++++++++++++++++++++++++++++----------- 1 file changed, 36 insertions(+), 11 deletions(-) rewrite Makefile (76%) diff --git a/Makefile b/Makefile dissimilarity index 76% index 5eba2fb..6366ce9 100644 --- a/Makefile +++ b/Makefile @@ -1,11 +1,36 @@ -all: help - -help: - @echo "" - @echo "-- Help Menu" - @echo "" - @echo " 1. make sonar-analysis - perform sonar analysis" - -sonar-analysis: - @mvn clean test sonar:sonar -Dsonar.host.url=http://localhost:58200 -Dsonar.jdbc.url=jdbc:postgresql://localhost:58300/sonar -Djacoco.jacoco.path=${project.basedir}/../target/jacoco.exec - +all: help + +help: + @echo "" + @echo "-- Help Menu" + @echo "" + @echo " 1. make display-dependency-updates - display dependency updates" + @echo " 2. make display-plugin-updates - display plugin updates" + @echo " 3. make display-property-updates - display property updates" + @echo " 4. make sonar-analysis - perform sonar analysis" + @echo " 5. make sign-waiver - GPG sign the WAIVER" + @echo " 6. make release - perform the next release" + @echo " 7. make docker-verify - verify the project inside a pre-defined docker container" + +display-dependency-updates: + @mvn versions:display-dependency-updates + +display-plugin-updates: + @mvn versions:display-plugin-updates + +display-property-updates: + @mvn versions:display-property-updates + +sonar-analysis: + # http://docs.sonarqube.org/display/SONAR/Analyzing+with+Maven + @mvn clean install + @mvn sonar:sonar -Dsonar.host.url=http://localhost:59000 + +sign-waiver: + @gpg --no-version --armor --sign AUTHORS/WAIVER + +release: + @mvn -B release:prepare release:perform + +docker-verify: + @docker-compose -f build/docker/build-environment.yml up -- 2.11.4.GIT