You are viewing a plain text version of this content. The canonical link for it is here.
Posted to docs@cocoon.apache.org by da...@cocoon.zones.apache.org on 2008/08/11 04:42:28 UTC

[DAISY] Updated: Your first Cocoon application using Maven 2

A document has been updated:

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

Document ID: 1159
Branch: main
Language: default
Name: Your first Cocoon application using Maven 2 (unchanged)
Document Type: Cocoon Document (unchanged)
Updated on: 8/11/08 2:42:13 AM
Updated by: Mark Lundquist

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 7728 bytes (previous version: 7500 bytes)
Content diff:
(57 equal lines skipped)
    <pre>Define value for groupId: : <strong>com.mycompany</strong>
    Define value for artifactId: : <strong>myBlock1</strong>
    Define value for version:  1.0-SNAPSHOT: : <strong>1.0.0</strong>
--- Define value for package: : <strong>com.mycompany.myBlock1</strong><strong><strong>
--- </strong></strong></pre>
+++ Define value for package: : <strong>com.mycompany.myBlock1</strong> </pre>
    
    <p>Maven then asks a few more questions.  Just enter the details as shown
    above.  The groupId is a label that you can use to group all the blocks in your
(17 equal lines skipped)
           +-[...]
    </tt></pre>
    
+++ <p class="note">A bug in Maven 2.0.9 mangles one of the files copied from the
+++ archetype.  In order for the example to work correctly, you need to manually
+++ edit src/main/resources/COB-INF/demo/spring-bean.jx.xml, and change "#message"
+++ back to "#{message}".</p>
+++ 
    <h1>Import the block in Eclipse</h1>
    
    <p class="note">Cocoon is not tied to Eclipse IDE by any means. This step only
(83 equal lines skipped)