mirror of https://github.com/apache/maven.git
o use released version of plexus
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@587419 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
cb5debaec2
commit
def0ed7957
|
@ -16,7 +16,7 @@
|
|||
# under the License.
|
||||
|
||||
classworlds.version=1.2-alpha-10
|
||||
plexus.version=1.0-alpha-34-SNAPSHOT
|
||||
plexus.version=1.0-alpha-34
|
||||
plexus-utils.version=1.4.5
|
||||
maven-artifact.version=3.0-SNAPSHOT
|
||||
commons-cli.version=1.0
|
||||
|
|
|
@ -82,7 +82,6 @@ public class DefaultExtensionManager
|
|||
extends AbstractLogEnabled
|
||||
implements ExtensionManager, Contextualizable
|
||||
{
|
||||
|
||||
private ArtifactFactory artifactFactory;
|
||||
|
||||
private ArtifactResolver artifactResolver;
|
||||
|
|
|
@ -1255,25 +1255,19 @@ public class DefaultPluginManager
|
|||
// so that this meethod could entirely be handled by a plexus lookup?
|
||||
if ( StringUtils.isNotEmpty( configuratorId ) )
|
||||
{
|
||||
configurator = (ComponentConfigurator) pluginContainer.lookup(
|
||||
ComponentConfigurator.ROLE,
|
||||
configuratorId,
|
||||
pluginRealm );
|
||||
configurator = (ComponentConfigurator) pluginContainer.lookup( ComponentConfigurator.ROLE, configuratorId, pluginRealm );
|
||||
}
|
||||
else
|
||||
{
|
||||
configurator = (ComponentConfigurator) pluginContainer.lookup(
|
||||
ComponentConfigurator.ROLE,
|
||||
"basic", pluginRealm );
|
||||
configurator = (ComponentConfigurator) pluginContainer.lookup( ComponentConfigurator.ROLE, "basic", pluginRealm );
|
||||
}
|
||||
|
||||
ConfigurationListener listener = new DebugConfigurationListener( getLogger() );
|
||||
|
||||
getLogger().debug( "Configuring mojo '" + mojoDescriptor.getId() + "' -->" );
|
||||
getLogger().debug( "Configuring mojo '" + mojoDescriptor.getId() + "' with " + configuratorId + " configurator -->" );
|
||||
|
||||
// This needs to be able to use methods
|
||||
configurator.configureComponent( plugin, configuration, expressionEvaluator,
|
||||
pluginRealm, listener );
|
||||
configurator.configureComponent( plugin, configuration, expressionEvaluator, pluginRealm, listener );
|
||||
|
||||
getLogger().debug( "-- end configuration --" );
|
||||
}
|
||||
|
|
5
pom.xml
5
pom.xml
|
@ -116,6 +116,9 @@ under the License.
|
|||
<plugin>
|
||||
<artifactId>maven-surefire-plugin</artifactId>
|
||||
<version>2.3</version>
|
||||
<configuration>
|
||||
<forkMode>never</forkMode>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
@ -131,7 +134,7 @@ under the License.
|
|||
<module>maven-embedder</module>
|
||||
</modules>
|
||||
<properties>
|
||||
<plexusVersion>1.0-alpha-34-SNAPSHOT</plexusVersion>
|
||||
<plexusVersion>1.0-alpha-34</plexusVersion>
|
||||
<wagonVersion>1.0-beta-2</wagonVersion>
|
||||
</properties>
|
||||
<dependencies>
|
||||
|
|
Loading…
Reference in New Issue