[
https://issues.apache.org/jira/browse/RAT-478?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18095794#comment-18095794
]
ASF subversion and git services commented on RAT-478:
-----------------------------------------------------
Commit de083a16ee68b6f5f9da72500315cd0b2f7be665 in creadur-rat's branch
refs/heads/master from Christopher Tubbs
[ https://gitbox.apache.org/repos/asf?p=creadur-rat.git;h=de083a16 ]
RAT-572: Maven build improvements after dropping JDK8 in RAT 0.18 (#698)
* Post RAT-478 maven build improvements
RAT-478 updated the Java version to 17 for the minimal build JDK and the
target runtime JRE, but left some things in place that are no longer
needed. This cleans some of that up.
* Replace `mavenVersion` property with `minimalMavenBuildVersion`
property defined in ASF parent POM
* Remove unneeded managed plugin versions and version properties from
plugins defined to the same or newer version in the ASF parent POM
* Remove other properties and plugin config that use those properties
(like `maven.compiler.*`) when they can be inherited from the parent
POM instead
* Remove unused animal-sniffer-maven-plugin (no longer needed with JDK 9
and later)
* Override `minimalJavaBuildVersion` property from ASF parent POM so it
can be more easily managed separately from the `javaVersion` (target
version) property
* Move Eclipse-specific m2e lifecycle configuration to profile that is
activated only in Eclipse, to make it easier to manage separately from
actual plugin configuration
* Remove redundant Maven version check from enforcer plugin (already
defined in ASF parent POM)
* Fix `<license>` element in the POM to correctly name the Apache
license using its SPDX identifier and remove unused generic comment
that appears to have been copied from an example configuration
* Remove unneeded maven.compiler.release profile, since it was only
needed to support building using JDK8, which is no longer possible
* RAT-572: Add changelog
---------
Co-authored-by: P. Ottlinger <[email protected]>
> Drop Java8 support and set minimum language level to Java17
> -----------------------------------------------------------
>
> Key: RAT-478
> URL: https://issues.apache.org/jira/browse/RAT-478
> Project: Apache RAT
> Issue Type: Task
> Components: build
> Affects Versions: 0.16.1
> Reporter: Philipp Ottlinger
> Assignee: Philipp Ottlinger
> Priority: Major
> Fix For: 1.0.0, 0.18
>
>
> Due to the deprecation of Java8 and the low support of tooling we should
> migrate to Java17 and verify building with the newest JDK to ensure the
> future of RAT with current JDKs.
> (as discussed on the mailing list)
> h2. GitHubActions
> *
> https://github.com/actions/setup-java?tab=readme-ov-file#supported-version-syntax
> * no JDK8 on macos-latest available
> * JDK8-tests fail randomly on GHA (ReportOptionTests)
> h2. ASF Jenkins
> * can we build against newest JDK25 as well?
> h2. Dependabot
> * reconfigure dependabot exclusions and check if there are any comments on
> https://github.com/dependabot/dependabot-core/issues/13141 as current
> exclusions do not seem to work properly
> h2. LTS version matrix
> - Java 11 (released in September 2018)
> - Java 17 (released in September 2021)
> - Java 21 (released in September 2023)
> Due to the existing Javadocproblem we should build with Java21 but stay with
> compiler level of Java17! see RAT-497
--
This message was sent by Atlassian Jira
(v8.20.10#820010)