camunda-community-hub / camunda-platform-7-reactor

Event Driven process applications
https://camunda.github.io/camunda-bpm-reactor/
Apache License 2.0
80 stars 34 forks source link

Fail mvn package for maven-surefire-plugin #100

Closed hidcontrol closed 3 years ago

hidcontrol commented 4 years ago

solve: change vesion in pom.xml 2.20.1->2.19.1

GabrielCasaro commented 3 years ago

As stated above, it does work changing version. However, downgrading versions should be discouraged. As informed here,

Running any tests on surefire 2.20 with JDK 10 results in NPE

and

Note this is not an issue in maven surefire plugin 2.21 as it's been fixed there

Updating maven-surefire-plugin version to 2.21.0 works like a charm.

<plugin>
     <artifactId>maven-surefire-plugin</artifactId>
     <version>2.21.0</version>
     <configuration>
          <runOrder>${surefire.runOrder}</runOrder>
     </configuration>
</plugin>
jangalinski commented 3 years ago

Cool, thanks ... Could you put this in a PR? I would only find it fair to give you the commit instead of c&p this from your comment ...

jangalinski commented 3 years ago

fixed with #111