Hello Developers,
A very long time ago (Sun, 16 Nov 2003 12:20:36 +0100) Kees suggested to
use maven as build system for MMBase. We have been experimenting with it
in the speeltuin for some months and I think it is time to put it next
to the current ant build system. I have moved the sources from the
speeltuin to the build directory and restructured them to meet the
direectory structure.
Not all functionality from the ant system is covered with maven yet.
- The rmmci application is not compiling, but I haven't had the time to
fix that
- Advanced jarring of config files
- Documentation is not implemented yet. The speeltuin contains some
trial code
- There are no goals yet to create the same distributions as the ant
system does. But maven had its own dist goal and we might create a
example.war instead of the bindist.
When I tried to put it in use I came to the conclusion that I usually
wanted the templates and config files too from the application. There
was already an apps2 maven plugin on sf.net, but that one is more
advanced then I needed. I implemented a very basic mmbase-module maven
plugin which can be used to package everything up and extract the
mmbase-modules into a war file. The apps2 plugin looks very promising
when the full maven build is in place.
Next steps to get a full development environment are:
- Adding the above missing features
- Install a maven repository. Basically creating a directory in the
webserver docroot and copying the mmbase artifacts in there is enough
- Setup an auto-build to run 'maven multiproject:install-snapshot' for a
nightly build
- Running nightly site generation.
If this is all in place then we could setup the same thing for the
contributions module. We might then move some stuff from sf,net to the
mmbase systems.
If you want to give maven a try then you should checkout the cvs 'all'
module and execute maven multiproject:install.
Nico
PS. http://mmapps.sourceforge.net host a nice utility called the
CloudProvider. Check that one out. It is better then the CloudFactory I
have been using.
_______________________________________________
Developers mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/developers