diff --git a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java
index 9fcfdaf806..d8ca44b93e 100644
--- a/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java
+++ b/maven-plugins/maven-eclipse-plugin/src/main/java/org/apache/maven/plugin/eclipse/EclipseClasspathWriter.java
@@ -116,10 +116,8 @@ public class EclipseClasspathWriter
// ----------------------------------------------------------------------
writer.startElement( "classpathentry" ); //$NON-NLS-1$
- writer.addAttribute( "kind", "var" ); //$NON-NLS-1$ //$NON-NLS-2$
- writer.addAttribute( "rootpath", "JRE_SRCROOT" ); //$NON-NLS-1$ //$NON-NLS-2$
- writer.addAttribute( "path", "JRE_LIB" ); //$NON-NLS-1$ //$NON-NLS-2$
- writer.addAttribute( "sourcepath", "JRE_SRC" ); //$NON-NLS-1$ //$NON-NLS-2$
+ writer.addAttribute( "kind", "con" ); //$NON-NLS-1$ //$NON-NLS-2$
+ writer.addAttribute( "path", "org.eclipse.jdt.launching.JRE_CONTAINER" ); //$NON-NLS-1$ //$NON-NLS-2$
writer.endElement();
// ----------------------------------------------------------------------
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath
index 8842628275..94341a21e0 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-1/classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath
index ba7e527a5e..250b7f370c 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-2/classpath
@@ -1,9 +1,9 @@
-
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
+
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-3/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-3/classpath
index b5cac3a5ee..a4c4693978 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-3/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-3/classpath
@@ -1,8 +1,8 @@
-
-
-
-
-
-
-
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/classpath
index cb84627c22..61fa88b932 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-4/classpath
@@ -1,9 +1,9 @@
-
-
-
-
-
-
-
-
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/classpath
index 8842628275..94341a21e0 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-5/classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
-
+
+
+
+
+
+
diff --git a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-6/classpath b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-6/classpath
index a51b722676..fb6ca29ab4 100644
--- a/maven-plugins/maven-eclipse-plugin/src/test/projects/project-6/classpath
+++ b/maven-plugins/maven-eclipse-plugin/src/test/projects/project-6/classpath
@@ -1,6 +1,6 @@
-
-
-
-
-
+
+
+
+
+
\ No newline at end of file