diff --git a/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java b/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java index 0dda9f70cc..b26070df43 100755 --- a/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java +++ b/maven-plugins/maven-assembly-plugin/src/main/java/org/apache/maven/plugin/assembly/AssemblyMojo.java @@ -64,6 +64,7 @@ public class AssemblyMojo /** * @parameter expression="${basedir}" * @required + * @readonly */ private String basedir; @@ -86,11 +87,13 @@ public class AssemblyMojo /** * @parameter expression="${project.build.finalName}" * @required + * @readonly */ private String finalName; /** * @parameter expression="${project.artifacts}" + * @readonly */ private Set dependencies;