You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:45:14 UTC
[jira] (MNG-3386) Specific dependencies list makes the embedder to
set 'varsionRange' for one of them to 'null'
[ https://jira.codehaus.org/browse/MNG-3386?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Paul Benedict updated MNG-3386:
-------------------------------
Fix Version/s: (was: Issues to be reviewed for 3.x)
> Specific dependencies list makes the embedder to set 'varsionRange' for one of them to 'null'
> ---------------------------------------------------------------------------------------------
>
> Key: MNG-3386
> URL: https://jira.codehaus.org/browse/MNG-3386
> Project: Maven
> Issue Type: Bug
> Components: Artifacts and Repositories
> Affects Versions: 3.0
> Reporter: Anton Makeev
> Priority: Minor
>
> For the following project the embedder resolves a transitive dependency of 'ws-commons-util' named 'xml-apis:xml-apis:jar:1.0.b2:compile' and sets its 'versionRange' into null. I dunno wheither it's a bug or intended behaviour, but changing the order of dependencies or removing 'dom4j' seems to solve the problem.
> {code}
> <project xmlns="http://maven.apache.org/POM/4.0.0"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
> <modelVersion>4.0.0</modelVersion>
>
> <groupId>test</groupId>
> <artifactId>project</artifactId>
> <version>1</version>
> <dependencies>
> <dependency>
> <groupId>dom4j</groupId>
> <artifactId>dom4j</artifactId>
> <version>1.6.1</version>
> <scope>runtime</scope>
> </dependency>
> <dependency>
> <groupId>org.apache.ws.commons.util</groupId>
> <artifactId>ws-commons-util</artifactId>
> <version>1.0.2</version>
> </dependency>
> </dependencies>
> </project>
> {code}
--
This message was sent by Atlassian JIRA
(v6.1.6#6162)