Force Surefire to run tests with JUnit, not with TestNG
This commit is contained in:
parent
c0aa6e11ca
commit
964e53d6aa
@ -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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user