-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Hi all,
solved the problem. Some module in my OS chmodded parts of the local maven repo to root. Thanks to all. Cheers, Mario Am 02.12.2015 um 11:53 schrieb Mario Frank: > > Hi Jean-Baptiste, > > I do not use a proxy. I do not even have a settings.xml in my m2 folder. And the skeleton settings.xml does not > contain activated proxy settings. > > The configured repositories in Karaf 4.0.3 are: > > org.ops4j.pax.url.mvn.proxySupport=false > > org.ops4j.pax.url.mvn.repositories= \ > http://repo1.maven.org/maven2@id=central, \ > http://repository.springsource.com/maven/bundles/release@id=spring.ebr.release, \ > http://repository.springsource.com/maven/bundles/external@id=spring.ebr.external, \ > http://zodiac.springsource.com/maven/bundles/release@id=gemini, \ > http://repository.apache.org/content/groups/snapshots-group@id=apache@snapshots@noreleases, \ > https://oss.sonatype.org/content/repositories/snapshots@id=sonatype.snapshots.deploy@snapshots@noreleases, \ > https://oss.sonatype.org/content/repositories/ops4j-snapshots@id=ops4j.sonatype.snapshots.deploy@snapshots@noreleases, \ > http://repository.springsource.com/maven/bundles/external@id=spring-ebr-repository@snapshots@noreleases > > I tried it with maven dependency:get on command line, too and got this error: > [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:2.8:get (default-cli) on project standalone-pom: Couldn't download artifact: Unable to get dependency information for org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:jar:4.1.7.RELEASE_2: Failed to retrieve POM for org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:jar:4.1.7.RELEASE_2: Could not transfer artifact org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:pom:4.1.7.RELEASE_2 from/to central (https://repo.maven.apache.org/maven2): /home/eladrion/.m2/repository/org/apache/servicemix/bundles/org.apache.servicemix.bundles.spring-expression/4.1.7.RELEASE_2/org.apache.servicemix.bundles.spring-expression-4.1.7.RELEASE_2.pom.part.lock (Datei oder Verzeichnis nicht gefunden) > [ERROR] org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:jar:4.1.7.RELEASE_2 > [ERROR] > [ERROR] from the specified remote repositories: > [ERROR] central (https://repo.maven.apache.org/maven2, releases=true, snapshots=false) > > Since the repo contains a pom, this does not make any sense to me. > > Cheers, > Mario > > Am 02.12.2015 um 10:17 schrieb Jean-Baptiste Onofré: > > Hi Mario, > > > > > do you have direct access to Central or do you use a proxy or > mirror ? > > > > > The bundle is available on Central: > > > > > http://repo.maven.apache.org/maven2/org/apache/servicemix/bundles/org.apache.servicemix.bundles.spring-expression/4.1.7.RELEASE_2/ > > > > > Regards > > > JB > > > > > On 12/02/2015 09:47 AM, Mario Frank wrote: > > >> > > > Many thanks, > > > > > this worked after upgrading camel to a matching version. The > compilation > > > and bundle phase of > > > my system is successful. > > > > > But now, Karaf throws some exceptions stating that some > artifacts could > > > not be transfered from/to > > > central (repo1.maven.org/maven2). > > > > > The exception is an IOException and here is one of the > artifacts that > > > are not found: > > > java.io.IOException: Error resolving artifact > > > org.apache.servicemix.bundles:org.apache.servicemix.bundles.spring-expression:jar:4.1.7.RELEASE_2 > > > > > I saw a Jenkins error that looked like this for karaf-master > in the > > > karaf-commits mailing list archive. > > > > > How can I solve this? > > > > > Cheers, > > > Mario > > > > > Am 01.12.2015 um 18:38 schrieb Mario Frank: > > > >>> > > > > Hey, > > > > > > many thanks for this information. I will try it > tomorrow. > > > > > > Sincerely, > > > > Mario > > > > > > Am 01.12.2015 um 17:37 schrieb j3rem1e: > > > > > Hello, > > > > > > > It's fixed in CXF 3.1.1, before that, cxf-http has > a dependency to > > > > > http-whiteboard in version range [2,4) (which is > not resolvable in > > > > karaf 4 - > > > > > http-whiteboard has version 4.0.3) > > > > > > > Not really clear in the description, but it's > fixed in the commit > > > > associated > > > > > with > https://issues.apache.org/jira/browse/CXF-6442 > > > > > > > > > > > > > -- > > > > > View this message in context: > > > > > http://karaf.922171.n3.nabble.com/Error-populating-repository-with-http-whiteboard-tp4043950p4043953.html > > > > > Sent from the Karaf - User mailing list archive at > Nabble.com. > > > > > > > > >> > > > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2 iQEcBAEBCAAGBQJWXtM3AAoJEDnmHcItIfWE8KIIAJuYQ0375QSWenn5WVRlh7Il vjCZQxXAU7Qy7O0x95fi6tdVZGMKerzlmH7KmJUMxdghXuydjnw+D1Svws9j9CaR 5rPQLGrYhhxlKzs8GZ2TGrM8YallTn6AO5CEKg+WXeHq3xzSKTaXOrod1Btsz9vb bdIempf58m5emMbNZDUFi+yxrvgOi18YPWtsbOe3PGT4Dq2pLFcg2yCF5QqHUFjf nJvKBrpYVVuugsaqHXnJdXGC2pDJe/zCJogP5/pPBhdk4lIvgh41kDtbj+reFJ5K Ar056/Miio5Qsp929y+XojpX+MjIHYDh5cSuEAdwRpue4lUPWyHjtFFtUx/JyGY= =Z59g -----END PGP SIGNATURE-----
