Return-Path:
This document is intended for the=C2=A0developers wor=
king on Cocoon
--- itself - if you're looking for using Cocoon have a look at
+++ itself - if you're looking for using Cocoon have a look at
this document. Do 'svn checkout' of Cocoon trunk. Keep up-to-date because there is =
everyday
--- improvement. Do svn checkout http://svn.apache.org/repos/asf/cocoon/trunk of
+++ Cocoon trunk. Keep up-to-date because there is everyday improvement. Need at least Maven-2.0.2 and follow the
+++ Need at least Maven-2.0.4 and follow the
installa=
tion
--- instructions. Ensure that 'mvn --version' is okay.Getting started with Cocoon trunk development
---=20
Get Cocoon-2.2 trunk
+++ Get Cocoon 2.2 from trunk
=20
--- Install Maven
+++ Install Maven
=20
---
It would also help to read the +++
If you are not familiar with Maven, It is highly recommended to read= the G= etting Started guide.
=20 ---This will take some time, as Cocoon has lots of dependencies.
+++This will take some time, as Cocoon has lots of dependencies which w= ill be +++ downloaded my Maven automatically. Go to the root directory of your wor= king copy +++ of Cocoon and call
=20 ---# Change directory to Cocoon trunk $COCOON_HOME --- cd /svn/asf/cocoon-trunk +++mvn clean install -Dmaven.test.skip=3Dtrue=20 --- # Run maven, skipping the Cocoon tests for now --- mvn clean install -Dmaven.test.skip=3Dtrue +++This will build the core artifacts (sitemap, pipelines, blocks-fw, e= tc.) and +++ the most important blocks. If you want to build Cocoon completly, call<= /p> +++=20 +++
mvn install -Dmaven.test.skip=3Dtrue -P allblocks=20 ---Maven has a list of repositories at which it will attempt to find ea= ch --- dependency jar. If one repository does not have it, or is not available= , then a --- warning will be issued and alternate repositories will be used. If it f= ails, --- then you need to keep running Maven until it is successful.
+++which activates the allblocks profile.
=20 ---# Keep running maven until successful --- mvn install -Dmaven.test.skip=3Dtrue---=20If you run into problems, check the page on solving common Maven2 problems.
=20 ---Offline mode
+++Offline mode
=20After your local repository is ready and Cocoon has been built, subs= equent builds can be executed in offline mode. Maven will look for dependencie= s or poms (3 equal lines skipped) =20
mvn -o ...=20 ---Next steps
---=20 ---After you have the trunk building, you can now go on to follow some = of the --- tutorials and get going with your favourite blocks.
---=20 ---