[
https://issues.apache.org/jira/browse/MASSEMBLY-843?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17716368#comment-17716368
]
Slawomir Jaranowski commented on MASSEMBLY-843:
-----------------------------------------------
Because {{build/finalName}} and plugin {{configuration/finalName}} have only
impact on generated items in target - I'm for relax this restrictions and
simply allow to be writable.
Given example looks for me as reasonable for it:
https://issues.apache.org/jira/browse/MASSEMBLY-845?focusedCommentId=17685939&page=com.atlassian.jira.plugin.system.issuetabpanels%3Acomment-tabpanel#comment-17685939
> finalName as readonly parameter makes common usecases very complicated
> ----------------------------------------------------------------------
>
> Key: MASSEMBLY-843
> URL: https://issues.apache.org/jira/browse/MASSEMBLY-843
> Project: Maven Assembly Plugin
> Issue Type: Bug
> Affects Versions: 3.0.0
> Reporter: Ulf Dreyer
> Priority: Major
>
> The "improvement" done in MASSEMBLY-817 makes some usecases very inconvenient:
> We need to create an archive with one stable name (independent of e.g.
> version) so we don't have to propagate these information to a bunch of
> scripts.
> The general solution (i.e. Stack-overflow) refers exactly to the finalName:
> [http://stackoverflow.com/questions/20697144/can-not-set-the-final-jar-name-with-maven-assembly-plugin]
> *Please change finalName back to a settable property.*
> It being settable does not hurt anyone satisfied with the default naming
> convention but makes some usecases vastly simpler (otherwise you have to
> rename the artifact using yet another plugin or propagate version info
> possibly through a chain of scripts)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)