cocoon-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [DAISY] Updated: Cocoon and Maven2 (aka "Mavenization of Cocoon" aka "M10")
Date Wed, 11 Jan 2006 16:01:20 GMT
A document has been updated:

Document ID: 756
Branch: main
Language: default
Name: Cocoon and Maven2 (aka "Mavenization of Cocoon" aka "M10") (previously M10N)
Document Type: Cocoon Document (unchanged)
Updated on: 1/11/06 4:01:08 PM
Updated by: Jorg Heymans

A new version has been created, state: publish

This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 12484 bytes (previous version: 11492 bytes)
Content diff:
(197 equal lines skipped)
    throws an exception or corrupts the binary file. The substitution engine also
    garbles special chars like ©, this happens currently in
    core-archetype/welcome.xslt, making the xslt processor barf.
--- (<a href=""></a>)   
+++ (<a href=""></a>)
    <li>It is impossible to use archetypes unless they are published on ibiblio
    (<a href=""></a>)
(10 equal lines skipped)
    <a href="">maven repo</a>
    for examples.</p>
+++ <h2>Cocoon archetypes</h2>
+++ <p>At the moment there is only one archetype : archetypes/cocoon-core-archetype.
+++ </p>
+++ <p>The archetype descriptor is located in
+++ <tt>src/main/resources/META-INF/archetype.xml</tt> . This descriptor describes
+++ the files that make up the archetype.</p>
+++ <p>A perl script is available to generate this file automatically. If you need
+++ to regenerate the file after an svn update just run <tt>perl
+++ &gt; META-INF/archetype.xml</tt> from <tt>src/main/resources</tt>.</p>
+++ <p>For testing the archetype, first do <tt>mvn install</tt> from
+++ cocoon-core-archetype to install it in your local repository. Then run  :</p>
+++ <p><tt>mvn archetype:create
+++ -DarchetypeGroupId=org.apache.cocoon.maven.archetypes
+++ -DarchetypeArtifactId=cocoon-archetype-core -DartifactId=testartifact
+++ -DarchetypeVersion=1.0-SNAPSHOT -DgroupId=testgroup<br/>
+++ </tt><br/>
+++ You should then have a working prototype of a cocoon webapp only containing
+++ core, similar to what is in cocoon-webapp.</p>
    <h2>How to add a new dependency to an existing module</h2>
    <p>There are two possibilities here : the new dependency is already using maven,
(64 equal lines skipped)

no changes

no changes

Custom Fields
no changes

no changes

View raw message