[ 
https://jira.codehaus.org/browse/MWAR-299?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=323078#comment-323078
 ] 

Dennis Lundberg commented on MWAR-299:
--------------------------------------

Let me see if I understand what it is you are expecting:

The tools module contains a resource "context.xml".
The warChild module dependes on tools and has containerConfigXML configured.

The configuration parameter containerConfigXML is of type File, so it will not 
find your context.xml file since it is inside a dependency. For this to work 
you would need to unpack the tools jar before the WAR Plugin is run. The WAR 
Plugin does not handle dependencies that includes configuration files like the 
Checkstyle and PMD plugins do.
                
> containerConfigXML into dependency not imported
> -----------------------------------------------
>
>                 Key: MWAR-299
>                 URL: https://jira.codehaus.org/browse/MWAR-299
>             Project: Maven 2.x WAR Plugin
>          Issue Type: Bug
>            Reporter: Lefebvre JF
>         Attachments: wsMWAR-299.zip
>
>
> I have a build module wich include checkstyle, pmd config and a context.xml 
> file.
> Even if I add the dependency to my module into war plugin, my context file is 
> not added to the generated war.

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

Reply via email to