Akbarr <[EMAIL PROTECTED]> writes:
> But I'm not sure whether it's an implemented feature or not. I have a POM
> with a dependency:
>
> <dependency>
> <groupId>com.digibis</groupId>
> <artifactId>digisqlhib</artifactId>
> <version>[1.3, ]</version>
> <optional></optional>
> </dependency>
>
>
>
Hello,
I also have troubles with dependencies range:
In my parent pom, I put :
<dependencyManagement>
<dependencies>
<dependency>
<groupId>commons-collections</groupId>
<artifactId>commons-collections</artifactId>
<version>(,3.0)</version>
</dependency>
</dependencies>
</dependencyManagement>
but mvn -X gives me:
[DEBUG] Using defaults for missing POM
commons-scxml:commons-scxml:pom:1.0-SNAPSHOT:compile
[DEBUG] commons-scxml:commons-scxml:jar:1.0-SNAPSHOT:compile (selected for
compile)
[DEBUG] fr.lifl:openjgraph:jar:0.9.6:compile (selected for compile)
[DEBUG] commons-digester:commons-digester:jar:1.7:compile (selected for
compile)
[DEBUG] commons-beanutils:commons-beanutils:jar:1.6:compile (selected for
compile)
[DEBUG] commons-logging:commons-logging:jar:1.0:compile (selected for
compile)
[DEBUG] commons-collections:commons-collections:jar:2.0:compile
(selected for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0:compile (selected for
compile)
[DEBUG] xml-apis:xml-apis:jar:1.0.b2:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:2.0:compile (removed
- nearer found: 2.1)
[DEBUG] commons-collections:commons-collections:jar:2.1:compile (selected
for compile)
[DEBUG] fr.lifl:parsing:jar:1.0:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:3.1:compile (removed
- nearer found: 2.1)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (removed -
nearer found: 1.0)
[DEBUG] junit:junit:jar:3.8.1:compile (selected for compile)
[DEBUG] junit:junit:jar:3.8.1:compile (selected for compile)
[DEBUG] fr.lifl:parsing:jar:1.0:compile (selected for compile)
[DEBUG] commons-collections:commons-collections:jar:2.1:compile (removed -
nearer found: 3.1)
[DEBUG] commons-collections:commons-collections:jar:3.1:compile (selected
for compile)
[DEBUG] commons-logging:commons-logging:jar:1.0:compile (removed - nearer
found: 1.0.4)
[DEBUG] commons-logging:commons-logging:jar:1.0.4:compile (selected for
compile)
and the classpath ends up with:
[DEBUG] Classpath: [/home/nono/projets/fidl/fidl-src/fidl-idl3/target/classes
/var/lib/m2/commons-collections/commons-collections/3.1/commons-collections-3.1.jar
^^^
/var/lib/m2/fr/lifl/openjgraph/0.9.6/openjgraph-0.9.6.jar
...
I was also wondering if this feature was implemented.
regards,
--
OQube < software engineering \ génie logiciel >
Arnaud Bailly, Dr.
\web> http://www.oqube.com
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]