Wendy Smoak wrote:
> On Fri, Apr 2, 2010 at 4:48 PM, Steve Cohen <[email protected]> wrote:
> 
>> The one step I haven't taken yet is generating a fully automated build
>> starting with pristine sources, checking everything it needs out from
>> Source Control and then building it.  That has always seemed to me to be
>> the "holy grail" of automated building, going back to the make days.
>> You "nuke" all the source, get a fresh copy from the source control
>> (tied to a given tag) and build from scratch.  We don't want anything
>> from a developer's working copy involved in any way.
> 
> Any continuous integration server (Continuum, Hudson, etc.) will do
> that for you.
> 
> Reading your second mail, perhaps a simple shell script run on a
> schedule would do?
> 
> cd /path/to/somedir
> rm -rf project
> svn co project-url
> cd project
> mvn clean install
> 
> You could probably do the checkout with the scm plugin if you insist
> on doing it all with Maven, but something has to invoke it, or it's
> not automated... and that's usually a CI server.
> 

You make good sense here.  Having gained some proficiency with Maven, I
now want to use it for everything.  Probably a mistake.  If your only
tool is a hammer, everything looks like a nail.  Etc. Etc.  Probably
best to go outside of Maven to resolve chicken vs egg.  CI can be added
later as needed.

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to