List Info

Thread: Version range dependencies causing problem




Version range dependencies causing problem
country flaguser name
United States
2007-11-06 08:34:08
Hi,

I've got a problem with the dependencies of some artifacts
taken from global
repository.
My dependencies looks like follow:

commons-digester -> commons-validator ->
my-artifact-1
commons-digester -> jasperreports -> my-artifact-2
-> my-artifact-1

The first dependency version (in commons-validator) is 1.6,
the second (in
jasperreports) is [1.7,).
When I try to compile my project using Maven 2.0.5 i get the
following
error:

[INFO]
------------------------------------------------------------
------------
[ERROR] BUILD ERROR
[INFO]
------------------------------------------------------------
------------
[INFO] Failed to resolve artifact.

Missing:
----------
1) commons-digester:commons-digester:jar:RELEASE

  Try downloading the file manually from the project
website.

  Then, install it using the command:
      mvn install:install-file -DgroupId=commons-digester
-DartifactId=commons-digester 
          -Dversion=RELEASE -Dpackaging=jar
-Dfile=/path/to/file

  Path to dependency:
        1) my-artifact-1
        2) commons-validator:commons-validator:jar:1.2.0
        3) commons-digester:commons-digester:jar:RELEASE


Has anyone of you ever encountered such case?

Thanks for any help,
Marcin Lewandowski
-- 
View this message in context: http://www.nabble.c
om/Version-range-dependencies-causing-problem-tf4758416s177.
html#a13607721
Sent from the Maven - Users mailing list archive at
Nabble.com.


------------------------------------------------------------
---------
To unsubscribe, e-mail: users-unsubscribemaven.apache.org
For additional commands, e-mail: users-helpmaven.apache.org


[1]

about | contact  Other archives ( Real Estate discussion Medical topics )