diff --git a/pom.xml b/pom.xml index ca0d8387d9..b36cd51f3e 100644 --- a/pom.xml +++ b/pom.xml @@ -230,17 +230,7 @@ org.apache.maven.shared maven-verifier - 1.7.2 - - - org.apache.maven.shared - maven-shared-utils - - - junit - junit - - + 1.8.0 org.codehaus.plexus diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/fixture/MavenLauncher.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/fixture/MavenLauncher.java index 8dc2465f45..9b484b518b 100755 --- a/surefire-its/src/test/java/org/apache/maven/surefire/its/fixture/MavenLauncher.java +++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/fixture/MavenLauncher.java @@ -186,9 +186,9 @@ public MavenLauncher addEnvVar( String key, String value ) return this; } - public MavenLauncher assertNotPresent( String subFile ) + public MavenLauncher verifyFileNotPresent( String subFile ) throws VerificationException { - getVerifier().assertFileNotPresent( getValidator().getSubFile( subFile ).getAbsolutePath() ); + getVerifier().verifyFileNotPresent( getValidator().getSubFile( subFile ).getAbsolutePath() ); return this; } diff --git a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire772NoFailsafeReportsIT.java b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire772NoFailsafeReportsIT.java index 98dd5121f5..9ae8f4aa70 100644 --- a/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire772NoFailsafeReportsIT.java +++ b/surefire-its/src/test/java/org/apache/maven/surefire/its/jiras/Surefire772NoFailsafeReportsIT.java @@ -104,7 +104,7 @@ private SurefireLauncher unpack() throws VerificationException, IOException { final SurefireLauncher unpack = unpack( "surefire-772-no-failsafe-reports" ); - unpack.maven().deleteSiteDir().skipClean().failNever().assertNotPresent( "site" ); + unpack.maven().deleteSiteDir().skipClean().failNever().verifyFileNotPresent( "site" ); return unpack; }