[ 
https://issues.apache.org/jira/browse/MTOMCAT-196?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13552545#comment-13552545
 ] 

Guillaume Soing commented on MTOMCAT-196:
-----------------------------------------

Hi,

you are right this case is only for the the exec-war and exec-war-only goals.

Here my situation, I want to package several wars in one exec-war, so I have 
created a pom project which depends on these 2 wars and use the 
tomcat7-maven-plugin. The version of my war are declared in the 
dependencyManagement of my parent pom. That give me the following structure :
parent project 
  -> project war 1
  -> project war 2
  -> packaging project and tomcat plugin 

This way when I release the parent all the versions are correctly set (which is 
not the case if I use a property). The warRunDependcy needs a version number, 
so when i release my project the versiond of my wars are not change in the 
plugin configuration.

And it's the same when i use the extraDependency (which include some library to 
the tomcat like the database driver or some specific stuffs).


                
> Add the possiblilty to search warRunDepencies and extraDependcies throug the 
> dependencyManagement
> -------------------------------------------------------------------------------------------------
>
>                 Key: MTOMCAT-196
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-196
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Improvement
>          Components: tomcat7
>    Affects Versions: 2.0
>            Reporter: Guillaume Soing
>            Assignee: Olivier Lamy (*$^¨%`£)
>              Labels: features
>
> It wiil be nice to do not specify the version of the warRunDepency and 
> extraDependency,  it will be easier to handle war version during the release 
> process. 

--
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