The 'eclipse:eclipse' with just add this to the .classpath: <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>.
This translates into the JRE that's set as the default JRE that's selected in the Installed JREs preferences. The name "eclipse" just happens to be the name that's given to that JRE in the preferences. If you want to set it to an explicit JRE in your preferences, then you can change the the plugin's configuration to a specific JRE. It might look something like this: <plugin> <groupId>org.apache.maven.plugins</groupId> <artifactId>maven-eclipse-plugin</artifactId> <configuration> <classpathContainers> <java.lang.String> org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui..launcher.StandardVMType/MY_JRE_NAME </java.lang.String> </classpathContainers> </configuration> </plugin> Just replace MY_JRE_NAME with the name of the JRE in the preferences page. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Tuesday, May 23, 2006 1:06 PM To: Maven Users List Subject: Specifying system libraries with eclipse plugin Hi guys & gals, I am using the eclipse:eclipse task to create my Eclipse workspace in WSAD 5.1. Since WSAD uses IBM's version of JDK v1.3 and we are using JDK 1.4.1. When we initially create the workspace, it always picks JRE System Library "eclipse" which is version 1.3.1. I have changed the default system library to my own JDK 1.4.1 but every time I do mvn eclipse:clean eclipse:eclipse, it defaults back to the "eclipse" library. I know I can change this in my WSAD to have the "eclipse" JRE point to my Sun JDK 1.4.1 but I'd like to find a more robust way to do this. Is the eclipse plugin always setting the System JRE to the one named "eclipse" or does it search for some kind of default? -j --------------------------------------------------- Justin Fung [EMAIL PROTECTED] Sr. Analyst, Business Systems IT Banking Systems, e-Business HSBC Bank Canada http://www.hsbc.ca p: (604) 643-6605 f: (604) 643-6727 *************************************************************** This email may contain confidential information, and is intended only for the named recipient and may be privileged. Distribution or copying of this email by anyone other than the named recipient is prohibited. If you are not the named recipient, please notify us immediately and permanently destroy this email and all copies of it. Internet email is not private, secure, or reliable. No member of the HSBC Group is liable for any errors or omissions in the content or transmission of this email. Any opinions contained in this email are solely those of the author and, unless clearly indicated otherwise in writing, are not endorsed by any member of the HSBC Group. *************************************************************** Ce courriel peut renfermer des renseignements confidentiels et privilégiés et s'adresse au destinataire désigné seulement. La distribution ou la copie de ce courriel par toute personne autre que le destinataire désigné est interdite. Si vous n'êtes pas le destinataire désigné, veuillez nous en aviser immédiatement et détruire de façon permanente ce courriel ainsi que toute copie de celui-ci. La transmission de courriel par Internet ne constitue pas un mode de transmission confidentiel, sécuritaire ou fiable. Aucun membre du Groupe HSBC ne sera responsable des erreurs ou des omissions relatives au contenu ou à la transmission de ce courriel. L'auteur de ce courriel est seul responsable des opinions émises dans ce courriel, lesquelles, à moins d'un avis contraire fourni par écrit, ne sont pas endossées par aucun membre du Groupe HSBC. *************************************************************** ----------------------------------------- CONFIDENTIALITY NOTICE This message and any included attachments are from Cerner Corporation and are intended only for the addressee. The information contained in this message is confidential and may constitute inside or non-public information under international, federal, or state securities laws. Unauthorized forwarding, printing, copying, distribution, or use of such information is strictly prohibited and may be unlawful. If you are not the addressee, please promptly delete this message and notify the sender of the delivery error by e-mail or you may call Cerner's corporate offices in Kansas City, Missouri, U.S.A at (+1) (816)221-1024. ------------------------------------------- --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]