blob: 9cb0ccd80ac7448790364451db56f5db735d6616 [file] [log] [blame]
package org.apache.maven.integrationtests;
import java.io.File;
import org.apache.maven.artifact.versioning.InvalidVersionSpecificationException;
import org.apache.maven.it.IntegrationTestRunner;
/**
* Verify that dependencies with invalid POMs can still be used without failing
* the build.
*
* @author jdcasey
*/
public class MavenITmng3680InvalidDependencyPOMTest
extends AbstractMavenIntegrationTestCase
{
public MavenITmng3680InvalidDependencyPOMTest()
throws InvalidVersionSpecificationException
{
super( "(2.0.9,)" );
}
public void testitMNG3680 ()
throws Exception
{
File testDir = extractTestResources( getClass(), "/mng-3680-invalidDependencyPOM" );
IntegrationTestRunner itr = new IntegrationTestRunner( testDir.getAbsolutePath() );
itr.executeGoal( "compile" );
itr.verifyErrorFreeLog();
itr.resetStreams();
}
}