blob: 3583965677c0c753c44d86a95e7570aac9c3053a [file] [log] [blame]
package org.apache.maven.integrationtests;
import java.io.File;
import org.apache.maven.it.IntegrationTestRunner;
public class MavenIT0009Test
extends AbstractMavenIntegrationTestCase
{
/**
* Test plugin configuration and goal configuration that overrides what the
* mojo has specified.
*/
public void testit0009()
throws Exception
{
File testDir = extractTestResources( getClass(), "/it0009" );
IntegrationTestRunner itr = new IntegrationTestRunner( testDir.getAbsolutePath() );
itr.deleteArtifact( "org.apache.maven.its.plugins", "maven-it-plugin-touch", "1.0", "maven-plugin" );
itr.executeGoal( "generate-resources" );
itr.assertFilePresent( "target/pluginItem" );
itr.assertFilePresent( "target/goalItem" );
itr.assertFileNotPresent( "target/bad-item" );
itr.verifyErrorFreeLog();
itr.resetStreams();
}
}