<?xml version="1.0"?>
<!--
  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>
  <properties>
    <title>Project Generation</title>
    <subtitle>Project Generation Commands for Maven-2 and Jetspeed</subtitle>
	<authors>
		<person name="David Sean Taylor" email="taylor@apache.org" />
	</authors>
  </properties>
  <body>
 <section name="Project Generation Commands for Maven-2 and Jetspeed">
 <p>      
 We support several kinds of project generation commands in the build.
 These commands are based on <i>Maven Archetypes</i>. The project generation
 commands create a template for building certain types of Jetspeed projects.
 The most common archetype is the <i>portal-archetype</i>, which creates a new Jetspeed Custom Portal.
 The complete list of project generation commands are:
 </p>
 <div>
<table>
<tr>
<td>
<strong><tt>archetypeArtifactId</tt></strong>
</td>
<td>
<strong><tt>explanation</tt></strong>
</td>
</tr>
<tr>
<td>portal-archetype
</td>
<td>Generate a Maven project for a new custom Jetspeed Portal Application
</td>
</tr>
<tr>
<td>application-archetype
</td>
<td>Generate a Maven project for a new JSR 168 Portlet Application 
</td>
</tr>
<tr>
<td>component-archetype
</td>
<td>Generate a Maven project for a new general Java component
</td>
</tr>
<tr>
<td>shared-component-archetype
</td>
<td>Generate a Maven project for a new shared Jetspeed component
</td>
</tr>
<tr>
<td>portal-component-archetype
</td>
<td>Generate a Maven project for a new Jetspeed component (installed in Jetspeed core)
</td>
</tr>
</table>
</div>
 </section>
</body>
</document>

