ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <xavier.ha...@gmail.com>
Subject Re: Unresolved dependencies - slf4j-jdk14
Date Wed, 04 Jul 2007 07:40:24 GMT
On 7/4/07, hezjing <hezjing@gmail.com> wrote:
>
> Hi!
>
> Following my previous problem of "Unresolved dependencies -
> spring-context", I have installed the non-official ivy.jar (built from
> trunk on 29th June).
>
> Based on
> http://www.mvnrepository.com/artifact/org.slf4j.slf4j/slf4j-jdk14/1.1.0-RC0
> ,
>
> <dependency>
> <groupId>org.slf4j.slf4j</groupId>
> <artifactId>slf4j-jdk14</artifactId>
> <version>1.1.0-RC0</version>
> </dependency>
>
>
> I created below Ivy dependency,
>
> <dependency org="org.slf4j.slf4j" name="slf4j-jdk14" rev="1.1.0-RC0" />
>
>
> When run, I got another unresolved dependencies
>
> ::::::::::::::::::::::::::::::::::::::::::::::
> ::          UNRESOLVED DEPENDENCIES         ::
> ::::::::::::::::::::::::::::::::::::::::::::::
> :: [ org.slf4j.slf4j | slf4j-jdk14 | 1.1.0-RC0 ]: not found
> ::::::::::::::::::::::::::::::::::::::::::::::
>
> :: USE VERBOSE OR DEBUG MESSAGE LEVEL FOR MORE DETAILS
>
>
> Do you have any idea how to resolve this problem?


Even without verbose or debug, Ivy should tell you  at which location it
tried to locate the module. Check if at least one of these locations
actually exist (with a browser if you use http repository). If it doesn't
Ivy can't do much for you :-)

In this case it seems that it's mvnrepository.com which is the source of
your problem. With:
http://www.mvnrepository.com/search.html?query=slf4j+jdk
you find two modules, the one you tried and another one ([ org.slf4j |
slf4j-jdk14 ]). The one you tried does not actually exist on maven 2
repository, while the other one seems to exist. Usually when only one
revision is available, it's a sign that the module may be the wrong one.

How to turn-on the debug message level to see more details?


Use standard Ant message levels command line options: -debug or -verbose

HTH,

Xavier

--
>
> Hez
>



-- 
Xavier Hanin - Independent Java Consultant
http://xhab.blogspot.com/
http://incubator.apache.org/ivy/
http://www.xoocode.org/

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message