Thanks Peter, I do understand that the general maven list is better for command line questions.
In my situation though, I am more interested in how to do this task from within eclipse, (which I assume most eclipse users will do at some point or another as not all jars are automatically available) As I got this message, I was in the middle of following Eugene's directions on the page: http://maven.apache.org/plugins/maven-install-plugin/examples/specific-local-repo.html which are slightly different. Now I'm not sure which command is preferred. Cheers, Andy >>> [EMAIL PROTECTED] 23/01/2007 9:59 a.m. >>> That's fine. I was just letting you know that though we are all users of Maven and Maven Eclipse, this is not the user list for general Maven issues such as adding jars to a repository. The subscribers to the Apache Maven mailing list are probably more numerous and possibly better equipped to respond to these queries. The Maven Eclipse plug-in does allow you to run maven from within Eclipse via the Apache-built Maven embedder component, but the plug-in itself doesn't implement that functionality. I almost solely use the Maven Eclipse plug-in for the classpath management feature and once in a great while to ad hoc run a maven goal. For the situation of adding a 3rd party jar to my local repository I checked the FAQ on maven.apache.org (http://maven.apache.org/general.html - check #9) and ran the instructed maven command from a command prompt. Cheers, Peter -----Original Message----- From: Andy Dingfelder [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 3:50 PM To: [email protected] Subject: RE: [m2eclipse-user] running from the command line Peter, I do realize this is the plugin list, and 99.9% of what I am doing with maven is from within the eclipse plugin. In fact, it is 100%, as I have not even downloaded the standalone maven app yet. the only reason I am planning on doing so, is to add jar dependancies that are not available through the maven repository, such as 3rd party (commercial) jars. If there is a way to add them from within eclipse (instead of reverting to using the command line) I am all for it. What do you do for this situation? Cheers, Andy >>> [EMAIL PROTECTED] 23/01/2007 9:41 a.m. >>> Yes. Also, this email list is for the m2eclipse plugin for Eclipse. You will probably find better support for general Maven issues on the Maven mailing list which can be found on the maven home page. Make sure to search the archives! http://maven.apache.org/ Peter -----Original Message----- From: Andy Dingfelder [mailto:[EMAIL PROTECTED] Sent: Monday, January 22, 2007 3:38 PM To: [email protected] Subject: [m2eclipse-user] running from the command line I asked this deep in another thread but it got lost there, and I think it sort of belongs in it's own thread. Eugene suggested using the command line when I encountered issues and I thought it sounded like a good idea, but I never got around to it. Now, I am trying to get a couple of jars added to my pom that maven is failing on (such as comm-2.0.jar for javax.comm stuff), so I guess I need to do it manually. Trying mvn on the command line gives an error, as of course I never installed maven (I only have it as a plugin within eclipse) What do you suggest installing? Maven 2.0.4 ? Cheers, Andy ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++ WARNING: This email and any attachments may be confidential and/or privileged. They are intended for the addressee only and are not to be read, used, copied or disseminated by anyone receiving them in error. If you are not the intended recipient, please notify the sender by return email and delete this message and any attachments. The views expressed in this email are those of the sender and do not necessarily reflect the official views of Landcare Research. SirTrack http://www.sirtrack.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++ WARNING: This email and any attachments may be confidential and/or privileged. They are intended for the addressee only and are not to be read, used, copied or disseminated by anyone receiving them in error. If you are not the intended recipient, please notify the sender by return email and delete this message and any attachments. The views expressed in this email are those of the sender and do not necessarily reflect the official views of Landcare Research. SirTrack http://www.sirtrack.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ ++++ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ WARNING: This email and any attachments may be confidential and/or privileged. They are intended for the addressee only and are not to be read, used, copied or disseminated by anyone receiving them in error. If you are not the intended recipient, please notify the sender by return email and delete this message and any attachments. The views expressed in this email are those of the sender and do not necessarily reflect the official views of Landcare Research. SirTrack http://www.sirtrack.com ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ --------------------------------------------------------------------- To unsubscribe from this list please visit: http://xircles.codehaus.org/manage_email
