I had signal this a while ago to Peter Kriens, but for the moment I
guess the issue is pending. My wish is that the "original" OSGi
Alliance arifacts are in maven central repo, but till then you can
find them in OPS4J repository:

http://repository.ops4j.org/maven2/org/osgi/org.osgi.core/
http://repository.ops4j.org/maven2/org/osgi/org.osgi.compendium/

So, what you have to do is to add a repository to your pom or
settings.xml for OPS4J repository: http://repository.ops4j.org/maven2

The artifacts you can find on OPS4J are exactly the ones download from
OSGi alliance and the version matches the specs version.

On Tue, Sep 30, 2008 at 12:39 PM, Mirko Jahn <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I am currently working on a new build environment and I again have to
> ask myself, what is actually the official "Maven OSGi jar". I know, I
> can download the API from the osgi website and somehow refer to that
> one, but isn't there an >>official<< distribution on a public maven
> repository? After a quick search, I found these 3rd party versions
> floating around.
>
> <dependency>
>        <groupId>org.osgi</groupId>
>        <artifactId>osgi_R4_core</artifactId>
>        <version>1.0</version>
>        <scope>provided</scope>
> </dependency>
> ==> r4.0, not a bundle
>
> <dependency>
>        <groupId>org.osgi</groupId>
>        <artifactId>org.osgi.core</artifactId>
>        <version>4.0</version>
>        <scope>provided</scope>
> </dependency>
> ==> r4.0.1, packaged as a bundle
>
> <dependency>
>        <groupId>org.apache.felix</groupId>
>        <artifactId>org.osgi.core</artifactId>
>        <version>1.2.0</version>
> </dependency>
> ==> r4.1, packaged as a bundle
>
> Neither of them lead to a simple identifier (within maven) to actually
> see, which OSGi spec version we are having. At least the last two
> provide a Bundle-Version header with the correct version. So did I
> just miss the jars in the repo or if not, are there any plans to
> support such an official API maven jar?
>
> Cheers,
> Mirko
> _______________________________________________
> OSGi Developer Mail List
> osgi-dev@mail.osgi.org
> https://mail.osgi.org/mailman/listinfo/osgi-dev
>



-- 
Alin Dreghiciu
http://www.ops4j.org         - New Energy for OSS Communities - Open
Participation Software.
http://www.qi4j.org            - New Energy for Java - Domain Driven
Development.
http://malaysia.jayway.net - New Energy for Projects - Great People
working on Great Projects at Great Places
_______________________________________________
OSGi Developer Mail List
osgi-dev@mail.osgi.org
https://mail.osgi.org/mailman/listinfo/osgi-dev

Reply via email to