-
1. Re: camel features:install bundle resolution problem
heatlamp Jun 23, 2011 5:34 PM (in response to heatlamp)As this looks related to servicemix access to our local maven/nexus repository and to the net, I tried hardcoding settings.xml and M2 repo locations in etc/org.ops4j.pax.url.mvn.cfg.
However this made no difference.
Still looking for any other input.
Thx,
Jim
-
2. Re: camel features:install bundle resolution problem
ffang Jun 23, 2011 8:15 PM (in response to heatlamp)Hi,
Yes, it's related to download artifacts remotely.
I guess the machine running ESB is behind the firewall and can only access your internal nexus, right, basically you need edit etc/org.ops4j.pax.url.mvn.cfg to add your nexus server. Could you elaborate how you configure the etc/org.ops4j.pax.url.mvn.cfg? And could you check if your nexus server is configured correctly which means it can download from external maven repo on demand?
Freeman
-
3. Re: camel features:install bundle resolution problem
heatlamp Jun 24, 2011 12:47 AM (in response to ffang)Thanks Freeman,
Confirming your suspicion, I've found that features install properly when I connect my laptop via VPN to the company's network, but not when connected directly to the intranet. (Good excuse to work from home.)
However I do have internet connectivity from work, and I can paste the URL of the resource that couldn't be resolved into a browser and access that resource. I can also access the nexus repo normally from in my Eclipse mvn camel project.
I tried
1) modifying org.ops4j.pax.url.mvn.localRepository to point directly to my local repo
2) modifying org.ops4j.pax.url.mvn.settings to point directly to my settings.xml
3) commenting out all of the addresses in org.ops4j.pax.url.mvn.repositories.
However I did not try adding the address of our nexus repo to the list in org.ops4j.pax.url.mvn.repositories, is this what you are suggesting?
Thanks again,
Jim
-
4. Re: camel features:install bundle resolution problem
ffang Jun 24, 2011 1:05 AM (in response to heatlamp)Hi,
Yes, you just need add the address of your nexus repo to the list in org.ops4j.pax.url.mvn.repositories.
Freeman
-
5. Re: camel features:install bundle resolution problem
blackard Jun 27, 2011 12:22 PM (in response to ffang)So the /local-repo seems to be a hard coded local repository. I have a local repository that I use for more than one project, and more than one version of ServiceMix that I'm testing.
Is this just something that's broken in 00-27 and will be fixed in a later release?
Thanks
Edited by: blackard on Jun 27, 2011 4:22 PM
-
6. Re: camel features:install bundle resolution problem
blackard Jun 27, 2011 2:07 PM (in response to blackard)I did a little more experimentation. Could it be that variable substitution in 4.4 patch 00-27 has problems? I replaced the $ environment variable (which on windows was defined as C:\Development\ProvingGround) with C:/Development/ProvingGround in the org.ops4j.pax.url.mvn.localRepository and everything seems to have started working.
Again, is this just a 00-27 issue that will be fixed in a later release?
-
7. Re: camel features:install bundle resolution problem
davsclaus Jun 28, 2011 2:18 AM (in response to blackard)Hi
Thanks for reporting. I have logged a ticket for the engineering team to look into this