Hi Michael,

No, local-repo is only used to uncompress KAR files.

In Pax URL, if you have central in the repositories list, it will go there: it's the default configuration.

The process is:
- first, check in the Karaf system local repository (it's a Maven repo basically)
- second, check in your .m2/repository
- finally, check in the repositories defined in the PAX URL property

Could you check in your local repo ?
Do you use a proxy to access your local maven repo ?

Regards
JB

On 11/15/2011 01:23 PM, Michael Prieß wrote:
Hi,

my repro it the last position in the config and I read in the PAX Url
Documentation that Pax Url not need a local maven installation to
fetch dependencys is this right?

Did Karaf store the fetcht dependencys under
/opt/apache-karaf-2.2.4/local-repo?  Because there is no file at the
moment.

I looked into my Nexus Repository and only found the wrapper .pom XML
there. Could Pax Url trigger the repository to download the needed
dependencys from m2central like maven?

Regards,

Michael

2011/11/15 Jean-Baptiste Onofré<[email protected]>:
Hi Michael,

1/ could you try to set your repository at the end of the
org.ops4j.pax.url.mvn.repositories property
2/ I think that the org.apache.karaf.shell.wrapper jar file, in your local
m2 repository, has been downloaded as a HTML file. It's certainly a reply
from your repository.
Could you check (edit) the org.apache.karaf.shell.wrapper jar file in your
m2 local folder ? I bet it's not a jar file (a HTML one for instance).

Regards
JB

On 11/15/2011 01:02 PM, Michael Prieß wrote:

Hello,

my Karaf Installation is behind a Firewall, so I have to use my own
Maven Repository in the same subnet (Nexus) to fetch the wrapper
feature from my nexus.

So I changed the file org.ops4j.pax.url.mvn.cfg, uncommented the other
repository and added my repository:

org.ops4j.pax.url.mvn.repositories= \
     http://myRepro/content/groups/public/

If I now run a feature:install wrapper I get the following Error:

Manifest not present in the first entry of the zip
mvn:org.apache.karaf.shell/org.apache.karaf.shell.wrapper/2.2.4

Have anyone a idea how fix this failure?

Regards,

Michael

--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com


--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com

Reply via email to