You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Karl Heinz Marbaise (JIRA)" <ji...@apache.org> on 2016/01/27 17:07:39 UTC

[jira] [Updated] (MWAR-310) Enable skip overlays from command line

     [ https://issues.apache.org/jira/browse/MWAR-310?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karl Heinz Marbaise updated MWAR-310:
-------------------------------------
    Fix Version/s:     (was: 3.0.0)

> Enable skip overlays from command line
> --------------------------------------
>
>                 Key: MWAR-310
>                 URL: https://issues.apache.org/jira/browse/MWAR-310
>             Project: Maven WAR Plugin
>          Issue Type: New Feature
>          Components: overlay
>    Affects Versions: 2.4, 2.5
>         Environment: N/A
>            Reporter: Julio Palma Vázquez
>            Priority: Minor
>
> Sometimes I need to skip the overlay plugin execution but I don't want to change all my (about one hundred) pom.xml files.
> I've done this modifing Overlay.java class as below:
>     private boolean skip = true;
> But I think you could find a more elegant solution such as adding a parameter:
>     import org.apache.maven.plugins.annotations.Parameter;
>     [...]
>     @Parameter( property = "skipOverlays", defaultValue = "false" )
>     private boolean skip;
> I've tested this code but for some reason (yes, I know, is my fault) it doesn't work, and unfortunatelly I have no more time to spend in this task.
> Please, don't let my stupidity prevents you to consider this improvement.
> Best Regards,



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)