This is an automated email from the ASF dual-hosted git repository. sjaranowski pushed a commit to branch MASSEMBLY-843 in repository https://gitbox.apache.org/repos/asf/maven-assembly-plugin.git
commit 5f692c16828e28c5d6d435d3bc385dcc948c615b Author: Slawomir Jaranowski <[email protected]> AuthorDate: Fri Apr 28 07:58:52 2023 +0200 [MASSEMBLY-843] Make finalName parameter as writable --- .../apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java index fcc6dcb1..466234d2 100644 --- a/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java +++ b/src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java @@ -130,9 +130,11 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem private File outputDirectory; /** - * The filename of the assembled distribution file. + * The filename of the assembled distribution file.<br/> + * <b>NOTE:</b> This parameter has only impact on name in project target directory, + * installed/deployed artifacts will follow convention for artifact names. */ - @Parameter(defaultValue = "${project.build.finalName}", required = true, readonly = true) + @Parameter(defaultValue = "${project.build.finalName}", required = true) private String finalName; /**
