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

Mitch Kyle updated MTOMCAT-188:
-------------------------------

    Attachment: tomcat-maven-plugin_standalone-war-goal_05122012.patch

Here's a patch. You may want to change the name of the goal which I called 
standalone-war because I couldn't think of anything better. 
                
> Allow for the creation of a war that is both executable and deployable
> ----------------------------------------------------------------------
>
>                 Key: MTOMCAT-188
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-188
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.0-beta-1
>            Reporter: Mitch Kyle
>            Assignee: Olivier Lamy (*$^¨%`£)
>            Priority: Minor
>             Fix For: 2.1
>
>         Attachments: tomcat-maven-plugin_standalone-war-goal_05122012.patch
>
>
> Currently with the exec-war/-only goals, a jar or war is created that is 
> executable but not deployable to an existing tomcat meaning two release 
> artifacts would be required to take this approach.
> Ideally, a new goal would be added for creating war files that can be 
> deployed to an existing tomcat or excuted directly.
> Steps 
> a. Allow tomcat7-war-runner to copy the running war to the webapps folder if 
> some property is set
> b. Add a goal to build some war with tomcat7-war-runner overlayed and add a 
> manifest with main-class set.  
> If this sounds interesting, I can have a patch available soon and any 
> feedback would be great. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org

Reply via email to