You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@continuum.apache.org by "gulu tourist (JIRA)" <ji...@codehaus.org> on 2008/11/25 12:26:19 UTC

[jira] Closed: (CONTINUUM-1993) CLONE -20 or more exclusions from a Maven 2 transitive dependency results in build error

     [ http://jira.codehaus.org/browse/CONTINUUM-1993?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

gulu tourist closed CONTINUUM-1993.
-----------------------------------

    Resolution: Fixed

> CLONE -20 or more exclusions from a Maven 2 transitive dependency results in build error
> ----------------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1993
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1993
>             Project: Continuum
>          Issue Type: Bug
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>         Environment: Linux 
>            Reporter: gulu tourist
>            Priority: Minor
>             Fix For: 1.x
>
>
> When building a Maven 2 project with 20 or more exclusions from a dependency, that project builds correctly. 
> For example,
> <dependency>
>          <groupId>org.springmodules</groupId>
>          <artifactId>spring-modules-cache</artifactId>
>          <version>0.8a</version>
>          <exclusions>
>             <exclusion>
>                <groupId>gigaspaces</groupId>            
>                <artifactId>gigaspaces-ce</artifactId>
>             </exclusion>
>            ... many more exclusions
> build correctly for a project.
> When this first project is a dependency of another project, the second project's build fails with an error similar to the following:
> [ERROR] BUILD ERROR
> [INFO] ------------------------------------------------------------------------
> [INFO] Error building POM (may not be this project's POM).
> Project ID: com.pearson.rase:test-management-gateway-client
> Reason: Failed to build model from file '/home/bbuilder/.m2/repository/com/pearson/rase/test-management-gateway-client/1.0.0/test-management-gateway-client-1.0.0.pom'.
> Error: 'no more data available - expected end tags &lt;/exclusion&gt;&lt;/exclusions&gt;&lt;/dependency&gt;&lt;/dependencies&gt;&lt;/project&gt; to close start tag &lt;exclusion&gt; from line 106 and start tag &lt;exclusions&gt; from line 28 and start tag &lt;dependency&gt; from line 24 and start tag &lt;dependencies&gt; from line 22 and start tag &lt;project&gt; from line 1, parser stopped on END_TAG seen ...&lt;groupId&gt;opensymphony&lt;/groupId&gt;\n          ... @108:11' for project com.pearson.rase:test-management-gateway-client
> This error disappears once the number of exclusions in the first project's dependency is reduced to 19 or less.

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