mirror of https://github.com/apache/maven.git
o Renamed artifact to match issue number
git-svn-id: https://svn.apache.org/repos/asf/maven/core-integration-testing/trunk@941241 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
016b4bb08b
commit
0583afc663
|
@ -49,7 +49,7 @@ public class MavenITmng0956ComponentInjectionViaProjectLevelPluginDepTest
|
||||||
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
Verifier verifier = new Verifier( testDir.getAbsolutePath() );
|
||||||
verifier.setAutoclean( false );
|
verifier.setAutoclean( false );
|
||||||
verifier.deleteDirectory( "target" );
|
verifier.deleteDirectory( "target" );
|
||||||
verifier.deleteArtifacts( "org.apache.maven.its.it0081" );
|
verifier.deleteArtifacts( "org.apache.maven.its.mng0956" );
|
||||||
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
|
verifier.filterFile( "settings-template.xml", "settings.xml", "UTF-8", verifier.newDefaultFilterProperties() );
|
||||||
verifier.getCliOptions().add( "--settings" );
|
verifier.getCliOptions().add( "--settings" );
|
||||||
verifier.getCliOptions().add( "settings.xml" );
|
verifier.getCliOptions().add( "settings.xml" );
|
||||||
|
@ -58,7 +58,7 @@ public class MavenITmng0956ComponentInjectionViaProjectLevelPluginDepTest
|
||||||
verifier.resetStreams();
|
verifier.resetStreams();
|
||||||
|
|
||||||
Properties apiProps = verifier.loadProperties( "target/component.properties" );
|
Properties apiProps = verifier.loadProperties( "target/component.properties" );
|
||||||
assertEquals( "true", apiProps.getProperty( "org.apache.maven.its.it0081.DefaultComponent" ) );
|
assertEquals( "true", apiProps.getProperty( "org.apache.maven.plugin.coreit.DefaultComponent" ) );
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,12 +22,12 @@ under the License.
|
||||||
<project>
|
<project>
|
||||||
<modelVersion>4.0.0</modelVersion>
|
<modelVersion>4.0.0</modelVersion>
|
||||||
|
|
||||||
<groupId>org.apache.maven.its.it0081</groupId>
|
<groupId>org.apache.maven.its.mng0956</groupId>
|
||||||
<artifactId>test</artifactId>
|
<artifactId>test</artifactId>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>Maven Integration Test :: it0081</name>
|
<name>Maven Integration Test :: MNG-956</name>
|
||||||
<description>
|
<description>
|
||||||
Test component injection from project-level plugin dependencies.
|
Test component injection from project-level plugin dependencies.
|
||||||
</description>
|
</description>
|
||||||
|
@ -54,7 +54,7 @@ under the License.
|
||||||
<dependencies>
|
<dependencies>
|
||||||
<!-- load component into plugin realm -->
|
<!-- load component into plugin realm -->
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.apache.maven.its.it0081</groupId>
|
<groupId>org.apache.maven.its.mng0956</groupId>
|
||||||
<artifactId>component</artifactId>
|
<artifactId>component</artifactId>
|
||||||
<version>0.1</version>
|
<version>0.1</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
|
|
Binary file not shown.
|
@ -1,11 +0,0 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?><metadata>
|
|
||||||
<groupId>org.apache.maven.its.it0081</groupId>
|
|
||||||
<artifactId>component</artifactId>
|
|
||||||
<version>0.1</version>
|
|
||||||
<versioning>
|
|
||||||
<versions>
|
|
||||||
<version>0.1</version>
|
|
||||||
</versions>
|
|
||||||
<lastUpdated>20081024103405</lastUpdated>
|
|
||||||
</versioning>
|
|
||||||
</metadata>
|
|
Binary file not shown.
Loading…
Reference in New Issue