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-tf2695132s177.html#a7516230
Sent from the Maven - Users mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to