You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Julio Palma Vázquez (JIRA)" <ji...@codehaus.org> on 2014/01/31 12:30:57 UTC

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

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

             Summary: Enable skip tests 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)