[ https://issues.apache.org/jira/browse/TOBAGO-2356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Udo Schnurpfeil resolved TOBAGO-2356. ------------------------------------- Resolution: Fixed > Replace animal-sniffer-plugin with Java compiler option "--release" > ------------------------------------------------------------------- > > Key: TOBAGO-2356 > URL: https://issues.apache.org/jira/browse/TOBAGO-2356 > Project: MyFaces Tobago > Issue Type: Task > Components: Build > Reporter: Udo Schnurpfeil > Assignee: Udo Schnurpfeil > Priority: Minor > Fix For: 2.6.0, 4.7.0, 5.14.0, 6.6.0 > > > The animal-sniffer-plugin has only support until JDK 8. > With Java 9 comes a new compiler option -release (also replacing -source and > -target) to check also the JDK dependencies of the code, to avoid using > future features of the JDK when using a newer compiler. > BTW: > There is also an unlucky variable name used: > * maven.compile.source instead of maven.compiler.source > * maven.compile.target instead of maven.compiler.target > The latter configuring the maven-compiler-plugin automatically. -- This message was sent by Atlassian Jira (v8.20.10#820010)