Once the plugin merging is done correctly outside the plugin manger
this processing will take into account all the methods commented out
at the bottom of the class. Need to look at required/editable/default
values for each parameter.
On 3-May-09, at 4:02 PM, [email protected] wrote:
Author: bentmann
Date: Sun May 3 23:02:14 2009
New Revision: 771143
URL: http://svn.apache.org/viewvc?rev=771143&view=rev
Log:
o Fixed conversion of default value for plugin configuration
Modified:
maven/components/branches/MNG-2766/maven-core/src/main/java/org/
apache/maven/lifecycle/DefaultLifecycleExecutor.java
Modified: maven/components/branches/MNG-2766/maven-core/src/main/
java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java
URL:
http://svn.apache.org/viewvc/maven/components/branches/MNG-2766/maven-core/src/main/java/org/apache/maven/lifecycle/DefaultLifecycleExecutor.java?rev=771143&r1=771142&r2=771143&view=diff
=
=
=
=
=
=
=
=
======================================================================
--- maven/components/branches/MNG-2766/maven-core/src/main/java/org/
apache/maven/lifecycle/DefaultLifecycleExecutor.java (original)
+++ maven/components/branches/MNG-2766/maven-core/src/main/java/org/
apache/maven/lifecycle/DefaultLifecycleExecutor.java Sun May 3
23:02:14 2009
@@ -598,7 +598,12 @@
{
Xpp3Dom e = new Xpp3Dom( ce.getName() );
e.setValue( ce.getValue( null ) );
- dom.addChild( e );
+ String defaultValue = ce.getAttribute( "default-
value", null );
+ if ( defaultValue != null )
+ {
+ e.setAttribute( "default-value", defaultValue );
+ }
+ dom.addChild( e );
}
}
Thanks,
Jason
----------------------------------------------------------
Jason van Zyl
Founder, Apache Maven
http://twitter.com/jvanzyl
http://twitter.com/SonatypeNexus
http://twitter.com/SonatypeM2E
----------------------------------------------------------
A party which is not afraid of letting culture,
business, and welfare go to ruin completely can
be omnipotent for a while.
-- Jakob Burckhardt
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]