cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From da...@cocoon.zones.apache.org
Subject [DAISY] Updated: Using the Cocoon Deployer
Date Wed, 02 May 2007 10:59:14 GMT
A document has been updated:

http://cocoon.zones.apache.org/daisy/documentation/1358.html

Document ID: 1358
Branch: main
Language: default
Name: Using the Cocoon Deployer (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 5/2/07 10:58:57 AM
Updated by: Reinhard Pötz

A new version has been created, state: publish

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 1620 bytes (previous version: 37 bytes)
Content diff:
--- <html><body><p>TODO</p></body></html>
+++ <html>
+++ <body>
+++ 
+++ <p class="note">The cocoon-maven-plugin hasn't been released yet. For the time
+++ being, you have to checkout Cocoon trunk
+++ <tt>http://svn.apache.org/repos/asf/cocoon/trunk</tt>. Then build it by invoking
+++ <tt>mvn install</tt>.<br/>
+++ Make also sure that you use recent SNAPSHOT versions of cocoon-core-2.2.0 and
+++ cocoon-servlet-service-impl-1.0.0.</p>
+++ 
+++ <h1>Step 1: Basics</h1>
+++ 
+++ <p>Inorder to use the Cocoon Deployer, you need a Cocoon web application, e.g.
+++ one that is generated as described in the Getting Started Tutorial. Expressed in
+++ terms of Maven 2, it mean that the <tt>packaging type</tt> in your pom.xml
is
+++ <tt>war</tt>.</p>
+++ 
+++ <h1>Step 2: Enabling the deployer</h1>
+++ 
+++ <p>Enable the Cocoon Maven plugin in your pom.xml:</p>
+++ 
+++ <pre>&lt;project&gt;
+++   &lt;build&gt;
+++     &lt;plugins&gt;
+++       [...]
+++       &lt;plugin&gt;
+++         &lt;groupId&gt;org.apache.cocoon&lt;/groupId&gt;
+++         &lt;artifactId&gt;cocoon-maven-plugin&lt;/artifactId&gt;
+++         &lt;version&gt;1.0.0-M1-SNAPSHOT&lt;/version&gt;
+++         &lt;configuration&gt;
+++           [...]
+++         &lt;/configuraiton&gt;
+++       &lt;/plugin&gt;
+++       [...]
+++     &lt;/plugins&gt;
+++   &lt;/build&gt;
+++ &lt;/project&gt;   </pre>
+++ 
+++ <h1>Step 3: Configuration</h1>
+++ 
+++ <p>You can also provide configuration properties. Use the
+++ <a href="./deploy-mojo.html">goal documentation</a> generated from the Javadoc
+++ comments to find out more.</p>
+++ 
+++ <h1>Step 4: Invoke the deployer</h1>
+++ 
+++ <p>Finally you have to invoke the plugin. If you want to do this manually, enter
+++ </p>
+++ 
+++ <pre><tt>mvn cocoon:deploy</tt> 
+++ </pre>
+++ 
+++ <p>or</p>
+++ 
+++ <pre><tt>mvn cocoon:deploy-wa</tt>r</pre>
+++ 
+++ </body>
+++ </html>


Mime
View raw message