You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@olingo.apache.org by "Michael Bolz (JIRA)" <ji...@apache.org> on 2015/04/22 13:34:58 UTC

[jira] [Resolved] (OLINGO-607) olingo-odata2-jpa-processor-ref-web fails to build on JDK 1.8

     [ https://issues.apache.org/jira/browse/OLINGO-607?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Michael Bolz resolved OLINGO-607.
---------------------------------
    Resolution: Fixed

As mentioned in OLINGO-606 the root cause is a bug in _maven-resources-plugin_.
However disable the _filtering_ works as workaround (and for Olingo filtering is actual not necessary) (see [this commit|https://git-wip-us.apache.org/repos/asf?p=olingo-odata2.git;a=commit;h=d2804b744a1cf71512b676d7e1a3dbf15dc46bd4]).

> olingo-odata2-jpa-processor-ref-web fails to build on JDK 1.8
> -------------------------------------------------------------
>
>                 Key: OLINGO-607
>                 URL: https://issues.apache.org/jira/browse/OLINGO-607
>             Project: Olingo
>          Issue Type: Bug
>          Components: odata2-jpa
>    Affects Versions: V2 2.0.4
>         Environment: java version "1.8.0"
> Java(TM) SE Runtime Environment (build 1.8.0-b132)
> Java HotSpot(TM) 64-Bit Server VM (build 25.0-b70, mixed mode)
>            Reporter: Manuel Blechschmidt
>            Assignee: Michael Bolz
>              Labels: jdk8, velocity
>
> {code}
> ...
> [INFO] olingo-odata2-jpa-processor-ref-web ............... FAILURE [0.794s]
> [INFO] ------------------------------------------------------------------------
> [INFO] BUILD FAILURE
> [INFO] ------------------------------------------------------------------------
> [INFO] Total time: 20.595s
> [INFO] Finished at: Tue Mar 31 10:42:50 CEST 2015
> [INFO] Final Memory: 32M/183M
> [INFO] ------------------------------------------------------------------------
> [ERROR] Failed to execute goal org.apache.maven.plugins:maven-remote-resources-plugin:1.4:process (default) on project olingo-odata2-jpa-processor-ref-web: 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.
> [ERROR] 
> [ERROR] For more information about the errors and possible solutions, please read the following articles:
> [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/MojoExecutionException
> [ERROR] 
> [ERROR] After correcting the problems, you can resume the build with the command
> [ERROR]   mvn <goals> -rf :olingo-odata2-jpa-processor-ref-web
> ...
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)