Sometimes it is difficult to set up the plugin configuration in a way to support different JDKs (maybe even using toolchains). For example look at MPOM-264. To ease that the JavacCompiler should only use the -release
parameter with version 9 or above as using it with earlier versions leads to errors.
An additional condition should be added to
|
if ( !StringUtils.isEmpty( config.getReleaseVersion() ) ) |