diff --git a/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java b/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java index b3850f47a0..0e1a491f91 100644 --- a/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java +++ b/maven-plugin/src/main/java/org/apache/maven/plugin/descriptor/PluginDescriptor.java @@ -16,6 +16,7 @@ package org.apache.maven.plugin.descriptor; * limitations under the License. */ +import java.util.LinkedList; import java.util.List; /** @@ -40,6 +41,10 @@ public class PluginDescriptor { return mojos; } + + public void setMojos(List mojos) { + this.mojos = new LinkedList(mojos); + } public String getId() { @@ -59,6 +64,10 @@ public class PluginDescriptor { return dependencies; } + + public void setDependencies(List dependencies) { + this.dependencies = new LinkedList(dependencies); + } public boolean isIsolatedRealm() {