cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Antonio Gallardo <>
Subject Maven2 plugin for eclipse with cocoon 2.2
Date Sat, 15 Apr 2006 07:20:01 GMT

Maybe I am late and some of you already know the following trick in 
maven adventure. Anyhow, I wanted to share a different way to create 
cocoon 2.2 project into eclipse. This hint was told me by Carlos Chávez. 
I prefer this way because it create just 1 project instead of the tens 
of projects created in eclipse by the original description in our 
official README.txt [1]. Carlos prefers the maven2 plug in for eclipse 
[2]. Before adding this technique to our README.txt I wanted to share it 
with you and get some feedback. Here is the step by step installation 

1. Download and install maven2 plug in for eclipse. Flash demo here [3]. 
Latest version is 0.5
2. Download and install subeclipse [4] Latest version is 1.0.1
3. Using subeclipse create a project for cocoon 2.2.
4. Remove default src directory: Right click on the cocoon 2.2 project 
and run "properties".
    4.a. On the properties dialog Select "Java build path".
    4.b Select "source" tab.
    4.c Select the Cocoon 2.2 src path and remove it.
4. Enable maven2 support: Right click on the cocoon-2.2 project and run 
5. Create source folders: Right click on the cocoon -2.2 project and run 
Maven2/Update source folders

Still there are some problems with this plugin, but allows to see 1 
project, wich I found very useful.


Best Regards,

Antonio Gallardo


View raw message