cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From d...@cocoon.apache.org
Subject [Cocoon Wiki] Updated: HowToBuildAndDeployCocoonWithMaven
Date Wed, 01 Dec 2004 13:06:24 GMT
   Date: 2004-12-01T05:06:24
   Editor: EricJacob <eric.jacob@bell.ca>
   Wiki: Cocoon Wiki
   Page: HowToBuildAndDeployCocoonWithMaven
   URL: http://wiki.apache.org/cocoon/HowToBuildAndDeployCocoonWithMaven

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -22,9 +22,9 @@
 
 == Option 1 (the hard way...) ==
 
-This option is the one I used to use before discovering Ralph's method (option 2). It consists
mainly in manually tracking all the Cocoon's JARs and putting them into your Maven repository.
Here the steps:
+This option is the one I used to use before discovering the power of the ''maven.xml'' (thanks
to Self:RalphGoers :) ). It consists mainly in manually tracking all the Cocoon's JARs and
putting them into your Maven repository. Here the steps:
 
- 1. Build Cocoon with only the desired properties and blocks (as explained in INSTALL.txt)
by typing ''build war'' or ''./build.sh war'';
+ 1. Build Cocoon with only the desired properties and blocks (as explained in INSTALL.txt)
by typing ''build'' or ''./build.sh'';
  1. Move all the generated JARs (build/webapp/WEB-INF/lib) into your Maven repository;
  1. Copy the generated Cocoon webapp folder (build/webapp) to your project source directory
(e.g. projectA/src/webapp), except the JARs;
  1. Add the JARs dependencies to your Maven project;
@@ -35,7 +35,7 @@
 
 == Option 2 (recommended) ==
 
- 1. Build Cocoon with only the desired properties and blocks (as explained in INSTALL.txt)
by typing ''build war'' or ''./build.sh war'';
+ 1. Build Cocoon with only the desired properties and blocks (as explained in INSTALL.txt)
by typing ''build'' or ''./build.sh'';
  1. Copy the generated WAR (build/cocoon-2.1.6/cocoon.war) into your Maven repository (you
may want to rename it, for example cocoon-2.1.6.war);
  1. Add the WAR dependency to your Maven project descriptor;
  1. In maven.xml, add a preGoal element containing an unwar instruction for expending the
specified WAR;

Mime
View raw message