[MNG-7549] Upgrade Core ITs to Maven Verifier 2.0.0-M1

Co-authored-by: Slawomir Jaranowski <s.jaranowski@gmail.com>

This closes #202
This commit is contained in:
Michael Osipov 2022-09-22 23:15:41 +02:00
parent 88c46ff2f8
commit 13b14eb4a3
644 changed files with 1389 additions and 665 deletions

View File

@ -30,6 +30,9 @@ import junit.framework.TestSuite;
import org.codehaus.plexus.util.IOUtil; import org.codehaus.plexus.util.IOUtil;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
/** /**
* The Core IT suite. * The Core IT suite.
*/ */

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.HashMap; import java.util.HashMap;

View File

@ -26,7 +26,9 @@ import java.util.Calendar;
import java.util.Date; import java.util.Date;
import java.util.Locale; import java.util.Locale;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import org.apache.maven.shared.utils.io.FileUtils; import org.apache.maven.shared.utils.io.FileUtils;
/** /**
@ -81,7 +83,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
assertArtifactContents( "originalArtifact" ); verifyArtifactContent( "originalArtifact" );
// set in the past to ensure it is downloaded // set in the past to ensure it is downloaded
localRepoFile.setLastModified( System.currentTimeMillis() - TIME_OFFSET ); localRepoFile.setLastModified( System.currentTimeMillis() - TIME_OFFSET );
@ -90,7 +92,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.executeGoal( "package" ); verifier.executeGoal( "package" );
assertArtifactContents( "updatedArtifact" ); verifyArtifactContent( "updatedArtifact" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
@ -109,7 +111,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
assertArtifactContents( "originalArtifact" ); verifyArtifactContent( "originalArtifact" );
FileUtils.fileWrite( artifact.getAbsolutePath(), "updatedArtifact" ); FileUtils.fileWrite( artifact.getAbsolutePath(), "updatedArtifact" );
metadata = new File( repository, "org/apache/maven/maven-core-it-support/1.0-SNAPSHOT/maven-metadata.xml" ); metadata = new File( repository, "org/apache/maven/maven-core-it-support/1.0-SNAPSHOT/maven-metadata.xml" );
@ -117,7 +119,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.executeGoal( "package" ); verifier.executeGoal( "package" );
assertArtifactContents( "updatedArtifact" ); verifyArtifactContent( "updatedArtifact" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
@ -142,7 +144,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
assertArtifactContents( "originalArtifact" ); verifyArtifactContent( "originalArtifact" );
assertFalse( localMetadata.exists() ); assertFalse( localMetadata.exists() );
FileUtils.fileWrite( localRepoFile.getAbsolutePath(), "localArtifact" ); FileUtils.fileWrite( localRepoFile.getAbsolutePath(), "localArtifact" );
@ -155,7 +157,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.executeGoal( "package" ); verifier.executeGoal( "package" );
assertArtifactContents( "localArtifact" ); verifyArtifactContent( "localArtifact" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
@ -171,7 +173,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.executeGoal( "package" ); verifier.executeGoal( "package" );
assertArtifactContents( "originalArtifact" ); verifyArtifactContent( "originalArtifact" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
@ -191,7 +193,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
assertArtifactContents( "originalArtifact" ); verifyArtifactContent( "originalArtifact" );
FileUtils.fileWrite( artifact.getAbsolutePath(), "updatedArtifact" ); FileUtils.fileWrite( artifact.getAbsolutePath(), "updatedArtifact" );
metadata = new File( repository, "org/apache/maven/maven-core-it-support/1.0-SNAPSHOT/maven-metadata.xml" ); metadata = new File( repository, "org/apache/maven/maven-core-it-support/1.0-SNAPSHOT/maven-metadata.xml" );
@ -199,7 +201,7 @@ public class MavenIT0108SnapshotUpdateTest
verifier.executeGoal( "package" ); verifier.executeGoal( "package" );
assertArtifactContents( "updatedArtifact" ); verifyArtifactContent( "updatedArtifact" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();
@ -210,11 +212,11 @@ public class MavenIT0108SnapshotUpdateTest
return new File( verifier.getArtifactMetadataPath( groupId, artifactId, version, "maven-metadata-local.xml" ) ); return new File( verifier.getArtifactMetadataPath( groupId, artifactId, version, "maven-metadata-local.xml" ) );
} }
private void assertArtifactContents( String s ) private void verifyArtifactContent( String s )
throws IOException, VerificationException throws IOException, VerificationException
{ {
verifier.verifyArtifactPresent( "org.apache.maven", "maven-core-it-support", "1.0-SNAPSHOT", "jar" ); verifier.verifyArtifactPresent( "org.apache.maven", "maven-core-it-support", "1.0-SNAPSHOT", "jar" );
verifier.assertArtifactContents( "org.apache.maven", "maven-core-it-support", "1.0-SNAPSHOT", "jar", s ); verifier.verifyArtifactContent( "org.apache.maven", "maven-core-it-support", "1.0-SNAPSHOT", "jar", s );
} }
private static File deleteLocalArtifact( Verifier verifier, File localRepoFile ) private static File deleteLocalArtifact( Verifier verifier, File localRepoFile )

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.NetworkConnector; import org.eclipse.jetty.server.NetworkConnector;
import org.eclipse.jetty.server.Server; import org.eclipse.jetty.server.Server;

View File

@ -20,7 +20,8 @@ package org.apache.maven.it;
*/ */
import java.io.File; import java.io.File;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
public class MavenIT0199CyclicImportScopeTest extends AbstractMavenIntegrationTestCase { public class MavenIT0199CyclicImportScopeTest extends AbstractMavenIntegrationTestCase {
@ -47,7 +48,7 @@ public class MavenIT0199CyclicImportScopeTest extends AbstractMavenIntegrationTe
verifier.deleteDirectory("target"); verifier.deleteDirectory("target");
verifier.executeGoal("install"); verifier.executeGoal("install");
if (expectedArtifact != null) { if (expectedArtifact != null) {
verifier.assertFilePresent(expectedArtifact); verifier.verifyFilePresent(expectedArtifact);
} }
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.ArrayList; import java.util.ArrayList;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Arrays; import java.util.Arrays;

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import org.eclipse.jetty.server.Handler; import org.eclipse.jetty.server.Handler;
import org.eclipse.jetty.server.NetworkConnector; import org.eclipse.jetty.server.NetworkConnector;
import org.eclipse.jetty.server.Request; import org.eclipse.jetty.server.Request;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Arrays; import java.util.Arrays;

View File

@ -24,7 +24,8 @@ import java.text.SimpleDateFormat;
import java.util.Date; import java.util.Date;
import java.util.Locale; import java.util.Locale;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.utils.io.FileUtils; import org.apache.maven.shared.utils.io.FileUtils;
/** /**

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -21,7 +21,8 @@ package org.apache.maven.it;
import java.io.File; import java.io.File;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
/** /**
* This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-870">MNG-870</a>. * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-870">MNG-870</a>.

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collections; import java.util.Collections;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Collection; import java.util.Collection;

View File

@ -22,7 +22,8 @@ package org.apache.maven.it;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
/** /**
* This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1323">MNG-1323</a>. * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1323">MNG-1323</a>.

View File

@ -21,7 +21,8 @@ package org.apache.maven.it;
import java.io.File; import java.io.File;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
/** /**
* This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1349">MNG-1349</a>. * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1349">MNG-1349</a>.

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

View File

@ -19,7 +19,8 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import java.io.File; import java.io.File;
import java.util.Properties; import java.util.Properties;
@ -50,7 +51,7 @@ public class MavenITmng1415QuotedSystemPropertiesTest
Verifier verifier = newVerifier( testDir.getAbsolutePath() ); Verifier verifier = newVerifier( testDir.getAbsolutePath() );
verifier.setAutoclean( false ); verifier.setAutoclean( false );
verifier.deleteDirectory( "target" ); verifier.deleteDirectory( "target" );
verifier.addCliOption( "-Dtest.property=\"Test Property\"" ); verifier.addCliOption( "-Dtest.property=Test Property" );
verifier.executeGoal( "validate" ); verifier.executeGoal( "validate" );
verifier.verifyErrorFreeLog(); verifier.verifyErrorFreeLog();
verifier.resetStreams(); verifier.resetStreams();

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import java.io.File; import java.io.File;

View File

@ -21,7 +21,8 @@ package org.apache.maven.it;
import java.io.File; import java.io.File;
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
/** /**
* This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1493">MNG-1493</a>. * This is a test set for <a href="https://issues.apache.org/jira/browse/MNG-1493">MNG-1493</a>.

View File

@ -19,7 +19,9 @@ package org.apache.maven.it;
* under the License. * under the License.
*/ */
import org.apache.maven.it.util.ResourceExtractor; import org.apache.maven.shared.verifier.util.ResourceExtractor;
import org.apache.maven.shared.verifier.Verifier;
import org.apache.maven.shared.verifier.VerificationException;
import java.io.File; import java.io.File;
import java.util.List; import java.util.List;

Some files were not shown because too many files have changed in this diff Show More