diff --git a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/jsp/CompileJspMojo.java b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/jsp/CompileJspMojo.java index ae124fa61..1db2b1237 100644 --- a/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/jsp/CompileJspMojo.java +++ b/liberty-maven-plugin/src/main/java/io/openliberty/tools/maven/jsp/CompileJspMojo.java @@ -132,7 +132,7 @@ private void doCompileJsps() throws MojoExecutionException { sourceSet = true; } } else if (props.containsKey("maven.compiler.source")) { - String value = props.getProperty("maven.compiler.release"); + String value = props.getProperty("maven.compiler.source"); if (value != null) { getLog().debug("compile-jsp using maven.compiler.source value: "+value+" for javaSourceLevel."); compile.setSource(value);