blob: 83cd5905da9b89353d4935c3728d9d5e48d65e78 [file] [log] [blame]
package org.apache.maven.integrationtests;
import java.io.File;
import org.apache.maven.it.IntegrationTestRunner;
public class MavenIT0010Test
extends AbstractMavenIntegrationTestCase
{
/**
* Since the artifact resolution does not use the project builder, we must
* ensure that the full hierarchy of all dependencies is resolved. This
* includes the dependencies of the parent-pom's of dependencies. This test
* will check this, by depending on classworlds, which is a dependency of
* maven-component, which is the parent of maven-plugin, which is an
* explicit dependency of this test.
* # TODO: must correct the assumptions of this test
*/
public void testit0010()
throws Exception
{
File testDir = extractTestResources( getClass(), "/it0010" );
IntegrationTestRunner itr = new IntegrationTestRunner( testDir.getAbsolutePath() );
itr.executeGoal( "compile" );
itr.assertFilePresent( "target/classes/org/apache/maven/it0010/PersonFinder.class" );
itr.verifyErrorFreeLog();
itr.resetStreams();
}
}