You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Jason van Zyl <jv...@maven.org> on 2004/01/03 06:43:16 UTC

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
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2004-01-09 at 05:44, Emmanuel Venisse wrote:
> Your tgz is invalid

I'll just check in the source today. I started working on cleaning the
new test plugin up and then I just started cleaning up surefire because
I just want to write a descriptor for the xmlunit plugin tests ... so
surefire will pick up an xml file and turn it into a test suite and add
it to an existing set of tests to run. Based on the same principle as
the report registration where you setup a chain of plugins to run for
reporting. This stuff will setup a chain of test plugins to run. I
should be done today sometime. Trying to get the automated uploading
working first.

> Emmanuel
> 
> ----- Original Message ----- 
> From: "Jason van Zyl" <jv...@maven.org>
> To: "Maven Developers List" <de...@maven.apache.org>
> Sent: Monday, January 05, 2004 5:02 AM
> Subject: Re: Maven Mboot
> 
> 
> > On Sun, 2004-01-04 at 15:10, Emmanuel Venisse wrote:
> > 
> > > 
> > > OK, send me your runner and I'll integrate it.
> > 
> > http://www.apache.org/~jvanzyl/test-stuff.tgz
> > 
> > That contains two builds, one for the test plugin which bootstraps the
> > test-runner with an isolated classloader. You probably only need to use
> > the test-runner. Integrate as you like, and send me any patches for now.
> > 
> > -- 
> > jvz.
> > 
> > Jason van Zyl
> > jason@zenplex.com
> > 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2004-01-09 at 12:02, Emmanuel Venisse wrote:
> > Emmanuel, I figured if you want to do the work to clean it up you can. I
> > just checked it in. You will immediately notice that it is bound to my
> > home directory which is the first thing you will have to change.
> 
> yep.
> 
> >
> > The other thing you will notice is that plexus-utils should be moved as
> > being a dependency from the surefire-runner to the booter. I didn't
> > notice this as maven-core itself has a dependency on plexus-utils
> > itself. What I'm trying to achieve with teh surefire-runner is to have
> > no dependencies except for junit.
> 
> Surefire-runner will keep a dependency to plexus-utils beacause it use 2
> classes of it

I was thinking I would use the directory scanner in the booter to build
the list of tests and then just pass in the list of tests. This would
remove the dep on plexus-utils in the runner.

Just add another argument to the invocation of the runner. Then
plexus-utils can be specified as a dep to the surefire plugin and it
will be picked up and used to gather the list of tests to run, then you
can eliminate the dependency on plexus-utils in the runner which I think
would be good. 

> >
> > Once you build the plugin it must currently replace the existing test
> > plugin in order for the maven-core bootstrap to work correctly. With
> > classloader isolation and no classloader wanking in general the
> > JUnitTask won't function.
> >
> > It's sitting there if you want to take a crack at it, if not no problem.
> > Just poke me if you have any questions.
> 
> I'll try to do it this weekend.
> 
> Emmanuel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Dependency logic

Posted by Ben Walding <be...@walding.com>.
Just getting into the reactor and I've found what looks like an error in 
logic to me.  Shouldn't it be (in the code pasted below)

if (!blah blah blah)


I've got the reactor tag ordering thingamajig working now.  Will start 
committing it later tonight.

Cheers,

Ben

/**
     * Add a unique dependency for this project.
     *
     * @param dependency Dependency for this project.
     */
    public void addDependency( Dependency dependency )
    {
        if ( getModel().getDependencies().contains( dependency ) )
        {
            getModel().addDependency( dependency );

            dependencyMap.put( dependency.getId(), dependency );
        }
    }




---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Sat, 2004-01-10 at 03:39, Jason van Zyl wrote:
> On Fri, 2004-01-09 at 12:02, Emmanuel Venisse wrote:
> 
> > I'll try to do it this weekend.
> 
> It's all cleaned up for you now, so you should just be able to
> incorporate the runner into mboot.
> 

I will leave the surefire things alone for the time being then. I was
going to try and integrate jython/beanshell testing but I'm going going
to scrub out the ant tag lib first and align Jelly and Ant for some
degree of sanity.
-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

