CINXE.COM
Cocoon Maven Plugins Site - List
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <!-- 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. --> <html> <head> <title> Cocoon Maven Plugins Site - List </title> <link rel="stylesheet" href="./css/apache-cocoon-thien-maven-skin.min.css" /> <link rel="stylesheet" href="./css/print.css" type="text/css" media="print" /> <script src="./js/apache-cocoon-thien-maven-skin.min.js" language="javascript" type="text/javascript"></script> <meta name="author" content="Apache Cocoon Documentation Team" /> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /> </head> <body onload="javascript:prettyPrint();"> <div id="breadtrail"> <p><a href="http://www.apache.org">Apache</a> » <a href="../../">Cocoon</a> »</p> </div> <div id="top"> <div id="header"> <div class="projectlogo"> <a href="../../"><img class="logoImage" src="images/cocoon_logo.jpg" alt="Apache Cocoon" border="0" /></a> </div> <div class="grouplogo"> <p class="grouptitle"><a href="../../">The Apache Cocoon Project</a><img src="images/apache-logo.jpg" alt="Cocoon Project Logo" /></p> <form class="searchbox" action="http://www.google.com/search" method="get"> <input value="cocoon.apache.org" name="sitesearch" type="hidden" /> <input onFocus="getBlank (this, 'Search the site with google');" size="25" name="q" id="query" type="text" value="Search the site with google" /> <input class="searchboxsubmit" name="Search" value="Search" type="submit" /> </form> </div> </div> <div id="projectBar"> <p class="cocoonHome"><a href="./index.html"><img src="images/pmc-home.gif" alt=" Cocoon Maven Plugins 2.2 homepage" border="0" title=" Cocoon Maven Plugins 2.2 homepage" /></a></p> <h1 class="projectTitle"><a href="./index.html"> Cocoon Maven Plugins 2.2 </a></h1> <ul class="projectList"> <li><strong><a href="../../2.2/">Cocoon 2.2</a></em></strong></li> <li><a href="../../2.2/core-modules/">Core <span class="pl-version-small">2.2</span></a></li> <li><a href="../../2.2/blocks/">Blocks <span class="pl-version-small">2.2</span></a></li> <li><a href="../../2.2/maven-plugins/">Maven Plugins <span class="pl-version-small">2.2</span></a></li> <li><strong><a href="../..//3.0/">Cocoon 3.0</a></em></strong></li> <li><strong><a href="../../subprojects/">Subprojects</a></strong></li> </ul> </div> <div class="projectBarClear"><!-- --></div> </div> <!-- end of top --> <div id="content"> <ul id="menu"> <li> Available Plugins <ul> <li > <strong>List</strong> </li> </ul> </li> </ul> <div class="main"> <!-- 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. --> <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 class="externalLink" href="http://maven.apache.org/guides/getting-started/maven-in-five-minutes.html">Maven in 5 minutes</a> and the</li> <li><a class="externalLink" href="http://maven.apache.org/guides/getting-started/index.html">Getting started guide</a></li> </ul><table border="0" class="bodyTable"> <tbody> <tr class="a"> <th> <b>Name</b> </th> <th> <b>Versions</b> </th> <th> <p><b>Description</b></p> </th> </tr> <tr class="b"> <td> <p><b><a href="maven-plugin/1.0/">Cocoon Maven Plugin</a></b></p> </td> <td><a href="maven-plugin/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="b"> <td> <p><b><a href="it-fw/1.0/">Cocoon Integration Test Framework</a></b></p> </td> <td><a href="it-fw/1.0/">1.0</a></td> <td> <p>The Cocoon Integration Test Framework provides support for running integration tests.</p> </td> </tr> <tr class="a"> <td> <p><b>Block Archetype</b></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> <div><pre>mvn archetype:create -DarchetypeGroupId=org.apache.cocoon -DarchetypeArtifactId=cocoon-22-archetype-block -DarchetypeVersion=1.0.0 -DgroupId=com.mycompany -DartifactId=myBlock</pre></div> <div class="note"><div><b>Note: </b>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><b>Webapp Archetype</b></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> <div><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> <div class="note"><div><b>Note: </b>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><b>Plain Block Archetype</b></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> <div><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> <div class="note"><div><b>Note: </b>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> </div> </div> <!-- end of content --> <div id="footer"> <p>Copyright © 1999-2012 The Apache Software Foundation All Rights Reserved.</p> <p> Apache Cocoon, Apache, the Apache feather logo, and the Apache Cocoon project logos are trademarks of The Apache Software Foundation. All other marks mentioned may be trademarks or registered trademarks of their respective owners. </p> </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1740622-3"; urchinTracker(); </script> </body> </html>