Index: /home/kweiner/workspace/eclipse/plugin.properties =================================================================== --- /home/kweiner/workspace/eclipse/plugin.properties (revision 264919) +++ /home/kweiner/workspace/eclipse/plugin.properties (working copy) @@ -27,3 +27,5 @@ maven.gen.src=${maven.build.dir}/generated-sources maven.eclipse.src.extension = zip maven.eclipse.resources.addtoclasspath=false +maven.eclipse.conclasspath=org.eclipse.jdt.launching.JRE_CONTAINER + Index: /home/kweiner/workspace/eclipse/src/plugin-resources/templates/classpath.jelly =================================================================== --- /home/kweiner/workspace/eclipse/src/plugin-resources/templates/classpath.jelly (revision 264919) +++ /home/kweiner/workspace/eclipse/src/plugin-resources/templates/classpath.jelly (working copy) @@ -178,10 +178,6 @@ - - - - + Added ability to replace JRE path element in maven.eclipse.conclasspath property Moved test classpath before main so test classpath resources override main ones eclipse:add-maven-repo doesn't update correct Eclipse property file for Eclipse 3.x add-maven-repo fails if Eclipse hasn't been started yet. Property file needs to be created Index: /home/kweiner/workspace/eclipse/xdocs/properties.xml =================================================================== --- /home/kweiner/workspace/eclipse/xdocs/properties.xml (revision 264919) +++ /home/kweiner/workspace/eclipse/xdocs/properties.xml (working copy) @@ -93,9 +93,15 @@ maven.eclipse.conclasspath Yes - Comma delimited list of additional kind "con" path + Comma-delimited list of "con" path elements to include in the classpath description file like - org.eclipse.pde.core.requiredPlugins + org.eclipse.pde.core.requiredPlugins. + The default value is + org.eclipse.jdt.launching.JRE_CONTAINER. + If you provide your own list, be sure to include + org.eclipse.jdt.launching.JRE_CONTAINER + or your own custom JRE element. For example: + maven.eclipse.conclasspath=org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/sun-jdk-1.4.2.08