You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@jena.apache.org by "Andy Seaborne (JIRA)" <ji...@apache.org> on 2014/06/19 14:43:24 UTC

[jira] [Commented] (JENA-716) Build breaks when in a java8 only environment.

    [ https://issues.apache.org/jira/browse/JENA-716?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14037309#comment-14037309 ] 

Andy Seaborne commented on JENA-716:
------------------------------------

There are two issues:

# doclint+maven causes the build to stop if there is any error or warning anywhere in the javadoc.
# ARQ fails due to [MRRESOURCES-74|https://jira.codehaus.org/browse/MRRESOURCES-74]

and also:
{noformat}
warning - Tags @propertyGetter, @propertySetter and @propertyDescription can only be used in JavaFX properties getters and setters.
{noformat}
from multiple modules.

(1) has been addressed by adding a profile to jena-parent that adds {{-Xdoclint:none}} for a java8 build.

(2):  maven-remote-resources-plugin:1.5 comes from the Apache POM.  -X and -e don't reveal much useful information.

{noformat}
[ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.5:process (default) on project jena-arq: Error rendering velocity resource. NullPointerException -> [Help 1]
[ERROR] 
[ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
[ERROR] Re-run Maven using the -X switch to enable full debug logging.
{noformat}

Fixed in (unreleased) 1.6 [MRRESOURCES-74|https://jira.codehaus.org/browse/MRRESOURCES-74] but that leads to various other java8+maven issues which are still open.

Adding this snapshot plugin , adding {{-Denforcer.skip=true}} and the build runs with test failures in ARQ.

> Build breaks when in a java8 only environment.
> ----------------------------------------------
>
>                 Key: JENA-716
>                 URL: https://issues.apache.org/jira/browse/JENA-716
>             Project: Apache Jena
>          Issue Type: Bug
>          Components: Build
>    Affects Versions: Jena 2.11.2
>         Environment: java 1.8.0_05
>            Reporter: Andy Seaborne
>
> See http://stackoverflow.com/questions/15886209/maven-is-not-working-in-java-8-when-javadoc-tags-are-incomplete
> The build breaks (in jena-iri) when java8 used as the setting of JAVA_HOME.



--
This message was sent by Atlassian JIRA
(v6.2#6252)