logo       

[Cocoon Wiki] Updated: HowToBuildAndDeployCocoonWithMaven: msg#00002

Subject: [Cocoon Wiki] Updated: HowToBuildAndDeployCocoonWithMaven
   Date: 2004-12-01T05:06:24
   Editor: EricJacob <eric.jacob@xxxxxxx>
   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;



<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
qnx.openqnx.dev...    politics.lenini...    audio.emagic.ex...    tex.texinfo.gen...    handhelds.linux...    ietf.sipping/20...    lang.erlang.gen...    cygwin.talk/200...    yellowdog.gener...    mozilla.devel.l...    xfree86.newbie/...    openbsd.ports/2...    db.oracle.devel...    kde.kalyxo.deve...    user-groups.lin...    bbc.cvs/2003-04...    gnu.libtool.bug...    redhat.k12osn/2...    emulators.wine....    freebsd.devel.d...    search.xapian.g...    java.izpack.use...    network.mrtg.us...    windows.total-c...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe