hstaudacher / osgi-jax-rs-connector

An OSGi - JAX-RS 2.0 Connector, software repository available on the link below
http://hstaudacher.github.io/osgi-jax-rs-connector
Other
190 stars 98 forks source link

Non-buildable code in master (jdk8) #190

Open llech opened 7 years ago

llech commented 7 years ago

The code from master doesn't compile (Windows 10, Maven 3.3.9, Oracle JDK 8).

I've entered build\com.eclipsesource.jaxrs.build and launched mvn clean verify, but I've got compilation errors.

I see no maven dependencies for project com.eclipsesource.jaxrs.publisher, so obviously maven build must fail because java compiler won't have javax.ws and org.osgi packages.

Maven and java version: D:\Projects\libs\osgi-jax-rs-connector\build\com.eclipsesource.jaxrs.build>mvn -version Apache Maven 3.3.9 (bb52d8502b132ec0a5a3f4c09453c07478323dc5; 2015-11-10T17:41:47+01:00) Maven home: D:\apache\apache-maven-3.3.9 Java version: 1.8.0_112, vendor: Oracle Corporation Java home: D:\Applications\Java\jdk1.8.0_112\jre Default locale: en_US, platform encoding: Cp1252 OS name: "windows 10", version: "10.0", arch: "amd64", family: "dos"

The whole maven build output in attachment (output.txt).

output.txt

col-panic commented 6 years ago

I fixed a patch to make it generally build again. I updated the base against Eclipse Neon, added some dependencies and remove the creation of Javadoc which was effectively causing the problem.