Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2017-03-29 16:52:00 -0400
committerFred Bricon2017-03-29 16:52:00 -0400
commit6c9579502f1d15a0e45d4064c324ea3ddf0702ff (patch)
tree44a6c8f55cdc5919e8fe22051daeb13281d34425 /org.eclipse.m2e.jdt
parent52e933c84c1f884e3c68d50d3945232d696877b9 (diff)
downloadm2e-core-6c9579502f1d15a0e45d4064c324ea3ddf0702ff.tar.gz
m2e-core-6c9579502f1d15a0e45d4064c324ea3ddf0702ff.tar.xz
m2e-core-6c9579502f1d15a0e45d4064c324ea3ddf0702ff.zip
471362 fix support for maven-compiler-plugin:3.6 release flag
Signed-off-by: Fred Bricon <fbricon@gmail.com>
Diffstat (limited to 'org.eclipse.m2e.jdt')
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
index 59f2a496..511795ff 100644
--- a/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
+++ b/org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java
@@ -519,7 +519,7 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
String release = null;
for(MojoExecution execution : getCompilerMojoExecutions(request, monitor)) {
- release = getCompilerLevel(request.getMavenProject(), execution, "release", source, RELEASES, monitor);
+ release = getCompilerLevel(request.getMavenProject(), execution, "release", release, RELEASES, monitor);
//XXX ignoring testRelease option, since JDT doesn't support main/test classpath separation - yet
source = getCompilerLevel(request.getMavenProject(), execution, "source", source, SOURCES, monitor); //$NON-NLS-1$
target = getCompilerLevel(request.getMavenProject(), execution, "target", target, TARGETS, monitor); //$NON-NLS-1$

Back to the top