maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julio Palma Vázquez (JIRA) <j...@codehaus.org>
Subject [jira] (MWAR-310) Enable skip overlays from command line
Date Tue, 04 Feb 2014 13:37:57 GMT

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

Julio Palma Vázquez updated MWAR-310:
-------------------------------------

    Summary: Enable skip overlays from command line  (was: Enable skip tests from command
line)

> Enable skip overlays from command line
> --------------------------------------
>
>                 Key: MWAR-310
>                 URL: https://jira.codehaus.org/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.1.6#6162)

Mime
View raw message