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

Wendy Smoak updated CONTINUUM-1801:
-----------------------------------

    Fix Version/s: 1.x

Is this still a problem with the latest release?

Can someone attach a sample project that will demonstrate the problem?

> 20 or more exclusions from a Maven 2 transitive dependency results in build 
> error
> ---------------------------------------------------------------------------------
>
>                 Key: CONTINUUM-1801
>                 URL: http://jira.codehaus.org/browse/CONTINUUM-1801
>             Project: Continuum
>          Issue Type: Bug
>          Components: Integration - Maven 2
>    Affects Versions: 1.1
>         Environment: Linux 
>            Reporter: Chris Rompot
>            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

        

Reply via email to