diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 757d5aba814..1248deb89bb 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -37,7 +37,7 @@ jobs: cache: maven - name: Build # executing ITs requires installing artifacts to the local repository - run: mvn -B install -Pcoverage -PintegrationTesting -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS + run: mvn -B install -Pcoverage,integrationTesting,javadoc -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS - name: Upload build result uses: actions/upload-artifact@v4 with: diff --git a/Jenkinsfile b/Jenkinsfile index 2bf61c392af..cc4288f1852 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -63,7 +63,7 @@ def buildModule(moduleSpec) { // clean all modules sh "${MAVEN_CMD} -T 1C clean" // build and install up to desired module - sh "${MAVEN_CMD} -Dbaseline.skip=true -Prat -T 1C install -DskipTests -pl :${moduleName} -am" + sh "${MAVEN_CMD} -Dbaseline.skip=true -T 1C install -DskipTests -pl :${moduleName} -am" try { sh "${MAVEN_CMD} ${testOptions} -DtrimStackTrace=false -Dnsfixtures=SEGMENT_TAR,DOCUMENT_NS -Dmongo.db=MongoMKDB-${MONGODB_SUFFIX} clean verify -pl :${moduleName}" } finally { diff --git a/oak-parent/pom.xml b/oak-parent/pom.xml index b30d7c29d85..8fca73c877e 100644 --- a/oak-parent/pom.xml +++ b/oak-parent/pom.xml @@ -453,6 +453,18 @@ + + org.apache.rat + apache-rat-plugin + + + verify + + check + + + + @@ -936,18 +948,6 @@ - - org.apache.rat - apache-rat-plugin - - - verify - - check - - - - maven-checkstyle-plugin @@ -1023,33 +1023,6 @@ - - rat - - - - org.apache.rat - apache-rat-plugin - - - verify - - check - - - - - - maven-surefire-plugin - - - PathUtilsTest - false - - - - - javadoc @@ -1065,14 +1038,6 @@ - - maven-surefire-plugin - - - PathUtilsTest - false - - @@ -1080,18 +1045,6 @@ pedantic - - org.apache.rat - apache-rat-plugin - - - verify - - check - - - - maven-checkstyle-plugin