'Maven surefire sonar:sonar skip failed test for multicomponent repo

Could you please help with correct params for skipping failed test in mvn sonar:sonar for multicompoment repo in GitLap?

maven-surfire plugin version is 2.4.2 I tried to add below params, but job completed in all case with error and skipped all other test

-Dmaven.test.failure.ignore=true (or -DtestFailureIgnore=true) - will ignore any failures occurred during test execution

-Dmaven.test.error.ignore=true ( deprecated ) - will ignore any errors occurred during test execution

error below

[INFO] app1  SUCCESS [10:22 min]
[INFO] app2 SUCCESS [ 0.003 s]
[INFO] app3 FAILURE [ 32.564 s]
[INFO] app4 SKIPPED
[INFO] app5 SKIPPED
[INFO]
[INFO] BUILD FAILURE
TINFOT
TINFO] Total time: 44:26 min
TINFO1 Finished at: 2022-03-22T13:19:222
TINFOT
[ERROR] Failed to execute goal org.apache. maven.plugins: maven-compiler-plugin:3.6.0:compile (default-compile) on project app3: Compilation failure
[ERROR]/builds/app3.java:[99,105]error:LoggerConfigisabstract;cannot be
instantiated


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source