[
http://jira.codehaus.org/browse/MWAR-120?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_108226
]
Aaron Digulla commented on MWAR-120:
------------------------------------
The affected version is 2.0.2.
What puzzles me is the log output of maven:
{code}
> mvn war:war -X
...
[DEBUG] Configuring mojo 'org.apache.maven.plugins:maven-war-plugin:2.0.2:war' -
->
[DEBUG] (f) archiveClasses = false
[DEBUG] (s) classesDirectory = D:\workspace-3.3\context-bug\target\classes
[DEBUG] (s) containerConfigXML = D:\workspace-3.3\context-bug\src\main\webapp\
META-INF\context.xml
[DEBUG] (f) filters = []
[DEBUG] (f) outputDirectory = D:\workspace-3.3\context-bug\target
[DEBUG] (f) primaryArtifact = true
[DEBUG] (s) project = [EMAIL PROTECTED]
[DEBUG] (f) warName = dummy
[DEBUG] (s) warSourceDirectory = D:\workspace-3.3\context-bug\src\main\webapp
[DEBUG] (f) warSourceExcludes = WEB-INF/platform/configuration/org.eclipse.osg
i/**,WEB-INF/platform/configuration/org.eclipse.core.runtime/**,WEB-INF/platform
/configuration/org.eclipse.update/**
[DEBUG] (s) directory = D:\workspace-3.3\context-bug/src/main/webapp
[DEBUG] (s) filtering = true
[DEBUG] (s) includes = [*.html, **/*.xml]
[DEBUG] (s) excludes = [**/alreportbuild.xml, **/tevbuild.xml, **/web.xml, **/
*.jsp, **/org.eclipse.update/**]
[DEBUG] (f) webResources = [Lorg.apache.maven.model.Resource;@cf66b
[DEBUG] (s) webappDirectory = D:\workspace-3.3\context-bug\target\context-bug-
0.0.1
[DEBUG] (f) workDirectory = D:\workspace-3.3\context-bug\target\war\work
[DEBUG] -- end configuration --
[INFO] [war:war]
[INFO] Exploding webapp...
[INFO] Assembling webapp context-bug in D:\workspace-3.3\context-bug\target\cont
ext-bug-0.0.1
[INFO] Copy webapp webResources to D:\workspace-3.3\context-bug\target\context-b
ug-0.0.1
[INFO] Copy webapp webResources to D:\workspace-3.3\context-bug\target\context-b
ug-0.0.1
[INFO] Generating war D:\workspace-3.3\context-bug\target\dummy.war
[INFO] Building war: D:\workspace-3.3\context-bug\target\dummy.war
[DEBUG] adding directory META-INF/
[DEBUG] adding entry META-INF/MANIFEST.MF
[DEBUG] adding directory WEB-INF/
[DEBUG] adding entry WEB-INF/web.xml
[DEBUG] adding directory META-INF/maven/
[DEBUG] adding directory META-INF/maven/context-bug/
[DEBUG] adding directory META-INF/maven/context-bug/context-bug/
[DEBUG] adding entry META-INF/maven/context-bug/context-bug/pom.xml
[DEBUG] adding entry META-INF/maven/context-bug/context-bug/pom.properties
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] ------------------------------------------------------------------------
{code}
Obviously, the option is recognized, the file is also copied into
target/context-bug-0.0.1/META-INF/ but it's ignored when the WAR is built.
> Option containerConfigXML doesn't work
> --------------------------------------
>
> Key: MWAR-120
> URL: http://jira.codehaus.org/browse/MWAR-120
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Reporter: Aaron Digulla
> Attachments: context-bug.zip
>
>
> The file specified with containerConfigXML is copied to the exploded WAR
> directory but it will not end up in the final WAR.
--
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