mirror of https://github.com/apache/maven.git
[MNG-3947] [regression] Configuration of plugin execution with id "default" pollutes configuration of standalone plugin execution from CLI
git-svn-id: https://svn.apache.org/repos/asf/maven/components/trunk@752224 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
3b26d6bfa6
commit
8e33ad0cef
|
@ -612,7 +612,6 @@
|
||||||
<name>executionId</name>
|
<name>executionId</name>
|
||||||
<version>1.0.0</version>
|
<version>1.0.0</version>
|
||||||
<identifier>true</identifier>
|
<identifier>true</identifier>
|
||||||
<defaultValue>default</defaultValue>
|
|
||||||
<description>A name for this mojo binding, for purposes of merging configurations via inheritance, etc.</description>
|
<description>A name for this mojo binding, for purposes of merging configurations via inheritance, etc.</description>
|
||||||
<type>String</type>
|
<type>String</type>
|
||||||
</field>
|
</field>
|
||||||
|
|
|
@ -672,7 +672,7 @@ public class LifecycleUtilsTest
|
||||||
assertEquals( "group", binding2.getGroupId() );
|
assertEquals( "group", binding2.getGroupId() );
|
||||||
assertEquals( "artifact", binding2.getArtifactId() );
|
assertEquals( "artifact", binding2.getArtifactId() );
|
||||||
assertEquals( "version", binding2.getVersion() );
|
assertEquals( "version", binding2.getVersion() );
|
||||||
assertEquals( "default", binding2.getExecutionId() );
|
assertEquals( binding.getExecutionId(), binding2.getExecutionId() );
|
||||||
}
|
}
|
||||||
|
|
||||||
public void testAddMojoBinding_LifecycleBinding_AddOneMojoBindingToEmptyLifecycle()
|
public void testAddMojoBinding_LifecycleBinding_AddOneMojoBindingToEmptyLifecycle()
|
||||||
|
|
Loading…
Reference in New Issue