R – continuous integration based on maven2

continuous integrationmaven-2shellsvn

I am trying to figure out how to setup continuous integration using maven.

What I want is:

  1. Check for new stuff in SVN
  2. If changes are detected, check them out
  3. Build and deploy

I think all of this can be pushed into some shell script to make it be invoked by cron. Thus we will have automated continuous integration (nightly builds, for example)

I know that maven has SCM plugin for working with version control systems, but I don't know how to make it check for changes in repository and based on the results launch checkout.

So I am asking the audience 🙂

PS I forget to mention – I am NOT INTERESTING in any of existing applications! They are too heavy for my VPS server. Please do not advise them

Best Answer

Take a look at Hudson. It's free, open-source, actively developed, has dozens of useful plugins, has great Maven2 support, and is all around awesome.

It's also frequently discussed on Stack Overflow.