restored attribute removed in r1185847 since it is generated by maven-plugin-tools-java

git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1187949 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Herve Boutemy 2011-10-23 19:02:21 +00:00
parent 552fc37293
commit ee2e824d3e
3 changed files with 8 additions and 1 deletions

View File

@ -430,6 +430,12 @@ under the License.
<type>String</type>
<description>Parameter expression.</description>
</field>
<field xml.attribute="true" xml.tagName="implementation">
<name>implementation</name>
<version>1.0.0</version>
<type>String</type>
<description></description>
</field>
<field xml.attribute="true" xml.tagName="default-value">
<name>defaultValue</name>
<version>1.0.0</version>

View File

@ -94,6 +94,7 @@ public class PluginDescriptorBuilderTest
assertEquals( "${jar.finalName}", pc.getValue() );
assertEquals( "${project.build.finalName}", pc.getAttribute( "default-value" ) );
assertEquals( "java.lang.String", pc.getAttribute( "implementation" ) );
Parameter mp = md.getParameters().get( 0 );

View File

@ -43,7 +43,7 @@
</parameter>
</parameters>
<configuration>
<finalName default-value="${project.build.finalName}">${jar.finalName}</finalName>
<finalName implementation="java.lang.String" default-value="${project.build.finalName}">${jar.finalName}</finalName>
</configuration>
<requirements>
<requirement>