[
http://jira.codehaus.org/browse/MWAR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=231769#action_231769
]
Dennis Lundberg commented on MWAR-214:
--------------------------------------
Why don't you just add a regular line break, i.e. without the '\' character?
Doesn't that work?
{code:xml}
<packagingExcludes>
WEB-INF/lib/activation-1.0.2.jar,WEB-INF/lib/activation-1.1.jar,WEB-INF/lib/cglib-2.1_3.jar,
WEB-INF/lib/bcprov-jdk14-119.jar
</packagingExcludes>
{code}
> <packagingExcludes> does not correctly parse comma delimited jars when using
> a string newline char (i.e. '\')
> -------------------------------------------------------------------------------------------------------------
>
> Key: MWAR-214
> URL: http://jira.codehaus.org/browse/MWAR-214
> Project: Maven 2.x WAR Plugin
> Issue Type: Improvement
> Reporter: Kevin Clark
>
> The following works -
> {code:xml}
> <packagingExcludes>
>
> WEB-INF/lib/activation-1.0.2.jar,WEB-INF/lib/activation-1.1.jar,WEB-INF/lib/cglib-2.1_3.jar,WEB-INF/lib/bcprov-jdk14-119.jar
> </packagingExcludes>
> {code}
> The following will not
> {code:xml}
> <packagingExcludes>
>
> WEB-INF/lib/activation-1.0.2.jar,WEB-INF/lib/activation-1.1.jar,WEB-INF/lib/cglib-2.1_3.jar,\
> WEB-INF/lib/bcprov-jdk14-119.jar
> </packagingExcludes>
> {code}
> In some large builds many repeat JARs need to be filtered out. A newline char
> capability would make the pom.xml more readable.
--
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