ant-ivy-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thorsten Scherler <thorsten.scherler....@juntadeandalucia.es>
Subject Re: Cannot get dependencies for org.springframework
Date Fri, 25 Jul 2008 07:43:53 GMT
On Thu, 2008-07-24 at 11:16 +0100, Dave wrote:
> As far as I know the dependencies you're looking are awkward because they're
> sun jars. It's quite possible they're not hosted on ibiblio because of
> licensing restrictions.

Yeah, and it is worse since they are dependencies declared from spring.

I found 
http://repository.jboss.org/maven2/javax/ejb/ejb-api/3.0/ but ivy is
trying to access
http://repository.jboss.org/maven2/javax/ejb/ejb/3.0/ejb-3.0.pom

Meaning the "ejb-api" is different. Is there any way to configure ivy to
look into that path as well? Like said I do not control the dependency
declaration of spring.

> You may have to manually add them to your build, or setup a local or shared
> repository with them in it.

Hmm, I need them for Apache Droids a Labs project meaning I cannot
distribute them either. 

Is there a similar command of ivy like 
mvn install:install-file -DgroupId=javax.jms -DartifactId=jms
-Dversion=1.1 -Dpackaging=jar -Dfile=/path/to/file

which will install the lib directly?

I found
http://ant.apache.org/ivy/history/latest-milestone/tutorial/build-repository/basic.html and
here it is stated:
"...As you can see the installation has failed, if you look at the log
you will see that there are missing artifacts on the source repository.
This means that you will need to download those artifacts manually, and
copy them to your destination repository to complete the
installation..."

Does that mean I need to create a local repository and force the user to
copy the jar in there?

> I know the jmxtools and jmxri jars can be found on Suns website. Not sure
> where exactly to get the bea jar, but I'm guessing the website is a good
> start!

Yeah, still I need to manually create the ivy file and then tell the
user that they need to download the jars and copy them into the local
repository, right?

> 
> Regards,
> Dave
> 

Thanks Dave for your answer.

salu2

> On Thu, Jul 24, 2008 at 10:41 AM, Thorsten Scherler <
> thorsten.scherler.ext@juntadeandalucia.es> wrote:
> 
> > Hi all,
> >
> > I am running out of ideas how to fix the problems I have when using ivy
> > to resolve different spring modules.
> >
> > ivy.xml:
> >  <dependency org="org.springframework" name="spring-aop" rev="2.5.5"/>
> >    <dependency org="org.springframework" name="spring-beans"
> > rev="2.5.5"/>
> >    <dependency org="org.springframework" name="spring-context"
> > rev="2.5.5"/>
> >    <dependency org="org.springframework" name="spring-core"
> > rev="2.5.5"/>
> >
> > resolver:
> > <ibiblio name="apache-incubating" m2compatible="true"
> >  root="http://people.apache.org/repo/m2-incubating-repository/"/>
> > <ibiblio name="ibiblio" m2compatible="true"/>
> >
> > Error:
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::          UNRESOLVED DEPENDENCIES         ::
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          :: javax.ejb#ejb;3.0: not found
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          ::              FAILED DOWNLOADS            ::
> > [ivy:retrieve]          :: ^ see resolution messages for details  ^ ::
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> > [ivy:retrieve]          :: javax.jms#jms;1.1!jms.jar
> > [ivy:retrieve]          ::
> > com.bea.wlplatform#commonj-twm;1.1!commonj-twm.jar
> > [ivy:retrieve]          :: com.sun.jdmk#jmxtools;1.2.1!jmxtools.jar
> > [ivy:retrieve]          :: com.sun.jmx#jmxri;1.2.1!jmxri.jar
> > [ivy:retrieve]          ::::::::::::::::::::::::::::::::::::::::::::::
> >
> >
> > Somebody has an idea how I can fix that?
> >
> > salu2
> > --
> > Thorsten Scherler                                 thorsten.at.apache.org
> > Open Source Java                      consulting, training and solutions
> >
> >
> 
> 
-- 
Thorsten Scherler                                 thorsten.at.apache.org
Open Source Java                      consulting, training and solutions


Mime
View raw message