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

Glen Mazza commented on MTOMCAT-196:
------------------------------------

You can still define properties in parent POMs of course: <properties> 
<my.lib.version>3.2</my.lib.version> </properties>, then use 
<version>${my.lib.version}</version>.

I believe Guillaume is referring to the exec-war and exec-war-only goals, as 
those seem to be the only two with those options.  I don't know what the 
difference is between warRunDependency and extraDependency (the docs don't 
define the former: 
http://tomcat.apache.org/maven-plugin-2.1-SNAPSHOT/tomcat7-maven-plugin/exec-war-mojo.html.)
   Also, I'm not sure what types of dependencies would need to be placed in the 
Tomcat root classloader and not just with the web application itself (i.e., 
can't Guillaume just declare these as normal <dependencies/> within the WAR so 
the version numbers can be taken care of that way?)  Although this suggestion 
does have merit, arguably it may not be worth the effort if it is so rarely 
used and <properties/> can be used instead, further, as a drawback it might 
cause more people to incorrectly over-use this functionality instead of 
properly defining the <dependencies/> with the WAR itself.
                
> 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