ksumit commented on PR #251:
URL: https://github.com/apache/incubator-xtable/pull/251#issuecomment-2249619303
@the-other-tim-brown should we revive this PR? I used this idea on one of my
projects, thanks for exploring these options.
BTW, we can add more specific enforcements to fail the build if lets say
they try to build with jdk8. Here are few rules that I'm using at `compile`
phase itself and found them useful:
```
<bannedDependencies>
<excludes>
<exclude>org.slf4j:slf4j-log4j12</exclude>
<exclude>log4j:log4j</exclude>
</excludes>
</bannedDependencies>
<dependencyConvergence/>
<requireJavaVersion>
<version>[${source.java.version},)</version>
<message>
At least JDK ${source.java.version} is required to build this
project.
</message>
</requireJavaVersion>
```
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]