« Cocoon and the portal in Japanese | Main | WSRP support in the Cocoon Portal »

August 18, 2005

Cocoon is trying out Maven2

We just decided to switch to the new Maven2 (currently alpha 3) for the Apache Cocoon build system. The first step was easy: creating the POM, adding all dependencies and invoke m2. Now, as Cocoon is using some snapshots from various projects that where not available in the usual repositories, I had to upload them first which took a little bit of the time. But now, you can build a jar file of the Cocoon core with Maven (ok, nothing fancy, but it's the first step). And this is how it looks:
[INFO] [jar:jar]
[INFO] Building jar: D:\dev\workspace\cocoon-2.2\core\target\cocoon-core-2.2-SNA
PSHOT.jar
[INFO] [source:jar]
[INFO] Not producing source bundle for a SNAPSHOT build
[INFO] -------------------------------------------------------------
[INFO] BUILD SUCCESSFUL
[INFO] -------------------------------------------------------------
[INFO] Total time: 20 seconds
[INFO] Finished at: Thu Aug 18 19:42:03 CEST 2005
[INFO] Final Memory: 2M/6M
[INFO] -------------------------------------------------------------

Next step will be adding the junit tests and then the webapp as a separate project.
Once we're able to build the core, we will switch all blocks to Maven and perhaps modularize the core into several smaller projects. So stay tuned :)
Ah, btw, during the migration we try to keep the old build system working.

Posted by cziegeler at August 18, 2005 06:49 PM