| package org.apache.maven.integrationtests; |
| |
| 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 |
| { |
| IntegrationTestRunner itr = createTestRunner(); |
| itr.invoke( "compile" ); |
| itr.assertFilePresent( "target/classes/org/apache/maven/it0010/PersonFinder.class" ); |
| itr.verifyErrorFreeLog(); |
| itr.resetStreams(); |
| } |
| } |
| |