You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by phillip rhodes <rh...@yahoo.com> on 2005/07/23 03:40:29 UTC

Bootstrapping a

Hi,
I am the author of a open source
(LGPL, considering other licenses) hibernate and
tapestry-based ecommerce suite, it's over 100 tables
with credit card processing, lucene catalog search,
tons of features.  It's uses maven "1" to build all
it's artifacts, it also uses custom plugin I wrote to
help the build process (just jelly script).

Folks are asking me how they can build the software
themselves.  Right now it's a cumbersome process,
fetch this from cvs, fetch that from cvs, install this
plugin, etc...  I would like to be able to say:
1) Install maven
2) maven buildenv

The buildenv goal would go out and fetch all the cvs
moduless necessary for my project, install a few
plugins and basically leave the user ready to go.

I would be interested in seeing a couple of examples,
or pointers of some projects that may have done this.

I also wouldn't mind (hint;) someone willing to
volunteer and work with me to build this
functionality.  I would consider doing the migration
to maven2 if necessary if it would help sway someneo
into collaborating on this with me.

Thank you.
Phillip Rhodes

http://www.rhoderunner.com
http://www.jsso.org
http://www.rhoderunner.com/portal-site





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


Re: Bootstrapping a

Posted by Brett Porter <br...@gmail.com>.
This is possible with Maven1 using a multiproject setup.

The top level project should run plugin:install-now over the plugins
directory (-now is needed to ensure they are loaded into the currently
executing Maven). After that it can execute Maven over your main
project.

If this is at the very top level of the project, you would check it
all out together, or you can put this in a subdirectory on its own and
the code above can be checked out using
maven scm:checkout

To obtain the very first project and start executing a goal, you can use 
maven scm:bootstrap-project -Dmaven.scm.url=... -Dmaven.scm.bootstrap.goals=...

Certainly, this would be a bit easier with m2, however it doesn't have
any additional native SCM capabilities yet: I think we are planning to
build the SCM code into Maven itself for Maven 2.1 release, eg:

m2 --setup groupId:artifactId:version <goals>

would get that from the POM, get the SCM URL, check it out, and run it.

Cheers,
Brett

On 7/23/05, phillip rhodes <rh...@yahoo.com> wrote:
> Hi,
> I am the author of a open source
> (LGPL, considering other licenses) hibernate and
> tapestry-based ecommerce suite, it's over 100 tables
> with credit card processing, lucene catalog search,
> tons of features.  It's uses maven "1" to build all
> it's artifacts, it also uses custom plugin I wrote to
> help the build process (just jelly script).
> 
> Folks are asking me how they can build the software
> themselves.  Right now it's a cumbersome process,
> fetch this from cvs, fetch that from cvs, install this
> plugin, etc...  I would like to be able to say:
> 1) Install maven
> 2) maven buildenv
> 
> The buildenv goal would go out and fetch all the cvs
> moduless necessary for my project, install a few
> plugins and basically leave the user ready to go.
> 
> I would be interested in seeing a couple of examples,
> or pointers of some projects that may have done this.
> 
> I also wouldn't mind (hint;) someone willing to
> volunteer and work with me to build this
> functionality.  I would consider doing the migration
> to maven2 if necessary if it would help sway someneo
> into collaborating on this with me.
> 
> Thank you.
> Phillip Rhodes
> 
> http://www.rhoderunner.com
> http://www.jsso.org
> http://www.rhoderunner.com/portal-site
> 
> 
> 
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 
>

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