karaf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christoph Gritschenberger <christoph.gritschenber...@gmail.com>
Subject Re: java 7 osgi core & compendium
Date Fri, 02 Nov 2012 08:44:27 GMT
I compiled karaf with the 4.3.1-jars without a problem. Here is what I did:

* Download the jars from osgi.org [1] [2]
* install them to my local maven-repo
	mvn install:install-file -Dfile=osgi.core-4.3.1.jar -DgroupId=org.osgi
-DartifactId=org.osgi.core -Dversion=4.3.1 -Dpackaging=jar
	mvn install:install-file -Dfile=osgi.cmpn-4.3.1.jar -DgroupId=org.osgi
-DartifactId=org.osgi.compendium -Dversion=4.3.1 -Dpackaging=jar
* Replace all "org.apache.karaf.osgi" with "org.osgi"
* fix some hardcoded versions

The I was able to compile without tests (-DskipTests)
The test-compile only fails for regression. As it's not the only place
where the generics are used, I think the jars are not at fault here.

kind regards,
christoph

[1]
http://www.osgi.org/Download/File?url=/download/r4v43/osgi.core-4.3.1.jar
[2]
http://www.osgi.org/Download/File?url=/download/r4v43/osgi.cmpn-4.3.1.jar

On 01/11/12 17:50, Andrei Pozolotin wrote:
> JB:
> 
> https://www.osgi.org/bugzilla/show_bug.cgi?id=153
> 
> I tried to migrate karaf trunk to new osgi 4.3.1
> https://github.com/carrot-garden/carrot-apache-karaf/tree/osgi-4.3.1
> 
> so far compile fails. I hope JB has better luck.
> 
> 
> -------- Original Message --------
> Subject: Re: java 7 osgi core & compendium
> From: Jean-Baptiste Onofré <jb@nanthrax.net>
> To: dev@felix.apache.org
> Date: Tue 30 Oct 2012 05:26:53 AM CDT
>> Thanks David,
>>
>> I gonna make a try in Karaf.
>>
>> I keep you posted.
>>
>> Regards
>> JB
>>
>> On 10/30/2012 11:24 AM, David Bosschaert wrote:
>>> I've uploaded the 4.3.1 jars to the Maven Central staging area. It
>>> would be great if someone could check that they are indeed working
>>> fine and properly signed.
>>>
>>> See: https://www.osgi.org/bugzilla/show_bug.cgi?id=153#c13
>>>
>>> Thanks,
>>>
>>> David
>>>
>>> On 8 October 2012 20:45, Andrei Pozolotin
>>> <andrei.pozolotin@gmail.com> wrote:
>>>> David:
>>>>
>>>> great! thank you.
>>>>
>>>> I answered back on https://www.osgi.org/bugzilla/show_bug.cgi?id=153
>>>>
>>>> Andrei.
>>>>
>>>>
>>>> -------- Original Message --------
>>>> Subject: Re: java 7 osgi core & compendium
>>>> From: David Bosschaert <david.bosschaert@gmail.com>
>>>> To: dev@felix.apache.org
>>>> Date: Mon 08 Oct 2012 03:05:18 AM CDT
>>>>
>>>> Hi Andrei,
>>>>
>>>> I left a comment on that bug and reassigned it to me, as I have been
>>>> the one who uploaded OSGi Artifacts to Maven in the recent past.
>>>> I would be happy to help getting OSGi 4.3 artifacts in maven that work
>>>> with Java 7.
>>>>
>>>> Best regards,
>>>>
>>>> David
>>>>
>>>> On 5 October 2012 20:03, Andrei Pozolotin <andrei.pozolotin@gmail.com>
>>>> wrote:
>>>>
>>>>      *Felix and Jean-Baptiste*:
>>>>
>>>>      since osgi alliance does not want to take responsibility for this
>>>>      https://www.osgi.org/bugzilla/show_bug.cgi?id=153
>>>>
>>>>      1) do you think it would be appropriate for felix or karaf to
>>>> step in,
>>>>      and to produce and maintain shared java 7 osgi core & compendium
>>>>      jars for all of us?
>>>>
>>>>      2) or else should everyone continue to bake their own?
>>>>
>>>>      3) if shared, can you agree who should lead?
>>>>
>>>>      Thank you,
>>>>
>>>>      Andrei
>>>>
>>>>
>>
> 
> 


Mime
View raw message