Skip to content

Commit

Permalink
Fixing option --source cannot be used together with --release error
Browse files Browse the repository at this point in the history
Signed-off-by: Arun Venmany <[email protected]>
  • Loading branch information
arunvenmany-ibm committed Dec 3, 2024
1 parent c78541c commit 9ed33f8
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -1711,10 +1711,10 @@ private JavaCompilerOptions getMavenCompilerOptions(MavenProject currentProject)
if (release != null) {
getLog().debug("Setting compiler release to " + release);
if (source != null) {
getLog().debug("Compiler options source will be ignored since release is specified");
getLog().debug("Compiler option source will be ignored since release is specified");
}
if (target != null) {
getLog().debug("Compiler options target will be ignored since release is specified");
getLog().debug("Compiler option target will be ignored since release is specified");
}
compilerOptions.setRelease(release);
} else {
Expand Down

0 comments on commit 9ed33f8

Please sign in to comment.