Search code examples
mavenjax-rspax-web

Failure to find org.osgi:org.osgi.service.jaxrs:jar:1.0.0-SNAPSHOT


I wanted to analyse the samples for JAX-RS for Pax-Web.

However, I can't import it to Eclise or compile with Maven because the following maven dependency can't be found:

org.osgi:org.osgi.service.jaxrs:jar:1.0.0-SNAPSHOT

I was trying to find the library org.osgi.service.jaxrs, but got no success with Google or Maven repository...

What is this library? Is it a project that has changed name? How to get those samples to life?


Solution

  • It's available from the official OSGi sonatype repository. And actually also configured in the Pax Web root pom. See also here

    It contains the following location for an extra repository:

        <repository>
            <id>osgi-releases-and-snapshots</id>
            <url>https://oss.sonatype.org/content/groups/osgi/</url>
            <layout>default</layout>
        </repository>