diff --git a/.github/workflows/cli-cicd-test.yml b/.github/workflows/cli-cicd-test.yml index f22bc4fdad9e..2c7cf526bdc4 100644 --- a/.github/workflows/cli-cicd-test.yml +++ b/.github/workflows/cli-cicd-test.yml @@ -97,7 +97,7 @@ jobs: echo "status=$OUTPUT_STATUS" >> $GITHUB_OUTPUT - ./mvnw surefire-report:report-only surefire-report:failsafe-report-only + ./mvnw surefire-report:failsafe-report-only DOT_CLI_PATH=${{ github.workspace }}/tools/dotcms-cli RESULTS_PATH=${DOT_CLI_PATH}/target/test-results @@ -115,15 +115,12 @@ jobs: for module in $MODULES do mkdir -p ${XML_REPORTS_PATH}/${module} - cp -r ${module}/target/surefire-reports ${XML_REPORTS_PATH}/${module} cp -r ${module}/target/failsafe-reports ${XML_REPORTS_PATH}/${module} mkdir -p ${HTML_REPORTS_PATH}/${module} cp -r ${module}/target/site/* ${HTML_REPORTS_PATH}/${module} + + echo "${module}failsafe report" >> ${INDEX_FILE} - for report in surefire failsafe - do - echo "${module}${report} report" >> ${INDEX_FILE} - done done cat ${CICD_RES_PATH}/cli/cli-results-footer.html >> ${INDEX_FILE} diff --git a/tools/dotcms-cli/api-data-model/pom.xml b/tools/dotcms-cli/api-data-model/pom.xml index 4da8965e3aa7..9ebd7a0c0deb 100644 --- a/tools/dotcms-cli/api-data-model/pom.xml +++ b/tools/dotcms-cli/api-data-model/pom.xml @@ -21,10 +21,8 @@ quarkus-bom io.quarkus.platform 2.9.1.Final - 3.0.0-M5 1.17.6 - false - false + 3.0.0-M5 false 3.3.0 @@ -147,30 +145,14 @@ true - - maven-surefire-plugin - ${surefire-plugin.version} - - ${test.failure.ignore} - ${skip.surefire.tests} - - **/*IntegrationTest.java - - - org.jboss.logmanager.LogManager - ${maven.home} - - - org.apache.maven.plugins maven-failsafe-plugin - ${surefire-plugin.version} + ${failsafe-plugin.version} ${test.failure.ignore} - ${skip.failsafe.tests} - **/*IntegrationTest.java + **/*Test.java @@ -216,7 +198,7 @@ maven-failsafe-plugin - ${surefire-plugin.version} + ${failsafe-plugin.version} diff --git a/tools/dotcms-cli/cli/pom.xml b/tools/dotcms-cli/cli/pom.xml index 6a5552c74f51..9d894c168c3f 100644 --- a/tools/dotcms-cli/cli/pom.xml +++ b/tools/dotcms-cli/cli/pom.xml @@ -21,10 +21,8 @@ quarkus-bom io.quarkus.platform 2.9.1.Final - 3.0.0-M5 1.17.6 - false - false + 3.0.0-M5 false @@ -133,30 +131,14 @@ true - - maven-surefire-plugin - ${surefire-plugin.version} - - ${test.failure.ignore} - ${skip.surefire.tests} - - **/*IntegrationTest.java - - - org.jboss.logmanager.LogManager - ${maven.home} - - - org.apache.maven.plugins maven-failsafe-plugin - ${surefire-plugin.version} + ${failsafe-plugin.version} ${test.failure.ignore} - ${skip.failsafe.tests} - **/*IntegrationTest.java + **/*Test.java diff --git a/tools/dotcms-cli/pom.xml b/tools/dotcms-cli/pom.xml index 61295f0f0720..43986d763921 100644 --- a/tools/dotcms-cli/pom.xml +++ b/tools/dotcms-cli/pom.xml @@ -19,7 +19,7 @@ quarkus-bom io.quarkus.platform 2.9.1.Final - 3.0.0-M5 + 3.0.0-M5 @@ -43,7 +43,7 @@ org.apache.maven.plugins maven-failsafe-plugin - ${surefire-plugin.version} + ${failsafe-plugin.version}