[ 
https://issues.apache.org/jira/browse/MTOMCAT-239?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Romain Manni-Bucau updated MTOMCAT-239:
---------------------------------------

    Attachment: jart7.zip

Attaching jart7.zip project showing the issue(s).

First src/main/webapp looks mandatory,
Then ServletContainerInitializer are ignored,
Finally META-INF/resources are ignored.

If the packaging type if jar replacing src/main/webapp by 
src/main/resources/META-INF/resources would help and using target/classes as 
WEB-INF/classes would solve everything. An alternative would be to use the 
package jar and add it in the WebappClassLoader. The first one is better since 
it allows hot redeployment of resources ;)
                
> jar can't use tomcat maven plugin
> ---------------------------------
>
>                 Key: MTOMCAT-239
>                 URL: https://issues.apache.org/jira/browse/MTOMCAT-239
>             Project: Apache Tomcat Maven Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Romain Manni-Bucau
>         Attachments: jart7.zip
>
>


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