Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFred Bricon2017-10-01 22:19:54 +0000
committerFred Bricon2017-10-01 22:21:58 +0000
commit7f09d3221c7ce60454b33aaf71be56f818b8ded3 (patch)
treebefbb6baa7b3d81d0f89df8f751d502f57c3c554
parent49c2133e7a2318c88f973c7b2222f075e7152b97 (diff)
downloadm2e-core-7f09d3221c7ce60454b33aaf71be56f818b8ded3.tar.gz
m2e-core-7f09d3221c7ce60454b33aaf71be56f818b8ded3.tar.xz
m2e-core-7f09d3221c7ce60454b33aaf71be56f818b8ded3.zip
525365 remove maven.compiler.source/target support for 1.9
Change-Id: I2d76be1cb8e3f11d3e20275c900b1c8e766c68f7 Signed-off-by: Fred Bricon <fbricon@gmail.com>
-rw-r--r--org.eclipse.m2e.jdt/src/org/eclipse/m2e/jdt/internal/AbstractJavaProjectConfigurator.java9
1 files changed, 2 insertions, 7 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 511795ff..645d695f 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
@@ -77,11 +77,10 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
protected static final List<String> RELEASES = Arrays.asList("6,7,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
- protected static final List<String> SOURCES = Arrays
- .asList("1.1,1.2,1.3,1.4,1.5,5,1.6,6,1.7,7,1.8,8,1.9,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
+ protected static final List<String> SOURCES = Arrays.asList("1.1,1.2,1.3,1.4,1.5,5,1.6,6,1.7,7,1.8,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
protected static final List<String> TARGETS = Arrays
- .asList("1.1,1.2,1.3,1.4,jsr14,1.5,5,1.6,6,1.7,7,1.8,8,1.9,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
+ .asList("1.1,1.2,1.3,1.4,jsr14,1.5,5,1.6,6,1.7,7,1.8,8,9".split(",")); //$NON-NLS-1$ //$NON-NLS-2$
private static final String GOAL_RESOURCES = "resources";
@@ -103,7 +102,6 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
ENVIRONMENTS.put("1.6", "JavaSE-1.6"); //$NON-NLS-1$ //$NON-NLS-2$
ENVIRONMENTS.put("1.7", "JavaSE-1.7"); //$NON-NLS-1$ //$NON-NLS-2$
ENVIRONMENTS.put("1.8", "JavaSE-1.8"); //$NON-NLS-1$ //$NON-NLS-2$
- ENVIRONMENTS.put("1.9", "JavaSE-9"); //$NON-NLS-1$ //$NON-NLS-2$ //will most likely go away
ENVIRONMENTS.put("9", "JavaSE-9"); //$NON-NLS-1$ //$NON-NLS-2$
}
@@ -561,9 +559,6 @@ public abstract class AbstractJavaProjectConfigurator extends AbstractProjectCon
private String sanitizeJavaVersion(String version) {
switch(version) {
- case "1.9":
- version = version.substring(2);
- break;
case "5":
case "6":
case "7":

Back to the top