You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@cocoon.apache.org by il...@apache.org on 2012/05/30 13:21:40 UTC

svn commit: r1344197 - in /cocoon/trunk/site/cocoon-maven-plugins-site: pom.xml src/site/ src/site/resources/ src/site/resources/images/ src/site/resources/images/external.png src/site/site.xml src/site/xdoc/ src/site/xdoc/index.xml

Author: ilgrosso
Date: Wed May 30 11:21:40 2012
New Revision: 1344197

URL: http://svn.apache.org/viewvc?rev=1344197&view=rev
Log:
2.2 maven plugins index page

Added:
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/images/
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/images/external.png   (with props)
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml   (with props)
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/
    cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml   (with props)
Modified:
    cocoon/trunk/site/cocoon-maven-plugins-site/pom.xml

Modified: cocoon/trunk/site/cocoon-maven-plugins-site/pom.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-maven-plugins-site/pom.xml?rev=1344197&r1=1344196&r2=1344197&view=diff
==============================================================================
--- cocoon/trunk/site/cocoon-maven-plugins-site/pom.xml (original)
+++ cocoon/trunk/site/cocoon-maven-plugins-site/pom.xml Wed May 30 11:21:40 2012
@@ -26,8 +26,8 @@
   <parent>
     <groupId>org.apache.cocoon</groupId>
     <artifactId>cocoon</artifactId>
-    <version>6-SNAPSHOT</version>
-    <relativePath>../../parent/pom.xml</relativePath>
+    <version>9-SNAPSHOT</version>
+    <relativePath/>
   </parent>
   
   <artifactId>cocoon-maven-plugins-site</artifactId>
@@ -48,35 +48,44 @@
     </site>
   </distributionManagement> 
 
-  <profiles>
-    <profile>
-      <id>daisy</id>
-      <build>
-        <plugins>
-          <plugin>
-            <groupId>org.daisycms</groupId>
-            <artifactId>daisy-maven-plugin</artifactId>
-            <configuration>
-              <navDocId>1209</navDocId>
-              <collection>cdocs-site-maven-plugins</collection>
-              <skipFirstNavigationDocumentLevel>false</skipFirstNavigationDocumentLevel>          
-              <siteXmlContent>
-                &lt;project&gt;
-                &lt;skin&gt;
-                &lt;groupId&gt;org.apache.cocoon&lt;/groupId&gt;
-                &lt;artifactId&gt;cocoon-thien-maven-site-skin&lt;/artifactId&gt;
-                &lt;version&gt;1.0.0-SNAPSHOT&lt;/version&gt;
-                &lt;/skin&gt;
-                &lt;body&gt;
-                &lt;!-- @daisy-start@ --&gt;&lt;!-- @daisy-end@ --&gt;
-                &lt;/body&gt;
-                &lt;/project&gt;
-              </siteXmlContent>                   
-            </configuration>
-          </plugin>    
-        </plugins>
-      </build>      
-    </profile>
-  </profiles>    
+  <build>
+    <plugins>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-site-plugin</artifactId>
+        <version>3.0</version>
+        <configuration>
+          <locales>en</locales>
+          <reportPlugins>
+            <plugin>
+              <groupId>org.apache.maven.plugins</groupId>
+              <artifactId>maven-project-info-reports-plugin</artifactId>
+              <version>2.4</version>
+              <configuration>
+                <dependencyDetailsEnabled>false</dependencyDetailsEnabled>
+                <dependencyLocationsEnabled>false</dependencyLocationsEnabled>
+              </configuration>
+              <reportSets>
+                <reportSet>
+                  <reports>
+                    <report>summary</report>
+                    <report>license</report>
+                  </reports>
+                </reportSet>
+              </reportSets>
+            </plugin>
+          </reportPlugins>
+        </configuration>
+        <executions>
+          <execution>
+            <id>attach-descriptor</id>
+            <goals>
+              <goal>attach-descriptor</goal>
+            </goals>
+          </execution>
+        </executions>
+      </plugin>
+    </plugins>
+  </build>
   
 </project>

