You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Kevin Clark (JIRA)" <ji...@codehaus.org> on 2009/12/01 20:25:55 UTC

[jira] Created: (MWAR-214) does not correctly parse comma delimited jars when using a string newline char (i.e. '\')

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

The following will not
<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>

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

        

[jira] Commented: (MWAR-214) does not correctly parse comma delimited jars when using a string newline char (i.e. '\')

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
    [ 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

        

[jira] Updated: (MWAR-214) does not correctly parse comma delimited jars when using a string newline char (i.e. '\')

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MWAR-214?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg updated MWAR-214:
---------------------------------

    Description: 
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.

  was:
The following works -
<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>

The following will not
<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>

In some large builds many repeat JARs need to be filtered out. A newline char capability would make the pom.xml more readable.


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