cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1151752 - in /cocoon/cocoon3/trunk: cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml cocoon-docs/src/site/apt/download.apt
Date Thu, 28 Jul 2011 07:21:44 GMT
Author: ilgrosso
Date: Thu Jul 28 07:21:43 2011
New Revision: 1151752

URL: http://svn.apache.org/viewvc?rev=1151752&view=rev
Log:
Fixes in archetype and doc, as per mails in the users ML

Modified:
    cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
    cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml
    cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/download.apt

Modified: cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml?rev=1151752&r1=1151751&r2=1151752&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
(original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-parent/src/main/resources/archetype-resources/pom.xml
Thu Jul 28 07:21:43 2011
@@ -570,4 +570,14 @@
       </plugins>
     </pluginManagement>
   </build>  
+
+  <repositories>
+    <repository>
+      <id>maven2-repository.java.net</id>
+      <name>Java.net Repository for Maven</name>
+      <url>http://download.java.net/maven/2/</url>
+      <layout>default</layout>
+    </repository>
+  </repositories>
+
 </project>

Modified: cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml?rev=1151752&r1=1151751&r2=1151752&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml
(original)
+++ cocoon/cocoon3/trunk/cocoon-archetype-sample/src/main/resources/archetype-resources/pom.xml
Thu Jul 28 07:21:43 2011
@@ -189,4 +189,14 @@
       </plugin>
     </plugins>
   </build>
+
+  <repositories>
+    <repository>
+      <id>maven2-repository.java.net</id>
+      <name>Java.net Repository for Maven</name>
+      <url>http://download.java.net/maven/2/</url>
+      <layout>default</layout>
+    </repository>
+  </repositories>
+
 </project>

Modified: cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/download.apt
URL: http://svn.apache.org/viewvc/cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/download.apt?rev=1151752&r1=1151751&r2=1151752&view=diff
==============================================================================
--- cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/download.apt (original)
+++ cocoon/cocoon3/trunk/cocoon-docs/src/site/apt/download.apt Thu Jul 28 07:21:43 2011
@@ -36,48 +36,48 @@ Maven 2 artifacts
 
 Maven 2 archetypes
 
-    Create a Cocoon 3 block that contains the samples. After running the archetype plugin,
change to the base directory of the new module and enter 'mvn jetty:run' and point your browser
at http://localhost:8080:
+    Create a Cocoon 3 block that contains the samples. After running the archetype plugin,
change to the base directory of the new module and enter 'mvn jetty:run' and point your browser
at http://localhost:8888:
 If you use Eclipse, run 'mvn eclipse:eclipse' before and import the project into your workspace.
Your resources but also the Java files are reloaded at runtime.    
     
 +------------------------------------------+
-mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create 
-    -DarchetypeGroupId=org.apache.cocoon.archetype-sample 
-    -DarchetypeArtifactId=cocoon-archetype-sample 
-    -DarchetypeVersion=3.0.0-alpha-3
-    -DgroupId=com.mycompany 
-    -DartifactId=mysample 
+mvn archetype:create \
+    -DarchetypeGroupId=org.apache.cocoon.archetype-sample \
+    -DarchetypeArtifactId=cocoon-archetype-sample \
+    -DarchetypeVersion=3.0.0-alpha-3 \
+    -DgroupId=com.mycompany \ 
+    -DartifactId=mysample
 +------------------------------------------+
 
     Create an empty Cocoon 3 block in order to create your own Cocoon 3 web application.
   
 
 +------------------------------------------+
-mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create 
-    -DarchetypeGroupId=org.apache.cocoon.archetype-block 
-    -DarchetypeArtifactId=cocoon-archetype-block 
-    -DarchetypeVersion=3.0.0-alpha-3 
-    -DgroupId=com.mycompany 
+mvn archetype:create \
+    -DarchetypeGroupId=org.apache.cocoon.archetype-block \
+    -DarchetypeArtifactId=cocoon-archetype-block \
+    -DarchetypeVersion=3.0.0-alpha-3 \
+    -DgroupId=com.mycompany \
     -DartifactId=mysite 
 +------------------------------------------+
 
     Create an empty Java web application project. After that add your Cocoon block as dependency.
    
 +------------------------------------------+
-mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create 
-    -DarchetypeGroupId=org.apache.cocoon.archetype-webapp 
-    -DarchetypeArtifactId=cocoon-archetype-webapp 
-    -DarchetypeVersion=3.0.0-alpha-3 
-    -DgroupId=com.mycompany 
+mvn archetype:create \
+    -DarchetypeGroupId=org.apache.cocoon.archetype-webapp \
+    -DarchetypeArtifactId=cocoon-archetype-webapp \
+    -DarchetypeVersion=3.0.0-alpha-3 \
+    -DgroupId=com.mycompany \
     -DartifactId=mywebapp
 +------------------------------------------+
 
     Create a parent module for your Cocoon project.
 
 +------------------------------------------+
-mvn org.apache.maven.plugins:maven-archetype-plugin:1.0-alpha-7:create 
-    -DarchetypeGroupId=org.apache.cocoon.archetype-parent 
-    -DarchetypeArtifactId=cocoon-archetype-parent 
-    -DarchetypeVersion=3.0.0-alpha-3 
-    -DgroupId=com.mycompany 
+mvn archetype:create \
+    -DarchetypeGroupId=org.apache.cocoon.archetype-parent \
+    -DarchetypeArtifactId=cocoon-archetype-parent \
+    -DarchetypeVersion=3.0.0-alpha-3 \
+    -DgroupId=com.mycompany \
     -DartifactId=myparent 
 +------------------------------------------+
 



Mime
View raw message