blob: 1436ccb04220f2be08714f21482f21477bb6a961 [file] [log] [blame]
package org.apache.maven.integrationtests;
import org.apache.maven.it.Verifier;
import org.apache.maven.it.util.ResourceExtractor;
import java.io.File;
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 = ResourceExtractor.simpleExtractResources( getClass(), "/it0010" );
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
verifier.executeGoal( "compile" );
verifier.assertFilePresent( "target/classes/org/apache/maven/it0010/PersonFinder.class" );
verifier.verifyErrorFreeLog();
verifier.resetStreams();
}
}