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 2007/03/02 22:50:17 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: 3/2/07 9:50:06 PM
Updated by: Grzegorz Kossakowski

A new version has been created, state: draft

Parts
=====

Content
-------
This part has been updated.
Mime type: text/xml (unchanged)
File name:  (unchanged)
Size: 9994 bytes (unchanged)
Content diff:
(31 equal lines skipped)
    <pre>mvn archetype:create
      -DarchetypeGroupId=org.apache.cocoon
      -DarchetypeArtifactId=cocoon-22-archetype-webapp
---   -DarchetypeVersion=1.0.0-M1
+++   -DarchetypeVersion=1.0.0-M2
      -DgroupId=com.mycompany
      -DartifactId=myWebapp
    </pre>
    
    <p class="note">For copy and paste without line feeds:<br/>
    <tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
--- -DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0-M1
+++ -DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0-M2
    -DgroupId=com.mycompany -DartifactId=myWebapp</tt></p>
    
    <p>Because of a Maven bug, it could be necessary to add the apache.snapshots
(29 equal lines skipped)
    <pre>mvn archetype:create
      -DarchetypeGroupId=org.apache.cocoon
      -DarchetypeArtifactId=cocoon-22-archetype-block
---   -DarchetypeVersion=1.0.0-M4
+++   -DarchetypeVersion=1.0.0-M5
      -DgroupId=com.mycompany
      -DartifactId=myBlock1 
    </pre>
    
    <p class="note">Once again for copy and paste without line feeds:<br/>
    <tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
--- -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-M4
+++ -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0-M5
    -DgroupId=com.mycompany -DartifactId=myBlock1</tt></p>
    
    <p>Because of a Maven bug, it could be necessary to add the apache.snapshots
(188 equal lines skipped)