Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: 1.6
-
Fix Version/s: None
-
Labels:None
-
Environment:Eclipse 2.1.2, Maven 1.0 RC2, Maven Eclipse Plugin 1.6
-
Number of attachments :
Description
When I create a project inside eclipse, the built-in JRE classpath inclues: rt.jar, sunrsasign.jar, jsse.jar, jce.jar, charsets.jar, dnsns.jar, sunjce_provider.jar, ldapsec.jar, localedata.jar
This all comes from the following .classpath entry AFAIK:
<classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
The only entry I get when I use maven-eclipse to generate the the .classpath, the only entry I get is rt.jar from:
<classpathentry kind="var" rootpath="JRE_SRCROOT" path="JRE_LIB" sourcepath="JRE_SRC">
Maven's java:compile seems to include the same entries that Eclipse does, so I feel that this is a bug in the eclipse plugin.
The attached (very trivial) patch to plugin-resources/templates/classpath.jelly fixes the problem for me, but I haven't tried it versions of eclipse other than 2.1.2.