obiba / onyx

Web-based application that manages participant baseline interviews at assessment centres or clinics.
http://www.obiba.org/pages/products/onyx
GNU General Public License v3.0
6 stars 13 forks source link

ONYX-1747: Onyx can't be built #1562

Closed ymarcon closed 6 years ago

ymarcon commented 6 years ago

Jira issue originally created by user @meek0:

Error, possible cause might be because the maven findbugs plugin (we are using 2.5.2) is clashing with the the jenkins build process.

<===[JENKINS REMOTING CAPACITY]===>channel started
ERROR: ================================================================================
ERROR: Invalid project setup: jenkins/security/MasterToSlaveCallable : Unsupported major.minor version 52.0
ERROR: [JENKINS-18403][JENKINS-28294] JDK 'jdk-1.7' not supported to run Maven projects.
ERROR: Maven projects have to be launched with a Java version greater or equal to the minimum version required by the master.
ERROR: Use the Maven JDK Toolchains (plugin) to build your maven project with an older JDK.
ERROR: Retrying with slave Java and setting compile/test properties to point to /usr/lib/jvm/java-7-oracle.
ERROR: ================================================================================
Established TCP socket on 39107
[Onyx] $ /usr/lib/jvm/java-8-oracle/jre/bin/java -Xmx512M -Xms256M -XX:PermSize=128M -XX:MaxPermSize=128M -cp /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-agent-1.8.1.jar:/data/jenkins/tools/hudson.tasks.Maven*MavenInstallation/maven-3/boot/plexus-classworlds-2.5.2.jar:/data/jenkins/tools/hudson.tasks.Maven_MavenInstallation/maven-3/conf/logging jenkins.maven3.agent.Maven33Main /data/jenkins/tools/hudson.tasks.Maven*MavenInstallation/maven-3 /var/cache/jenkins/war/WEB-INF/lib/remoting-3.7.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven33-interceptor-1.8.1.jar /data/jenkins/plugins/maven-plugin/WEB-INF/lib/maven3-interceptor-commons-1.8.1.jar 39107
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=128M; support was removed in 8.0
<===[JENKINS REMOTING CAPACITY]===>channel started
ymarcon commented 6 years ago

Comment created by @meek0:

The problem travis oraclejdk7 is explained in https://github.com/travis-ci/travis-ci/issues/7884, more precisely the article: http://www.webupd8.org/2017/06/why-oracle-java-7-and-6-installers-no.html

ymarcon commented 6 years ago

Issue was closed with resolution "Fixed"