Eugene, I appreciate the time you are spending on this issue, and think the plugin is a great thing, as it will get lots of new users into the maven community.
I did download maven so I can try it on the command line if things don't work in eclipse, but I am getting close (I assume) to making it work from the plugin so I will keep plugging away if possible. So, adding local items manually did seem to get me past that roadblock. While adding them manually is not the ideal way, it did seem to work. perhaps a user FAQ in the plugin pages would be good on this topic in the meantime. (the only thing I'm not sure about is what value I should have for <scope>, I am using "system" currently) Now, the last issue that is stopping me is the maven-surefire-plugin build error. Cheers, Andy >>> [EMAIL PROTECTED] 23/01/2007 11:27 a.m. >>> Andy, I don't want to spoil your excitement and really appreciate that you are trying hard to make this plug-in work for you. But I also don't want you to get upset after all that hassle you are going trough. Obviously your use case is not quite common, because most of the Maven users do use command line. Note that any issues with the pom you have created for your projects can cause those build errors, and because Maven errors are not easy to interpret I've been suggesting to run your build from the command line first and if it does, then submit an issue with attached Eclipse project that we can use to reproduce your problem. We'll look into make it easier for non-Maven users to get started and support your use cases in future releases.and if anyone would like to contribute to this we'll be glad to accept the patches. I am thinking of new action "add local dependency" and new import wizard for adding jars to the local repository. regards, Eugene Andy Dingfelder wrote: > 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 > > --------------------------------------------------------------------- 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