Added: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/images/external.png
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/images/external.png?rev=1344197&view=auto
==============================================================================
Binary file - no diff available.

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/resources/images/external.png
------------------------------------------------------------------------------
    svn:mime-type = image/png

Added: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml?rev=1344197&view=auto
==============================================================================
--- cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml (added)
+++ cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml Wed May 30 11:21:40 2012
@@ -0,0 +1,36 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed to the Apache Software Foundation (ASF) under one
+  or more contributor license agreements.  See the NOTICE file
+  distributed with this work for additional information
+  regarding copyright ownership.  The ASF licenses this file
+  to you under the Apache License, Version 2.0 (the
+  "License"); you may not use this file except in compliance
+  with the License.  You may obtain a copy of the License at
+
+  http://www.apache.org/licenses/LICENSE-2.0
+
+  Unless required by applicable law or agreed to in writing,
+  software distributed under the License is distributed on an
+  "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+  KIND, either express or implied.  See the License for the
+  specific language governing permissions and limitations
+  under the License.
+-->
+<!-- $Id$ -->
+<project xmlns="http://maven.apache.org/DECORATION/1.1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+         xsi:schemaLocation="http://maven.apache.org/DECORATION/1.1.0 http://maven.apache.org/xsd/decoration-1.1.0.xsd"
+         name="Cocoon Subprojects">
+
+  <skin>
+    <groupId>org.apache.cocoon</groupId>
+    <artifactId>cocoon-thien-maven-site-skin</artifactId>
+    <version>1.0.1</version>
+  </skin>
+    
+  <body>
+    <menu name="Available Blocks">
+      <item name="List" href="./index.html"/>
+    </menu>
+  </body>
+</project>

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/site.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml
URL: http://svn.apache.org/viewvc/cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml?rev=1344197&view=auto
==============================================================================
--- cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml (added)
+++ cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml Wed May 30 11:21:40 2012
@@ -0,0 +1,133 @@
+<?xml version="1.0" encoding="UTF-8"?><!--
+      Licensed to the Apache Software Foundation (ASF) under one
+      or more contributor license agreements.  See the NOTICE file
+      distributed with this work for additional information
+      regarding copyright ownership.  The ASF licenses this file
+      to you under the Apache License, Version 2.0 (the
+      "License"); you may not use this file except in compliance
+      with the License.  You may obtain a copy of the License at
+
+      http://www.apache.org/licenses/LICENSE-2.0
+
+      Unless required by applicable law or agreed to in writing,
+      software distributed under the License is distributed on an
+      "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+      KIND, either express or implied.  See the License for the
+      specific language governing permissions and limitations
+      under the License.
+    --><document xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://maven.apache.org/XDOC/2.0" xsi:schemaLocation="http://maven.apache.org/XDOC/2.0 http://maven.apache.org/xsd/xdoc-2.0.xsd"><properties><title>Cocoon Maven Plugins Site - List</title><author email="cocoon-docs@apache.org">Apache Cocoon Documentation Team</author></properties><body>
+         <div id="contentBody"><div id="bodyText"><h1 class="docTitle">List</h1><p>All the listed modules require a working Maven 2 (2.0.6 or higher)
+installation. If you are not familiar with Maven 2, see</p><ul>
+<li>
+<a href="http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html">Maven
+in 5 minutes</a> and the</li>
+<li><a href="http://maven.apache.org/guides/getting-started/index.html">Getting
+started guide</a></li>
+</ul><table class="bodyTable">
+<tbody>
+<tr class="a">
+<th>
+<strong>Name</strong>
+</th>
+<th>
+<strong>Versions</strong>
+</th>
+<th>
+<p><strong>Description</strong></p>
+</th>
+</tr>
+<tr class="b">
+<td>
+<p><strong><a href="../../2.2/maven-plugins/maven-plugin/1.0/1295_1_1.html">Cocoon Maven Plugin</a></strong></p>
+</td>
+<td><a href="maven-plugins/rcl/1.0/">1.0</a></td>
+<td>
+<p>The Cocoon Maven plugin contains several goals that make the life of software
+developers easier, e.g. support for running blocks as webapps or support for
+paching the web.xml at deployment time.</p>
+</td>
+</tr>
+<tr class="a">
+<td>
+<p><strong>Block Archetype</strong></p>
+</td>
+<td>
+<p>1.0</p>
+</td>
+<td>
+<p>This archetype creates a Cocoon block that comes with some small samples. The
+purpose of them is not to show every possible feature but at least something
+that already works and where you can start a Cocoon project from:</p>
+
+<pre>mvn archetype:create
+  -DarchetypeGroupId=org.apache.cocoon
+  -DarchetypeArtifactId=cocoon-22-archetype-block
+  -DarchetypeVersion=1.0.0
+  -DgroupId=com.mycompany
+  -DartifactId=myBlock</pre>
+
+<div class="note"><div><strong>Note: </strong>Once again, for simple copy and paste:<br/>
+<tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
+-DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0
+-DgroupId=com.mycompany -DartifactId=myBlock</tt></div></div>
+
+<p>See the <a href="../../2.2/1159_1_1.html">Your first Cocoon application</a> tutorial for
+further details.</p>
+</td>
+</tr>
+<tr class="b">
+<td>
+<p><strong>Webapp Archetype</strong></p>
+</td>
+<td>
+<p>1.0</p>
+</td>
+<td>
+<p>Use this archetype to create a web application that is configured to host
+Cocoon blocks. You only need to add the blocks dependencies:</p>
+
+<pre>mvn archetype:create
+  -DarchetypeGroupId=org.apache.cocoon
+  -DarchetypeArtifactId=cocoon-22-archetype-webapp
+  -DarchetypeVersion=1.0.0
+  -DgroupId=com.mycompany
+  -DartifactId=<tt>myCocoonWebapp</tt></pre>
+
+<div class="note"><div><strong>Note: </strong>Once again, for simple copy and paste:<br/>
+<tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
+-DarchetypeArtifactId=cocoon-22-archetype-webapp -DarchetypeVersion=1.0.0
+-DgroupId=com.mycompany -DartifactId=myCocoonWebapp</tt></div></div>
+
+<p>See the <a href="../../2.2/1362_1_1.html">Deploying a Cocoon application</a> tutorial for
+further details.</p>
+</td>
+</tr>
+<tr class="a">
+<td>
+<p><strong>Plain Block Archetype</strong></p>
+</td>
+<td>
+<p>1.0</p>
+</td>
+<td>
+<p>Use this archetype to create an empty Cocoon block. It is only useful if you
+want to add yet another block to your Cocoon based application (e.g. there are
+plugin configured and the dependencies don't have a version set):</p>
+
+<pre>mvn archetype:create
+  -DarchetypeGroupId=org.apache.cocoon
+  -DarchetypeArtifactId=cocoon-22-archetype-block-plain
+  -DarchetypeVersion=1.0.0
+  -DgroupId=com.mycompany
+  -DartifactId=myBlock
+</pre>
+
+<div class="note"><div><strong>Note: </strong>Once again, for simple copy and paste:<br/>
+<tt>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon
+-DarchetypeArtifactId=cocoon-22-archetype-block-plain -DarchetypeVersion=1.0.0
+-DgroupId=com.mycompany -DartifactId=myBlock</tt></div></div>
+</td>
+</tr>
+</tbody>
+</table></div></div>
+       </body></document>
\ No newline at end of file

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision Author HeadURL Id

Propchange: cocoon/trunk/site/cocoon-maven-plugins-site/src/site/xdoc/index.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml