I think I see the problem:
The integration tests are configured to use:
<dependency>
<groupId>org.apache.felix</groupId>
<artifactId>org.apache.felix.framework</artifactId>
<version>4.0.3</version>
<scope>test</scope>
</dependency>
if I change that to be <version>5.6.1</version> the tests pass without
problems. This makes some sense together with what Pierre mentions (i.e.,
works with Java7 but not with Java8): older versions of the framework don't
export the jdk packages for Java8.
Not sure what to do now - I'm not against releasing as is (and fix the
dependency in trunk) as it looks like it is working overall (and this is a
bugfix release to begin with) but it is unfortunate that it isn't building
on Java8. Your call :-)
regards,
Karl
On Tue, Oct 25, 2016 at 11:11 AM, Karl Pauls <[email protected]> wrote:
>
>
>
> On Tue, Oct 25, 2016 at 11:11 AM, Karl Pauls <[email protected]> wrote:
>>
>>
>>> >
>>> > Not sure what is going on - is this building for others?
>>> >
>>>
>>> Works perfectly for me, you're not using Java 9 I assume?
>>
>>
>> > java -version
>>
>> java version "1.8.0_92"
>>
>> Java(TM) SE Runtime Environment (build 1.8.0_92-b14)
>>
>> Java HotSpot(TM) 64-Bit Server VM (build 25.92-b14, mixed mode)
>>
>>
>> > javac -version
>>
>> Java 1.8.0_92
>>
>>
>> > echo $JAVA_HOME
>>
>> /Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home
>>
>>
>> > mvn -version
>>
>> Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5;
2015-11-10T17:41:47+01:00)
>>
>> Maven home: /Users/pauls/Downloads/apache-maven-3.3.9
>>
>> Java version: 1.8.0_92, vendor: Oracle Corporation
>>
>> Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_92.jdk/Contents/Home/jre
>>
>> Default locale: de_DE, platform encoding: UTF-8
>>
>> OS name: "mac os x", version: "10.11.4", arch: "x86_64", family: "mac"
>>
>
> I just did remove my ~/.m2 dir completely and that isn't helping
either....
>
> regards,
>
> Karl
>
>
> --
> Karl Pauls
> [email protected]
--
Karl Pauls
[email protected]