Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 505681

Summary: [HIPP] Eclipse Kura would like to use Maven toolchains with JDK 6, 7 and 8
Product: Community Reporter: Jens Reimann <jreimann>
Component: CI-JenkinsAssignee: CI Admin Inbox <ci.admin-inbox>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: frederic.gurr, webmaster
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:

Description Jens Reimann CLA 2016-10-11 03:00:15 EDT
The toolchains dropdown in the maven buildstep currently only shows "NONE". Also can the default JDK not being used, since it only shows the error message "java is not in your PATH. Maybe you need to configure JDKs?" then.

The JDK 1.8 seems to be missing from the list of available JDK as well.
Comment 1 Frederic Gurr CLA 2016-10-11 05:16:03 EDT
There is a toolchains.xml in the ~/.m2 directory of the Hudson genie user. It can be used without selecting it in the toolchains dropdown menu in the job config. You just need to adapt your pom.xml.

The "default JDK" refers to a JDK defined in PATH, which is not used in the default HIPP setup.

I've added JDK 1.8 in the main config, so you can now select in the job config.
Comment 2 Jens Reimann CLA 2016-10-11 05:40:26 EDT
Thanks that worked. Unfortunately I ran into another issue, it seem we do need maven 3.3.

Could you please add Maven 3.3 or 3.2 to the HIPP instance.
Comment 3 Frederic Gurr CLA 2016-10-11 06:19:51 EDT
apache-maven-latest points to /shared/common/apache-maven-3.3.9