Updating maven-surefire version from 2.20.1 to 2.21.0.
Reason: maven-surefire 2.20.1 throws NPE when running tests on JDK 10 or higher.
Official solved issue
Project issue #100
Compiling project with maven-surefire 2.20.1 log:
Reactor Summary for camunda-bpm-reactor-root 2.11.0-SNAPSHOT:
[INFO]
[INFO] camunda-bpm-reactor-root ........................... SUCCESS [ 0.265 s]
[INFO] camunda-bpm-reactor-extension-root ................. SUCCESS [ 0.014 s]
[INFO] camunda-bpm-reactor-eventbus ....................... FAILURE [ 7.985 s]
[INFO] camunda-bpm-reactor-core ........................... SKIPPED
[INFO] camunda-bpm-reactor-spring ......................... SKIPPED
[INFO] camunda-bpm-reactor-spring-starter ................. SKIPPED
[INFO] camunda-bpm-reactor-example-root ................... SKIPPED
[INFO] camunda-bpm-reactor-example-bpmn-task-listener ..... SKIPPED
[INFO] camunda-bpm-reactor-example-cmmn-task-listener ..... SKIPPED
[INFO] camunda-bpm-reactor-example-bpmn-execution-listener SKIPPED
[INFO] camunda-bpm-reactor-example-spring-plugin .......... SKIPPED
[INFO] camunda-bpm-reactor-example-spring-starter ......... SKIPPED
[INFO] ------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 9.877 s
[INFO] Finished at: 2020-12-04T12:27:30-03:00
[INFO] ------------------------------------------------------------------------
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test (default-test) on project camunda-bpm-reactor-eventbus: Execution default-test of goal org.apache.maven.plugins:maven-surefire-plugin:2.20.1:test failed. NullPointerException -> [Help 1]
[ERROR]
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
[ERROR]
[ERROR] For more information about the errors and possible solutions, please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/PluginExecutionException
[ERROR]
[ERROR] After correcting the problems, you can resume the build with the command
[ERROR] mvn -rf :camunda-bpm-reactor-eventbus
Updating maven-surefire version from 2.20.1 to 2.21.0. Reason: maven-surefire 2.20.1 throws NPE when running tests on JDK 10 or higher. Official solved issue Project issue #100
Compiling project with maven-surefire 2.20.1 log:
Compiling project with maven-surefire 2.21.0 log: