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)