Hello there... I am having a problem configuring the JRE System Library for
my Eclipse project. When I run "mvn eclipse:eclipse" (after removing
libraries and cleaning), both the Java 1.4 and the Java 5 system libraries
are added to my project (shown in the Package Explorer). I just want Java 5.
Here is my plugins configuration (pom.xml):
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<configuration>
<source>1.5</source>
<target>1.5</target>
<excludes />
</configuration>
</plugin>
<plugin>
<artifactId>maven-eclipse-plugin</artifactId>
<configuration>
<downloadSources>true</downloadSources>
<classpathContainers>
<buildcommand>org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/Java
5</buildcommand>
<buildcommand>org.eclipse.jst.server.core.container/org.eclipse.jst.server.tomcat.runtimeTarget/Apache
Tomcat v5.5</buildcommand>
<buildcommand>org.eclipse.jst.j2ee.internal.web.container/artifact</buildcommand>
</classpathContainers>
</configuration>
</plugin>
</plugins>
Thank you in advance for your help. I did search the forums, but please let
me know if I overlooked a relevant thread!
--
View this message in context:
http://www.nabble.com/Configuring-JRE-System-Library%3A-Two-JREs-are-added-tf2694744.html#a7515066
Sent from the Maven Eclipse - User mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe from this list please visit:
http://xircles.codehaus.org/manage_email