[DAISY] Updated: Your first Cocoon application using Maven 2
| Newsgroups | gmane.text.xml.cocoon.documentation |
|---|---|
| Message-ID | <[email protected]> |
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: 6/22/08 9:34:20 PM
Updated by: David Legg
A new version has been created, state: draft
Parts
=====
Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name: (unchanged)
Size: 7427 bytes (previous version: 7480 bytes)
Content diff:
(33 equal lines skipped)
catalog of Cocoon specific archetypes is available on the Cocoon web site and
you will make use of this in the following instructions.</p>
--- <p>Run the following Maven command and when requested type in the answers: -</p>
+++ <p>Run the following Maven command: -</p>
<pre>mvn archetype:generate -DarchetypeCatalog=http://cocoon.apache.org
</pre>
--- <p>Maven will then generate some output and then interactively ask you for some
+++ <p>Maven will generate some output and then interactively ask you for some
information: -</p>
<pre>Choose archetype:
(15 equal lines skipped)
Define value for package: : <strong>com.mycompany.myBlock1
</strong></pre>
--- <p>Maven then goes on to ask for more information. Just enter the details as
--- shown. The groupId is just a label that you can use to group all the blocks in
--- your application. The artifactId is the unique label that will identify this
--- block from all others. It is also the name of the directory that will be
--- created to contain the block's files. The package is the Java package that any
--- Java files in the block will be assigned to.</p>
+++ <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
+++ application. The artifactId is the unique label that will identify this block
+++ from all others. It is also the name of the directory that will be created to
+++ contain the block's files. The package is the Java package that any Java files
+++ in the block will be assigned to.</p>
<p class="note">If you are using a cocoon binary build from svn trunk then you
probably want to change the archetypeVersion to the most recent one, matching
(99 equal lines skipped)