blob: 0deb91b617ae07be6c3c8286e500f0bedbd06980 [file] [log] [blame]
package org.apache.maven.integrationtests;
import java.io.File;
import org.apache.maven.it.IntegrationTestRunner;
public class MavenIT0087Test
extends AbstractMavenIntegrationTestCase
{
/**
* Verify that a project-level plugin dependency class can be loaded from both the plugin classloader
* and the context classloader available to the plugin.
*/
public void testit0087()
throws Exception
{
File testDir = extractTestResources( getClass(), "/it0087" );
IntegrationTestRunner itr = new IntegrationTestRunner( testDir.getAbsolutePath() );
itr.deleteArtifact( "org.apache.maven.plugins", "maven-it-it-plugin", "1.0", "maven-plugin" );
itr.invoke( "validate" );
itr.verifyErrorFreeLog();
itr.resetStreams();
}
}