You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ivy-user@ant.apache.org by Thorsten Scherler <th...@juntadeandalucia.es> on 2008/07/24 11:41:19 UTC
Cannot get dependencies for org.springframework
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
Re: Cannot get dependencies for org.springframework
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
On Fri, 2008-07-25 at 12:03 +0100, paul.newport@targetgroup.net wrote:
>
>
>
> For any Spring dependencies get them from the SpringSource Enterprise
> Bundle Repository
>
> http://www.springsource.com/repository/app/
>
> Which handily tells you the ivy line to add e.g.
>
> http://www.springsource.com/repository/app/library/version/detail?name=org.springframework.spring&version=2.5.5.A
>
> Instructions for configuring your resolver to point ot it are here:
>
> http://www.springsource.com/repository/app/faq#q7
>
> NB all the jars you get are OSGI versions, so if you are working in OSGI
> platform like S2AP all the better.
Thanks for this information. In the future they certainly will come in
handy.
For now I fixed with a small "hack"
http://svn.apache.org/viewvc?view=rev&sortby=rev&revision=679757
salu2
>
>
>
> Target
> www.targetgroup.net
>
> Target is a trading name of Target Group Limited,
> registered in England and Wales No. 1208137
> Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU
>
> **********************************************************************
> DISCLAIMER.
> This message is intended only for the use of the Addressee and may
> contain information that is PRIVILEGED and CONFIDENTIAL.
> If you are not the intended recipient you must not copy,
> distribute or take any action or reliance upon it.
> The content of this message may also contain personal
> views of an employee of this company and does
> not necessarily represent the view of the company.
> **********************************************************************
> This message has been scanned by Norton Anti-Virus.
> It has also been scanned by MAILsweeper to enforce our e-mail
> policy. If you have any concerns or comments about the content
> of this message, please e-mail support@targetgroup.net.
> **********************************************************************
>
>
> _____________________________________________________________________
> This email has been scanned for all viruses by the MessageLabs Email
> Security System. For more information on a proactive email security
> service working around the clock, around the globe, visit
> http://www.messagelabs.com
--
Thorsten Scherler thorsten.at.apache.org
Open Source Java consulting, training and solutions
Re: Cannot get dependencies for org.springframework
Posted by pa...@targetgroup.net.
For any Spring dependencies get them from the SpringSource Enterprise
Bundle Repository
http://www.springsource.com/repository/app/
Which handily tells you the ivy line to add e.g.
http://www.springsource.com/repository/app/library/version/detail?name=org.springframework.spring&version=2.5.5.A
Instructions for configuring your resolver to point ot it are here:
http://www.springsource.com/repository/app/faq#q7
NB all the jars you get are OSGI versions, so if you are working in OSGI
platform like S2AP all the better.
Target
www.targetgroup.net
Target is a trading name of Target Group Limited,
registered in England and Wales No. 1208137
Registered office: Target House, Cowbridge Road East, Cardiff CF11 9AU
**********************************************************************
DISCLAIMER.
This message is intended only for the use of the Addressee and may
contain information that is PRIVILEGED and CONFIDENTIAL.
If you are not the intended recipient you must not copy,
distribute or take any action or reliance upon it.
The content of this message may also contain personal
views of an employee of this company and does
not necessarily represent the view of the company.
**********************************************************************
This message has been scanned by Norton Anti-Virus.
It has also been scanned by MAILsweeper to enforce our e-mail
policy. If you have any concerns or comments about the content
of this message, please e-mail support@targetgroup.net.
**********************************************************************
_____________________________________________________________________
This email has been scanned for all viruses by the MessageLabs Email
Security System. For more information on a proactive email security
service working around the clock, around the globe, visit
http://www.messagelabs.com
Re: Cannot get dependencies for org.springframework
Posted by Thorsten Scherler <th...@juntadeandalucia.es>.
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
Re: Cannot get dependencies for org.springframework
Posted by Dave <da...@gmail.com>.
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.
You may have to manually add them to your build, or setup a local or shared
repository with them in it.
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!
Regards,
Dave
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
>
>
--
"A lot of people are afraid of heights. Not me, I'm afraid of widths."