First, the taking in of scattered particulars under one Idea,
so that everyone understands what is being talked about ... Second,
the separation of the Idea into parts, by dividing it at the joints, 
as nature directs, not breaking any limb in half as a bad carver might.

  -- Plato, Phaedrus (Notes on the Synthesis of Form by C. Alexander)


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2004-01-09 at 12:02, Emmanuel Venisse wrote:

> I'll try to do it this weekend.

It's all cleaned up for you now, so you should just be able to
incorporate the runner into mboot.

> Emmanuel
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@maven.org
http://maven.apache.org

happiness is like a butterfly: the more you chase it, the more it will
elude you, but if you turn your attention to other things, it will come
and sit softly on your shoulder ...

 -- Thoreau 


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Emmanuel Venisse <em...@venisse.net>.
> Emmanuel, I figured if you want to do the work to clean it up you can. I
> just checked it in. You will immediately notice that it is bound to my
> home directory which is the first thing you will have to change.

yep.

>
> The other thing you will notice is that plexus-utils should be moved as
> being a dependency from the surefire-runner to the booter. I didn't
> notice this as maven-core itself has a dependency on plexus-utils
> itself. What I'm trying to achieve with teh surefire-runner is to have
> no dependencies except for junit.

Surefire-runner will keep a dependency to plexus-utils beacause it use 2
classes of it

>
> Once you build the plugin it must currently replace the existing test
> plugin in order for the maven-core bootstrap to work correctly. With
> classloader isolation and no classloader wanking in general the
> JUnitTask won't function.
>
> It's sitting there if you want to take a crack at it, if not no problem.
> Just poke me if you have any questions.

I'll try to do it this weekend.

Emmanuel


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Fri, 2004-01-09 at 05:44, Emmanuel Venisse wrote:
> Your tgz is invalid

Emmanuel, I figured if you want to do the work to clean it up you can. I
just checked it in. You will immediately notice that it is bound to my
home directory which is the first thing you will have to change.

The other thing you will notice is that plexus-utils should be moved as
being a dependency from the surefire-runner to the booter. I didn't
notice this as maven-core itself has a dependency on plexus-utils
itself. What I'm trying to achieve with teh surefire-runner is to have
no dependencies except for junit.

Once you build the plugin it must currently replace the existing test
plugin in order for the maven-core bootstrap to work correctly. With
classloader isolation and no classloader wanking in general the
JUnitTask won't function.

It's sitting there if you want to take a crack at it, if not no problem.
Just poke me if you have any questions.

> Emmanuel
> 
> ----- Original Message ----- 
> From: "Jason van Zyl" <jv...@maven.org>
> To: "Maven Developers List" <de...@maven.apache.org>
> Sent: Monday, January 05, 2004 5:02 AM
> Subject: Re: Maven Mboot
> 
> 
> > On Sun, 2004-01-04 at 15:10, Emmanuel Venisse wrote:
> > 
> > > 
> > > OK, send me your runner and I'll integrate it.
> > 
> > http://www.apache.org/~jvanzyl/test-stuff.tgz
> > 
> > That contains two builds, one for the test plugin which bootstraps the
> > test-runner with an isolated classloader. You probably only need to use
> > the test-runner. Integrate as you like, and send me any patches for now.
> > 
> > -- 
> > jvz.
> > 
> > Jason van Zyl
> > jason@zenplex.com
> > 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Emmanuel Venisse <em...@venisse.net>.
Your tgz is invalid

Emmanuel

----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven Developers List" <de...@maven.apache.org>
Sent: Monday, January 05, 2004 5:02 AM
Subject: Re: Maven Mboot


> On Sun, 2004-01-04 at 15:10, Emmanuel Venisse wrote:
> 
> > 
> > OK, send me your runner and I'll integrate it.
> 
> http://www.apache.org/~jvanzyl/test-stuff.tgz
> 
> That contains two builds, one for the test plugin which bootstraps the
> test-runner with an isolated classloader. You probably only need to use
> the test-runner. Integrate as you like, and send me any patches for now.
> 
> -- 
> jvz.
> 
> Jason van Zyl
> jason@zenplex.com
> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Sun, 2004-01-04 at 15:10, Emmanuel Venisse wrote:

