mirror of https://github.com/apache/maven.git
o resetting plexus version, will turn them into integration tests now
git-svn-id: https://svn.apache.org/repos/asf/maven/components/branches/MNG-2766@768733 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
04760f2e69
commit
006b3cf25b
|
@ -13,6 +13,8 @@ public class PluginManagerTest
|
|||
@Requirement
|
||||
private PluginManager pluginManager;
|
||||
|
||||
private String plexusVersion = "1.0-beta-3.0.7-SNAPSHOT";
|
||||
|
||||
protected void setUp()
|
||||
throws Exception
|
||||
{
|
||||
|
@ -32,7 +34,7 @@ public class PluginManagerTest
|
|||
Plugin plugin = new Plugin();
|
||||
plugin.setGroupId( "org.codehaus.plexus" );
|
||||
plugin.setArtifactId( "plexus-component-metadata" );
|
||||
plugin.setVersion( "1.0-beta-3.0.6" );
|
||||
plugin.setVersion( plexusVersion );
|
||||
PluginDescriptor pluginDescriptor = pluginManager.loadPlugin( plugin, session.getCurrentProject(), session );
|
||||
assertNotNull( pluginDescriptor );
|
||||
assertNotNull( pluginDescriptor.getClassRealm() );
|
||||
|
@ -46,7 +48,7 @@ public class PluginManagerTest
|
|||
Plugin plugin = new Plugin();
|
||||
plugin.setGroupId( "org.codehaus.plexus" );
|
||||
plugin.setArtifactId( "plexus-component-metadata" );
|
||||
plugin.setVersion( "1.0-beta-3.0.6" );
|
||||
plugin.setVersion( plexusVersion );
|
||||
|
||||
MojoDescriptor mojoDescriptor = pluginManager.getMojoDescriptor( plugin, goal, session );
|
||||
assertNotNull( mojoDescriptor );
|
||||
|
@ -58,7 +60,7 @@ public class PluginManagerTest
|
|||
assertNotNull( pluginDescriptor );
|
||||
assertEquals( "org.codehaus.plexus", pluginDescriptor.getGroupId() );
|
||||
assertEquals( "plexus-component-metadata", pluginDescriptor.getArtifactId() );
|
||||
assertEquals( "1.0-beta-3.0.6", pluginDescriptor.getVersion() );
|
||||
assertEquals( plexusVersion, pluginDescriptor.getVersion() );
|
||||
assertNotNull( pluginDescriptor.getClassRealm() );
|
||||
}
|
||||
|
||||
|
|
|
@ -20,7 +20,7 @@
|
|||
<plugin>
|
||||
<groupId>org.codehaus.plexus</groupId>
|
||||
<artifactId>plexus-component-metadata</artifactId>
|
||||
<version>1.0-beta-3.0.6</version>
|
||||
<version>1.0-beta-3.0.7-SNAPSHOT</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
|
|
|
@ -54,7 +54,7 @@ under the License.
|
|||
<doxiaVersion>1.0-alpha-9</doxiaVersion>
|
||||
<easyMockVersion>1.2_Java1.3</easyMockVersion>
|
||||
<junitVersion>3.8.1</junitVersion>
|
||||
<plexusVersion>1.0-beta-3.0.6</plexusVersion>
|
||||
<plexusVersion>1.0-beta-3.0.7-SNAPSHOT</plexusVersion>
|
||||
<plexusInteractivityVersion>1.0-alpha-6</plexusInteractivityVersion>
|
||||
<plexusInterpolationVersion>1.1</plexusInterpolationVersion>
|
||||
<plexusPluginManagerVersion>1.0-alpha-1</plexusPluginManagerVersion>
|
||||
|
|
|
@ -54,7 +54,7 @@ under the License.
|
|||
<doxiaVersion>1.0-alpha-9</doxiaVersion>
|
||||
<easyMockVersion>1.2_Java1.3</easyMockVersion>
|
||||
<junitVersion>3.8.1</junitVersion>
|
||||
<plexusVersion>1.0-beta-3.0.6</plexusVersion>
|
||||
<plexusVersion>1.0-beta-3.0.7-SNAPSHOT</plexusVersion>
|
||||
<plexusInteractivityVersion>1.0-alpha-6</plexusInteractivityVersion>
|
||||
<plexusInterpolationVersion>1.1</plexusInterpolationVersion>
|
||||
<plexusPluginManagerVersion>1.0-alpha-1</plexusPluginManagerVersion>
|
||||
|
|
Loading…
Reference in New Issue