On Sun, 2004-01-04 at 10:54, Emmanuel Venisse wrote: > > Yes, I want to add it, because with Maven, we recommend some best practices.
Indeed, it was originally made with the bootstrap in mind but for other purposes it would certainly be good to have the testing occur if desired. > If we purpose another tool, we must apply this best practices. > Junit is 118k but it will be downloaded one time. It would just come down like everything else so not a big deal really. Actually, you can probably just use the runCommand function in the 'maven.functions' bash file to create another method which runs tests. You could simply use one of the JUnit runners that's in JUnit if you want to get started or I can send you the runner I made. The only benefit of the one I made is that it looks like the output produced from the JUnitTask. From bash you can fully control the classpath being used for tests so what you want to do isn't really difficult as all the JUnit runners have a main(String[] args). > > > > > Emmanuel > > > > > > ----- Original Message ----- > > > From: "Jason van Zyl" <[EMAIL PROTECTED]> > > > To: <[EMAIL PROTECTED]> > > > Sent: Saturday, January 03, 2004 6:43 AM > > > Subject: Maven Mboot > > > > > > > > > > Howdy, > > > > > > > > I just finished checking in mboot which is a tool that will build > > > > relatively simple Maven projects without Maven itself. It will build a > > > > simple JAR taking into account resources that need to be packaged. > It's > > > > certainly far from perfect but I can bootstrap Maven and the plugins > > > > with it in addition to build most of my projects including plexus. Bob > > > > just tried it with drools-core and it works there too. > > > > > > > > This little tool might also be handly for those who have an aversion > to > > > > Maven and might also be useful to the gumpers as a lot of Maven > projects > > > > can probably be built with mboot. > > > > > > > > There is a bit of Java to read the project.xml file and the rest is > > > > bash, so if you want to use it on windows simply install cygwin. > > > > > > > > I'll probably improve it over the next few days but it's working to > > > > bootstrap maven which is all I really care about atm. Anyway just > > > > thought it might be useful generally so I separated it and check it > in. > > > > > > > > The source is here: > > > > > > > > http://cvs.apache.org/viewcvs.cgi/maven-components/maven-mboot/ > > > > > > > > And you can get a little self extracting binary here: > > > > > > > > http://www.apache.org/~jvanzyl/mboot-install.sh > > > > > > > > ./mboot-install.sh > > > > > > > > Follow the instructions. Default install directory is ~/mboot > > > > > > > > export MBOOT_HOME=~/mboot > > > > export PATH=$PATH:$MBOOT_HOME > > > > > > > > Go to a directory with a Maven project and: > > > > > > > > mboot > > > > > > > > :-) > > > > > > > > -- > > > > jvz. > > > > > > > > Jason van Zyl > > > > [EMAIL PROTECTED] > > > > http://tambora.zenplex.org > > > > > > > > In short, man creates for himself a new religion of a rational > > > > and technical order to justify his work and to be justified in it. > > > > > > > > -- Jacques Ellul, The Technological Society > > > > > > > > > > > > --------------------------------------------------------------------- > > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > > For additional commands, e-mail: [EMAIL PROTECTED] > > -- > > jvz. > > > > Jason van Zyl > > [EMAIL PROTECTED] > > http://tambora.zenplex.org > > > > In short, man creates for himself a new religion of a rational > > and technical order to justify his work and to be justified in it. > > > > -- Jacques Ellul, The Technological Society > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
