Maven 2 Version

29 03 2007

You may have noticed that the maven 2 build has M2 all over it. This was to avoid conflicts with the maven 1 builds, but we need to be able to build everything to particular versions. This is not quite as easy as with maven 1 where allowed you to build a specific version.

In Maven 2 the mechanism appears to be the settings.xml file, where properties can be defined. At some point I need to change all the M2 references into ${} references and provide a settings.xml file to define what is, alternatively a simple mvn command could be used, eg mvn The drawback with thins is that its not bound to SVN so when you check out the 2.4 tag you have to know howto build. Perhaps a and build.bat would make sense. However we do it we need to be able to build different version bound to SVN without editing the entire pom tree…… but then on release a find sed combination wouldn’t be so bad ? (runs for cover)




%d bloggers like this: