Why are you changing core code in the RC branch after we have started
the RC cycle?
Can we please leave the code alone in RCs and use the 2.1.x branch for
any non-regression related changes.
On 17-Mar-09, at 4:39 AM, [email protected] wrote:
Author: brett
Date: Tue Mar 17 11:39:18 2009
New Revision: 755199
URL: http://svn.apache.org/viewvc?rev=755199&view=rev
Log:
[MNG-4091] remove the listener for effeciency
Modified:
maven/components/branches/maven-2.1.0-RC/maven-core/src/main/java/
org/apache/maven/plugin/DefaultPluginManager.java
Modified: maven/components/branches/maven-2.1.0-RC/maven-core/src/
main/java/org/apache/maven/plugin/DefaultPluginManager.java
URL:
http://svn.apache.org/viewvc/maven/components/branches/maven-2.1.0-RC/maven-core/src/main/java/org/apache/maven/plugin/DefaultPluginManager.java?rev=755199&r1=755198&r2=755199&view=diff
=
=
=
=
=
=
=
=
======================================================================
--- maven/components/branches/maven-2.1.0-RC/maven-core/src/main/
java/org/apache/maven/plugin/DefaultPluginManager.java (original)
+++ maven/components/branches/maven-2.1.0-RC/maven-core/src/main/
java/org/apache/maven/plugin/DefaultPluginManager.java Tue Mar 17
11:39:18 2009
@@ -306,6 +306,10 @@
Collections.EMPTY_MAP,
Arrays.asList( new ComponentDiscoveryListener[] { validator,
pluginCollector } ) );
+ // remove listeners for efficiency since they are only
needed for the initial stage and
+ // should not be applied to the plugin's dependencies
+ child.removeComponentDiscoveryListener( validator );
+
if ( validator.hasErrors() )
{
String msg = "Plugin '" + key + "' has an invalid
descriptor:";
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
----------------------------------------------------------
believe nothing, no matter where you read it,
or who has said it,
not even if i have said it,
unless it agrees with your own reason
and your own common sense.
-- Buddha
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]