*** empty log message ***

git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@163279 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Jason van Zyl 2004-12-28 20:50:49 +00:00
parent 721ba85844
commit 153d46aa2f
3 changed files with 11 additions and 1 deletions

View File

@ -124,6 +124,14 @@ public class GoalAttainmentPhase
Object value = PluginParameterExpressionEvaluator.evaluate( expression, context );
if ( value == null )
{
if ( parameter.getDefaultValue() != null )
{
value = parameter.getDefaultValue();
}
}
map.put( key, value );
}

View File

@ -264,6 +264,8 @@ public abstract class AbstractGenerator
pd.setDescription( parameter.getNamedParameter( "description" ) );
pd.setDefaultValue( parameter.getNamedParameter( "default" ) );
parameters.add( pd );
}

View File

@ -152,7 +152,7 @@ public class PluginDescriptorGenerator
element( w, "description", parameter.getDescription() );
element( w, "defaultValue", parameter.getDefaultValue() );
element( w, "default", parameter.getDefaultValue() );
w.endElement();
}