Bug #8117
Jenkins builds failing due to conflict between JDK 7 and 8
Status:
Closed
Priority:
Urgent
Assignee:
Category:
Support Operations
Target version:
Start date:
2017-06-27
Due date:
% Done:
100%
Milestone:
None
Product Version:
*
Story Points:
Sprint:
Description
Maven build fail because of:
https://issues.jenkins-ci.org/browse/JENKINS-44703
https://wiki.jenkins.io/display/JENKINS/Maven+Project+Plugin
It appears the only solutions are either:
1) build everything with Java 1.8
2) Roll back to a version of Jenkins < 2.5.4
History
#1 Updated by Dave Vieglais over 7 years ago
- Description updated (diff)
#2 Updated by Dave Vieglais over 7 years ago
Decided to use JDK 8 for builds but configure maven to build for Java 7 using only Java 7 sources.
See: https://maven.apache.org/plugins/maven-compiler-plugin/examples/set-compiler-source-and-target.html
[...]
1.7
1.7
[...]
Need to verify that all projects have the source and target version specified.
#3 Updated by Dave Vieglais over 7 years ago
- Status changed from In Progress to Closed
- % Done changed from 30 to 100