Force Surefire to run tests with JUnit, not with TestNG

This commit is contained in:
Mikolaj Izdebski 2020-05-18 18:16:33 +02:00
parent c0aa6e11ca
commit 964e53d6aa

View File

@ -91,6 +91,10 @@ rm core/src/test/java/org/easymock/tests2/ClassExtensionHelperTest.java
# ssh not needed during our builds
%pom_xpath_remove pom:extensions
# Force Surefire to run tests with JUnit, not with TestNG
%pom_xpath_inject "pom:plugin[pom:artifactId='maven-surefire-plugin']" \
"<configuration><testNGArtifactName>none:none</testNGArtifactName></configuration>" core
%build
%mvn_build