continuum-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Venisse (JIRA)" <j...@codehaus.org>
Subject [jira] Commented: (CONTINUUM-1801) 20 or more exclusions from a Maven 2 transitive dependency results in build error
Date Wed, 18 Jun 2008 08:30:26 GMT

    [ http://jira.codehaus.org/browse/CONTINUUM-1801?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=138903#action_138903
] 

Emmanuel Venisse commented on CONTINUUM-1801:
---------------------------------------------

Is it an issue with maven or with Continuum?
Can you attach your logs?

Maven2 version?

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

        

Mime
View raw message