[
http://jira.codehaus.org/browse/MWAR-227?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Dennis Lundberg updated MWAR-227:
---------------------------------
Description:
Specifically, when using
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>, the jars are
correctly excluded from the packaged form of the war, but still present in the
exploded form.
Both forms should have identical content and should be totally interchangable.
This also means that there is no possible way to exclude jars from an exploded
webapp.
As a workaround, I also attempted this:
{code:xml}
<resource>
<excludes>
<exclude>WEB-INF/lib/*.jar</exclude>
</excludes>
</resource>
{code}
But just got an exception thrown for my efforts...
was:
Specifically, when using
<packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>, the jars are
correctly excluded from the packaged form of the war, but still present in the
exploded form.
Both forms should have identical content and should be totally interchangable.
This also means that there is no possible way to exclude jars from an exploded
webapp.
As a workaround, I also attempted this:
<resource>
<excludes>
<exclude>WEB-INF/lib/*.jar</exclude>
</excludes>
</resource>
But just got an exception thrown for my efforts...
> packaged (war:war) and exploded (war:expanded) webapps have different content
> -----------------------------------------------------------------------------
>
> Key: MWAR-227
> URL: http://jira.codehaus.org/browse/MWAR-227
> Project: Maven 2.x WAR Plugin
> Issue Type: Bug
> Affects Versions: 2.1-beta-1
> Reporter: Kevin Wright
> Priority: Critical
>
> Specifically, when using
> <packagingExcludes>WEB-INF/lib/*.jar</packagingExcludes>, the jars are
> correctly excluded from the packaged form of the war, but still present in
> the exploded form.
> Both forms should have identical content and should be totally
> interchangable. This also means that there is no possible way to exclude
> jars from an exploded webapp.
> As a workaround, I also attempted this:
> {code:xml}
> <resource>
> <excludes>
> <exclude>WEB-INF/lib/*.jar</exclude>
> </excludes>
> </resource>
> {code}
> But just got an exception thrown for my efforts...
--
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