Configure Maven to run Gradle where necessary
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user