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 4e7aef6de8
commit aa23b383ed
3 changed files with 8 additions and 1 deletions

View File

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

View File

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

View File

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