My preference would be to not have to use maven from the command line. I suppose I should give my assumptions here as I could be doing something silly with this whole process.
I want to have a button in eclipse that fires off a build, which: 1. checks if my jars are present 2. compiles my classes 3. generates a jar from those classes 4. puts all my resources into a deploy area 5. runs my project from that deploy area 6. maybe also does unit test scripts etc, I am not sure what all else I might want. My assumption is that the maven plugin is the best way to do this from within eclipse. I also assume that I have to configure maven to know what all my jars are before it can build my code. I did this for stuff like log4j and mysql, using the "add dependency" menu item, but for commercial jars, the jar search does not know about them. So, it sounds like this is just missing functionality from the plugin to allow the use of local jar files, and I should just manually add them as you added below? Otherwise, I am on the right track? Also, I am still having aplugin build error, which I talked about in this thread: http://www.nabble.com/now-what-%28got-it-running%29-tf3051509s177.html#a8508899 where the build fails on maven-surefire-plugin:pom Any thoughts about that? Cheers, Andy >>> [EMAIL PROTECTED] 23/01/2007 10:25 a.m. >>> Out of curiosity, why do you need Maven if you don't using it from the command line? The main point is that your build is always reproduceable and work the same from the IDE and the command line. Anyways, you don't really have to deploy your jars into the local repository. They can live inside your project and declared as system scope with provided path to the actual jar <dependency> <groupId>fooGroup</groupId> <artifactId>fooId</artifactId> <version>0.0.5</version> <scope>system</scope> <systemPath>${basedir}/lib/foo.jar</systemPath> </dependency> However this is a general Maven question and don't really have much to do with the plugin. regards, Eugene Andy Dingfelder wrote: > 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 > --------------------------------------------------------------------- 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
