From ee2e824d3e56d2d04b393946dc44281b36ed5490 Mon Sep 17 00:00:00 2001 From: Herve Boutemy Date: Sun, 23 Oct 2011 19:02:21 +0000 Subject: [PATCH] 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 --- maven-plugin-api/src/main/mdo/plugin.mdo | 6 ++++++ .../plugin/descriptor/PluginDescriptorBuilderTest.java | 1 + maven-plugin-api/src/test/resources/plugin.xml | 2 +- 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/maven-plugin-api/src/main/mdo/plugin.mdo b/maven-plugin-api/src/main/mdo/plugin.mdo index 8eae096efb..5af6aca4fc 100644 --- a/maven-plugin-api/src/main/mdo/plugin.mdo +++ b/maven-plugin-api/src/main/mdo/plugin.mdo @@ -430,6 +430,12 @@ under the License. String Parameter expression. + + implementation + 1.0.0 + String + + defaultValue 1.0.0 diff --git a/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java b/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java index 89b48907b8..5fbf76e001 100644 --- a/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java +++ b/maven-plugin-api/src/test/java/org/apache/maven/plugin/descriptor/PluginDescriptorBuilderTest.java @@ -94,6 +94,7 @@ public void testBuildReader() 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 ); diff --git a/maven-plugin-api/src/test/resources/plugin.xml b/maven-plugin-api/src/test/resources/plugin.xml index 40840b0ba1..c5d4e8a467 100644 --- a/maven-plugin-api/src/test/resources/plugin.xml +++ b/maven-plugin-api/src/test/resources/plugin.xml @@ -43,7 +43,7 @@ - ${jar.finalName} + ${jar.finalName}