[ 
http://jira.codehaus.org/browse/MTOMCAT-74?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=251432#action_251432
 ] 

Olivier Lamy commented on MTOMCAT-74:
-------------------------------------

To be honest, I would prefer to have a separate mojo for this use case.
To be able to use from cli, I imagine something like (probably a new mojo to 
add) :
{code}
mvn tomcat tomcat:run-war -DwarArtifact=groupId:artifactId:version
{code}

> Deploy war type plugin dependencies with tomcat:run
> ---------------------------------------------------
>
>                 Key: MTOMCAT-74
>                 URL: http://jira.codehaus.org/browse/MTOMCAT-74
>             Project: Maven 2.x Tomcat Plugin
>          Issue Type: Improvement
>    Affects Versions: 1.1
>         Environment: all
>            Reporter: Ryan Connolly
>         Attachments: tomcat-run-pluginDependency-war-deployment.patch
>
>   Original Estimate: 1 hour
>  Remaining Estimate: 1 hour
>
> It would be nice to be able to run a war file in the embedded container 
> alongside the current war project being developed.  As 
> addContextWarDependencies only looks at project dependencies and not those 
> configured as plugin dependencies it may be worthwhile to add another option 
> for deploying these types: addContextWarPluginDependencies.
> An example configuration may resemble the following:
> {code:language=xml}
> <plugin>
>   <groupId>org.codehaus.mojo</groupId>
>   <artifactId>tomcat-maven-plugin</artifactId>
>   <configuration>
>     <addContextWarPluginDependencies>true</addContextWarPluginDependencies>
>     <path>/</path>
>   </configuration>
>   <dependencies>
>     <dependency>
>       <groupId>my.groupId</groupId>
>       <artifactId>mywar-artifact</artifactId>
>       <version>1.0</version>
>       <type>war</type>
>     </dependency>
>   </dependencies>
> </plugin>
> {code}

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

---------------------------------------------------------------------
To unsubscribe from this list, please visit:

    http://xircles.codehaus.org/manage_email


Reply via email to