Skip to content

Commit 5c492d0

Browse files
[MASSEMBLY-843] Make finalName parameter as writable
1 parent b2c52bd commit 5c492d0

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/org/apache/maven/plugins/assembly/mojos/AbstractAssemblyMojo.java

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,11 @@ public abstract class AbstractAssemblyMojo extends AbstractMojo implements Assem
130130
private File outputDirectory;
131131

132132
/**
133-
* The filename of the assembled distribution file.
133+
* The filename of the assembled distribution file.<br/>
134+
* <b>NOTE:</b> This parameter has only impact on name in project target directory,
135+
* installed/deployed artifacts will follow convention for artifact names.
134136
*/
135-
@Parameter(defaultValue = "${project.build.finalName}", required = true, readonly = true)
137+
@Parameter(defaultValue = "${project.build.finalName}", required = true)
136138
private String finalName;
137139

138140
/**

0 commit comments

Comments
 (0)