[
http://jira.codehaus.org/browse/MWAR-127?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Stephane Nicoll closed MWAR-127.
--------------------------------
Assignee: Stephane Nicoll
Resolution: Cannot Reproduce
Not a bug.
You're using src/main/webapp as a web resources. Web resources are meant to be
*ADDITIONAL* directories of src/main/webapp that you want to copy to the
generated webapp.
Use warSourceExcludes (comma separated list so something like
WEB-INF/classes/** will do.
> exclude option does not work when an external app places files into location
> ----------------------------------------------------------------------------
>
> Key: MWAR-127
> URL: http://jira.codehaus.org/browse/MWAR-127
> Project: Maven 2.x War Plugin
> Issue Type: Bug
> Affects Versions: 2.1-alpha-1
> Environment: Maven version: 2.0.7
> Java version: 1.5.0_11
> OS name: "windows 2000" version: "5.0" arch: "x86"
> Reporter: Jim Sellers
> Assignee: Stephane Nicoll
> Attachments: WarPluginIssue.zip
>
>
> In MyEclipse I set the source output to be src/main/webapp/WEB-INF/classes to
> allow me to use the hotdeploy feature. This deploys both the test classes /
> resources as well as everything in src/main to the war.
> When I package up my ear / war for a release, I don't want anything that
> eclipse put into src/main/webapp/WEB-INF/classes to be copied over, however I
> can't get the exclude to work.
> I've asked on the mailing list and tried the suggestions there, but none seem
> to work. I've attached a simple project to demo the problem. Just run mvn
> package.
> Thanks for your time!
--
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