mirror of https://github.com/apache/maven.git
fixed wrong UT for implementation configuration
git-svn-id: https://svn.apache.org/repos/asf/maven/maven-3/trunk@1185847 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
30fa786338
commit
47be798d5b
|
@ -94,13 +94,13 @@ 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 );
|
||||
|
||||
assertEquals( "finalName", mp.getName() );
|
||||
assertEquals( "jarName", mp.getAlias() );
|
||||
assertEquals( "java.lang.String", mp.getType() );
|
||||
assertEquals( "java.lang.String", mp.getImplementation() );
|
||||
assertEquals( true, mp.isEditable() );
|
||||
assertEquals( false, mp.isRequired() );
|
||||
assertEquals( "parameter-description", mp.getDescription() );
|
||||
|
|
|
@ -35,6 +35,7 @@
|
|||
<name>finalName</name>
|
||||
<alias>jarName</alias>
|
||||
<type>java.lang.String</type>
|
||||
<implementation>java.lang.String</implementation>
|
||||
<required>false</required>
|
||||
<editable>true</editable>
|
||||
<description>parameter-description</description>
|
||||
|
@ -42,7 +43,7 @@
|
|||
</parameter>
|
||||
</parameters>
|
||||
<configuration>
|
||||
<finalName implementation="java.lang.String" default-value="${project.build.finalName}">${jar.finalName}</finalName>
|
||||
<finalName default-value="${project.build.finalName}">${jar.finalName}</finalName>
|
||||
</configuration>
|
||||
<requirements>
|
||||
<requirement>
|
||||
|
|
Loading…
Reference in New Issue