Sunday, October 29, 2006

Continuum and SSL authentication solved

We got SSL authentication working in Continuum this Friday, by applying this one-line patch that we found in the JIRA. These are the steps that we followed, roughly:
  1. Checkout the source:

    svn co http://svn.apache.org/repos/asf/maven/continuum/tags/continuum-1.0.3/
  2. Apply the patch (it's just one line, so it's trivial to apply it by hand).
  3. Build the whole thing with Maven:

    mvn -Dmaven.test.skip=true -DappProperties=app.properties install
    Some tests failed, and I didn't have the time to investigate further, and one of the modules failed to find the app.properties file automatically. Also, you may need to download and install some Sun jars manually, but that's not a big problem since Maven hands you a command line to use.
Now Continuum is ready to run, if the build succeeds. There is a build guide, and a README that contains additional information. In our case, we have a hierarchy of projects which are automatically identified and set up in Continuum. Very handy!

No comments: