Bump org.apache.rat:apache-rat-plugin from 0.16.1 to 0.18#574
Bump org.apache.rat:apache-rat-plugin from 0.16.1 to 0.18#574dependabot[bot] wants to merge 1 commit into
Conversation
slawekjaranowski
left a comment
There was a problem hiding this comment.
To check .... 0.18 requires JDK 17+
https://issues.apache.org/jira/browse/RAT-478
https://creadur.apache.org/rat/changes.html#a0.18
|
@slawekjaranowski if I'm not too mistaken you may run with older JDKs, but any animal-sniffer-runs will fail as we rely on dependencies requiring >=JDK17. As a compromise Creadur 0.17 could be used within the ASF parent. |
slawekjaranowski
left a comment
There was a problem hiding this comment.
Last time we revert updates to 0.17
|
I would like to update to 0.18, in ASF parent we don't have any execution neither configuration, we only manage a version. Child projects should manage executing in proper JDK, eg by profiles if needed. |
This comment was marked as resolved.
This comment was marked as resolved.
Bumps org.apache.rat:apache-rat-plugin from 0.16.1 to 0.18. --- updated-dependencies: - dependency-name: org.apache.rat:apache-rat-plugin dependency-version: '0.18' dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com>
5b67328 to
eb5843f
Compare
|
Agree, better to use latest version |
|
ctubbsii
left a comment
There was a problem hiding this comment.
If I'm understanding this correctly, executing this plugin requires JDK 17, but the POM specifies a minimalJavaBuildVersion using the javaVersion property, which defaults to 8.
You can't use rat 0.18 with the default settings.
I think upstream creadur/rat needs to fix this before it is updated in the Apache parent POM. They should set a minimalJavaBuildVersion to 17, and set maven.compiler.release to 8 instead of setting maven.compiler.source and maven.compiler.target to 17. It seems that was the intent with their use of the animal sniffer plugin to enforce that it works with Java 8, but they couldn't figure out how to get that to work when building with newer java versions, or something, so they opened mojohaus/animal-sniffer#316 about it and built 0.18 in a way that requires Java 17. I commented on that issue explaining how it needs to be fixed.
I recommend rat remove the animal sniffer plugin, fix their build to target Java 8 release while using a build JDK of 17 and the release flag, and then re-release as 0.19, and then update the Apache parent POM to 0.19 with the fixed rat plugin.
Also, there was another PR against this project that tried to bump to 0.18 (and a redundant issue), which also removed the commons-lang3 dependency override, which this PR does not do.
Bumps org.apache.rat:apache-rat-plugin from 0.16.1 to 0.18.