You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Florian Lieb (JIRA)" <ji...@apache.org> on 2018/07/09 07:09:00 UTC

[jira] [Commented] (MWAR-373) Make finalName readonly parameter

    [ https://issues.apache.org/jira/browse/MWAR-373?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16536595#comment-16536595 ] 

Florian Lieb commented on MWAR-373:
-----------------------------------

What was the intention of doing that? Why is it bad to define the file-name via plugin configuration?

> Make finalName readonly parameter
> ---------------------------------
>
>                 Key: MWAR-373
>                 URL: https://issues.apache.org/jira/browse/MWAR-373
>             Project: Maven WAR Plugin
>          Issue Type: Improvement
>    Affects Versions: 3.0.0
>            Reporter: Karl Heinz Marbaise
>            Assignee: Karl Heinz Marbaise
>            Priority: Minor
>             Fix For: 3.0.0
>
>
> We should make the parameter readonly and remove the property.
> {code:java}
>  @Parameter( defaultValue = "${project.build.finalName}", property = "war.warName", required = true )
> {code}
> into:
> {code:java}
>  @Parameter( defaultValue = "${project.build.finalName}", required = true, readonly = true )
> {code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)