Configure Maven to run Gradle where necessary

This commit is contained in:
Dave Syer
2016-07-28 12:51:22 +01:00
parent ad889ee6d2
commit 71b16eac86
14 changed files with 243 additions and 53 deletions

View File

@@ -10,6 +10,3 @@ echo "Building Maven and Gradle projects for version [$VERIFIER_VERSION]"
echo "Building Maven stuff with additional opts [$ADDITIONAL_MAVEN_OPTS]"
./mvnw clean org.jacoco:jacoco-maven-plugin:prepare-agent install -Psonar --batch-mode $ADDITIONAL_MAVEN_OPTS
echo "Building Gradle plugin"
(cd */*-gradle-plugin; ./gradlew clean build install jacocoTestReport)

View File

@@ -4,4 +4,4 @@ source common.sh || source scripts/common.sh || echo "No common.sh script found.
set -e
./mvnw clean install && (cd *-gradle-plugin; ./gradlew clean build install) && ./scripts/runTests.sh && ./mvnw deploy && (cd *-gradle-plugin; ./gradlew uploadArchives -x test)
./mvnw clean install && ./scripts/runTests.sh && ./mvnw deploy

View File

@@ -12,10 +12,7 @@ echo -e "\n\nRUNNING TESTS FOR VERIFIER IN VERSION [${VERIFIER_VERSION}]\n\n"
cd samples/standalone
echo "Running Gradle tests"
echo "Running tests"
./runTests.sh
echo "Running Maven tests"
./runMavenTests.sh
cd $ROOT_FOLDER