cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ralph Goers <>
Subject [RT] Cocoon 2.2 Maven based build
Date Mon, 15 May 2006 08:23:04 GMT
The README.txt file has these instructions:
I was recently asked whether the maven build as it exists in trunk today 
is sufficient to address what I perceive to be what Cocoon users want. 
Well, I can only speak for myself, but my answer was no.  Why not?  The 
following is an excerpt from the README.txt in trunk:


0. checkout complete trunk and
 $ mvn clean install -Dmaven.test.skip=true

 Call this until you get "BUILD SUCCESSFUL" - sometimes donwloads from 
 repositories are temporarily unaccessible and cause the build to fail.

Now, obviously, this still requires the user of Cocoon to download the 
full source and to build Cocoon.

IMO, appropriate instructions for a "proper" maven build should be:

0. Download and install maven version 2.0.4 or later.
1. Create a pom.xml listing the appropriate Cocoon blocks you will be 
using.  The pom.xml files for all Cocoon blocks specify their 
dependencies so other blocks will also be included as required.
2. Create a "normal" web application structure. In the WEB-INF directory 
create an xconf subdirectory and a configuration file to contain all 
your application specific configuration items which are not 
automatically provided by the included blocks.  Sitemap components 
should also be configured there.
3. Create the sitemaps necessary for your application.
4. Run "maven war:exploded".  This will create the cocoon web 
application. It will automatically invoke the Cocoon block plugin to 
integrate the required Cocoon blocks into your web application.



View raw message