Works for me. I think it's good to take as many steps as we can to do this (= 
make each one as small as we can).

ajs6f

> On Feb 6, 2018, at 8:00 AM, Andy Seaborne <a...@apache.org> wrote:
> 
> Would there be any problems if the plugin settings for a building wither 
> Java9 were put into master? (not building _for_ java9).
> 
> One thing needed is a minimum version of maven of 3.5.0 (3.5.2 is the current 
> latest).
> 
> If that's OK, the Jenkins job can be activated to build for java8 with java9 
> for the -Pdev build to ensure no bad stuff gets in.
> 
>    Andy
> 
> On 02/02/18 18:02, Andy Seaborne wrote:
>> JENA-1475
>> I've managed to the build working with java9, outputting java8 compatible 
>> classes.
>> PR#350.
>> https://github.com/apache/jena/pull/350
>> This is using Apache parent v18 (so not JENA-1474)
>> but
>> 1/ -Pdev build
>> Works:
>>   mvn clean install -Pdev
>> because it sets -Dmaven.javadoc.skip=true
>> 2/Full build, jaavdoc
>> javadoc fails at jena-core (despite it compiled). The problem is 
>> java.xml.bind - it looks to me like the javadoc is running in "java9" mode 
>> and I haven't found out how to override that.
>> 3/ Full build, no javadoc
>>   mvn clean install -Dmaven.javadoc.skip=true
>> runs until jena-elephas-common.
>> [ERROR] Failed to execute goal on project jena-elephas-common:
>> Could not resolve dependencies for project 
>> org.apache.jena:jena-elephas-common:jar:3.7.0-SNAPSHOT:
>> Could not find artifact jdk.tools:jdk.tools:jar:1.6 at specified path 
>> /usr/lib/jvm/java-9-openjdk-amd64/../lib/tools.jar -> [Help 1]
>> which comes from
>> [INFO] +- org.apache.hadoop:hadoop-common:jar:2.6.0:provided
>> [INFO] |  +- org.apache.hadoop:hadoop-annotations:jar:2.6.0:provided
>> [INFO] |  |  \- jdk.tools:jdk.tools:jar:1.6:system
>>     Andy

Reply via email to