> 
> OK, send me your runner and I'll integrate it.

http://www.apache.org/~jvanzyl/test-stuff.tgz

That contains two builds, one for the test plugin which bootstraps the
test-runner with an isolated classloader. You probably only need to use
the test-runner. Integrate as you like, and send me any patches for now.

-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven Developers List" <de...@maven.apache.org>
Sent: Sunday, January 04, 2004 6:38 PM
Subject: Re: Maven Mboot


> 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).

OK, send me your runner and I'll integrate it.

>
> > >
> > > > Emmanuel
> > > >
> > > > ----- Original Message ----- 
> > > > From: "Jason van Zyl" <jv...@maven.org>
> > > > To: <de...@maven.apache.org>
> > > > 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
> > > > > jason@zenplex.com
> > > > > 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: dev-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > > >
> > > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > -- 
> > > jvz.
> > >
> > > Jason van Zyl
> > > jason@zenplex.com
> > > 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: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> -- 
> jvz.
>
> Jason van Zyl
> jason@zenplex.com
> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
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" <jv...@maven.org>
> > > To: <de...@maven.apache.org>
> > > 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
> > > > jason@zenplex.com
> > > > 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: dev-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: dev-help@maven.apache.org
> > > >
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > -- 
> > jvz.
> >
> > Jason van Zyl
> > jason@zenplex.com
> > 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Emmanuel Venisse <em...@venisse.net>.
----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: "Maven Developers List" <de...@maven.apache.org>
Sent: Sunday, January 04, 2004 4:35 PM
Subject: Re: Maven Mboot


> On Sun, 2004-01-04 at 09:46, Emmanuel Venisse wrote:
> > I think we must add junit test execution with mboot if unit tests
exists.
>
> That's easily possible. It wasn't really what I intended for mboot but I
> have a new test plugin that's tiny, runs tests in a completely isolated
> classloader and only requires junit. So entirely possibly if you want to
> add it. The download is only 11k so adding the test runner would only
> add another few k and would allow things like gump to do what they need
> to without requiring Maven itself.

Yes, I want to add it, because with Maven, we recommend some best practices.
If we purpose another tool, we must apply this best practices.
Junit is 118k but it will be downloaded one time.

>
> > Emmanuel
> >
> > ----- Original Message ----- 
> > From: "Jason van Zyl" <jv...@maven.org>
> > To: <de...@maven.apache.org>
> > 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
> > > jason@zenplex.com
> > > 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: dev-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: dev-help@maven.apache.org
> > >
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> -- 
> jvz.
>
> Jason van Zyl
> jason@zenplex.com
> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Jason van Zyl <jv...@maven.org>.
On Sun, 2004-01-04 at 09:46, Emmanuel Venisse wrote:
> I think we must add junit test execution with mboot if unit tests exists.

That's easily possible. It wasn't really what I intended for mboot but I
have a new test plugin that's tiny, runs tests in a completely isolated
classloader and only requires junit. So entirely possibly if you want to
add it. The download is only 11k so adding the test runner would only
add another few k and would allow things like gump to do what they need
to without requiring Maven itself.

> Emmanuel
> 
> ----- Original Message ----- 
> From: "Jason van Zyl" <jv...@maven.org>
> To: <de...@maven.apache.org>
> 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
> > jason@zenplex.com
> > 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: dev-unsubscribe@maven.apache.org
> > For additional commands, e-mail: dev-help@maven.apache.org
> > 
> > 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
-- 
jvz.

Jason van Zyl
jason@zenplex.com
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: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


Re: Maven Mboot

Posted by Emmanuel Venisse <em...@venisse.net>.
I think we must add junit test execution with mboot if unit tests exists.

Emmanuel

----- Original Message ----- 
From: "Jason van Zyl" <jv...@maven.org>
To: <de...@maven.apache.org>
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
> jason@zenplex.com
> 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: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org