ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Xavier Hanin" <>
Subject Re: Failed to satisfy dependency but can't set it up
Date Tue, 01 May 2007 15:45:21 GMT
On 5/1/07, rmatthews <> wrote:
> I have set up Ivy to with a dependency on hibernate (version, but
> one of its dependencies is jta from Sun.  However this does not exist on the
> repository, and hence it fails with the following message.
>  [NOT FOUND  ] [ javax.transaction | jta | 1.0.1B ]/jta.jar[jar]
> [ivy:resolve] ibiblio: tried
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] ::              FAILED DOWNLOADS            ::
> [ivy:resolve] :: ^ see resolution messages for details  ^ ::
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> [ivy:resolve] :: [ javax.transaction | jta | 1.0.1B ]/jta.jar[jar]
> [ivy:resolve] ::::::::::::::::::::::::::::::::::::::::::::::
> Despite hunting around I have not found how I can add this jar file (which I
> have downloaded from the Sun site) to the local repository so this
> dependencies can be satisfied.
> Can anybody explain how I go about this.
You can either use the install task, but in this case you first need
to configure a way to access your jta.jar through a dependency
resolver, which is not really straightforward. Otherwise you can just
copy your files to the appropriate location: Ivy should tell you where
it looks for the file when it fails, so you should pretty easily find
where the file should go. Since JTA has no dependency, you don't even
need metadata for it.

Another option is to add this maven 2 repo to your settings:

Because they host jta (among other useful things).



> Many thanks
> Robert Matthews
> --
> View this message in context:
> Sent from the ivy-user mailing list archive at

Learn Ivy at ApacheCon:
Manage your dependencies with Ivy!

View raw message