Specific dependencies list makes the embedder to set 'varsionRange' for one of them to 'null' ---------------------------------------------------------------------------------------------
Key: MNG-3386 URL: http://jira.codehaus.org/browse/MNG-3386 Project: Maven 2 Issue Type: Bug Components: Artifacts and Repositories Affects Versions: 2.1 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 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