On Tue, Jul 28, 2009 at 11:24 AM, Willem Jiang<[email protected]> wrote: > Hi Claus, > > I think you are using nexus, so maven will download the jar from the nexus > cache. > > I did some test by removing the jar such as > org/aopalliance/com.springsource.org.aopalliance-1.0.0.jar from my local m2 > repo, and run "mvn clean install" from camel-osgi directory. Maven will > complain about can't find that jar from any mvn repository in the pom. > > So I think we need to add the spring bundle repository back with the latest > repository URL :) > > BTW, "java.net" repository is for JAXB. >
Maven really sucks, hence why nexus is needed. I assume you fix the pom.xml as you wanted to correct the spring repos to the correct one. > Willem > > > Claus Ibsen wrote: >> >> Hi >> >> I did this test and could build a fresh install from a clean m2 repo. >> >> So I removed all the repos in the camel-osgi as they are not needed >> trunk rev: 798453. >> >> >> On Tue, Jul 28, 2009 at 10:29 AM, Claus Ibsen<[email protected]> >> wrote: >>> >>> On Tue, Jul 28, 2009 at 10:15 AM, S. Ali >>> Tokmen<[email protected]> wrote: >>>> >>>> Hello >>>> >>>> Works fine on my side without that repo, but perhaps it's needed for >>>> dependencies I already have. Or, perhaps it's there for historical >>>> reasons. >>>> >>> You can nuke your local m2 repo and try again >>> cd ~ >>> rm -rf .m2/repository >>> >>> I do think its there for some historical reason. Would be nice if we >>> can get rid of it. >>> >>> >>> >>>> Cheers >>>> >>>> S. Ali Tokmen >>>> [email protected] >>>> >>>> Office: +33 4 76 29 76 19 >>>> GSM: +33 66 43 00 555 >>>> >>>> Bull, Architect of an Open World TM >>>> http://www.bull.com >>>> >>>> >>>> >>>> Claus Ibsen a écrit : >>>>> >>>>> Hi >>>>> >>>>> I use nexus locally and have newer had an issue get stuff with maven >>>>> since. >>>>> >>>>> I am not behind any corporate firewall that can make all things go >>>>> bad. Pure ISP. >>>>> >>>>> Maybe it can get from a regular http. And I wonder if its needed at >>>>> all. Could you try removing it from the pom.xml and do a full rebuild? >>>>> I would assume the spring osgi stuff is avail at public repos not >>>>> needed a >>>>> HTTPS >>>>> >>>>> On Mon, Jul 27, 2009 at 7:15 PM, S. Ali >>>>> Tokmen<[email protected]> >>>>> wrote: >>>>> >>>>>> Hello >>>>>> >>>>>> The https reference makes my Maven get hung... Weird, but non-blocking >>>>>> (once >>>>>> all dependencies get downloaded from other sources Maven stops looking >>>>>> for >>>>>> that repo) >>>>>> >>>>>> Cheers >>>>>> >>>>>> S. Ali Tokmen >>>>>> [email protected] >>>>>> >>>>>> Office: +33 4 76 29 76 19 >>>>>> GSM: +33 66 43 00 555 >>>>>> >>>>>> Bull, Architect of an Open World TM >>>>>> http://www.bull.com >>>>>> >>>>>> >>>>>> >>>>>> Claus Ibsen a écrit : >>>>>> >>>>>>> The pom.xml in camel-osgi have this repo setting >>>>>>> >>>>>>> <repositories> >>>>>>> <repository> >>>>>>> <id>java.net</id> >>>>>>> <name>java.net Maven Repository</name> >>>>>>> <url>http://download.java.net/maven/1/</url> >>>>>>> <layout>legacy</layout> >>>>>>> <releases> >>>>>>> <enabled>true</enabled> >>>>>>> </releases> >>>>>>> <snapshots> >>>>>>> <enabled>false</enabled> >>>>>>> </snapshots> >>>>>>> </repository> >>>>>>> <repository> >>>>>>> <id>spring.osgi</id> >>>>>>> <url>http://static.springframework.org/maven2</url> >>>>>>> </repository> >>>>>>> <repository> >>>>>>> <id>spring.svn.repo</id> >>>>>>> >>>>>>> >>>>>>> >>>>>>> <url>https://springframework.svn.sourceforge.net/svnroot/springframework/repos/repo-ext</url> >>>>>>> </repository> >>>>>>> </repositories> >>>>>>> >>>>>>> >>>>>>> >>>>>>> On Mon, Jul 27, 2009 at 3:25 PM, S. Ali >>>>>>> Tokmen<[email protected]> >>>>>>> wrote: >>>>>>> >>>>>>> >>>>>>>> Hello >>>>>>>> >>>>>>>> As soon as I include camel-osgi, it adds the repository reference to >>>>>>>> the >>>>>>>> HTTPS repository... Do you know if Maven does a difference between >>>>>>>> proxies >>>>>>>> for HTTP and HTTPS connections? >>>>>>>> >>>>>>>> Cheers >>>>>>>> >>>>>>>> S. Ali Tokmen >>>>>>>> [email protected] >>>>>>>> >>>>>>>> Office: +33 4 76 29 76 19 >>>>>>>> GSM: +33 66 43 00 555 >>>>>>>> >>>>>>>> Bull, Architect of an Open World TM >>>>>>>> http://www.bull.com >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> Willem Jiang a écrit : >>>>>>>> >>>>>>>> >>>>>>>>> Hi, >>>>>>>>> >>>>>>>>> Can you tell me which module building has this issue ? >>>>>>>>> >>>>>>>>> Here are the answer of your question: >>>>>>>>> >>>>>>>>> * Why is that repository on HTTPS? I would expect it to be HTTP... >>>>>>>>> It's the svn repoistory, and it support the HTTP/HTTPS at the same >>>>>>>>> time. >>>>>>>>> In this way we could manage the mvn repository by using the SVN :) >>>>>>>>> * Is anyone else having the same issue? >>>>>>>>> I did't get this issue. >>>>>>>>> * What is on that repository anyway? >>>>>>>>> It hosts the spring framework needs third part bundle jar. >>>>>>>>> >>>>>>>>> Willem >>>>>>>>> >>>>>>>>> >>>>>>>> >>>>>>> >>>>>>> >>>>>> >>>>> >>>>> >>>>> >>>> >>> >>> >>> -- >>> Claus Ibsen >>> Apache Camel Committer >>> >>> Open Source Integration: http://fusesource.com >>> Blog: http://davsclaus.blogspot.com/ >>> Twitter: http://twitter.com/davsclaus >>> >> >> >> > > -- Claus Ibsen Apache Camel Committer Open Source Integration: http://fusesource.com Blog: http://davsclaus.blogspot.com/ Twitter: http://twitter.com/davsclaus
