Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0-beta-1
-
Fix Version/s: 1.0
-
Labels:None
-
Patch Submitted:Yes
-
Number of attachments :
Description
We are assembling our wars with the assembly plugin in a project that has pom packaging so we can not use the tomcat plugin to deploy our wars.
Pls. allow to configure overwriting the isWar() functionality checking the packaging:
E.G. change AbstractRunMojo.java with (i am not familiar with the patch format so here inline![]()
/** * If set to true ignore if packaging of project is not 'war'. * * @parameter expression="false" */ private boolean ignorePackaging; 221 /** 222 * Gets whether this project uses WAR packaging or if it shoud be ignored. 223 * 224 * @return whether this project uses WAR packaging or if it should be ignored. 225 */ 226 protected boolean isWar() 227 { 228 return "war".equals( packaging ) || ignorePackaging; 229 }
Sorry, but i did not recognized, that confluence formating is used so: