<?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>Generating a Jetspeed Portal</title>
    <subtitle>Using Maven to Generate a Custom Jetspeed Portal</subtitle>
	<authors>
		<person name="David Sean Taylor" email="taylor@apache.org" />
	</authors>
  </properties>
  <body>
    <section name="Generating a Jetspeed Portal">
      <p>      
       To create a new custom portal named <b>jetexpress</b>, enter the following commands:
      </p>
	 <source>
	 <![CDATA[
# Linux	 
cd /JetspeedTraining/workspace

# Windows
cd \JetspeedTraining\workspace

mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 
                     -DarchetypeArtifactId=portal-archetype 
                     -DarchetypeVersion=2.1 
                     -DgroupId=org.apache.portals.tutorials
                     -DartifactId=jetexpress
                     -Dversion=1.0
     ]]>
	</source> 
	  <p>
	  <b>Paste into Command Line:</b>
	  <input id='genapp' size="80" value="mvn archetype:create -DarchetypeGroupId=org.apache.portals.jetspeed-2 -DarchetypeArtifactId=portal-archetype -DarchetypeVersion=2.1 -DgroupId=org.apache.portals.tutorials -DartifactId=jetexpress -Dversion=1.0"/>	  
	  </p>
      <p>      
       A directory named <b>jetexpress</b> under <i>/JetspeedTraining/workspace</i> should have been created.
       Notice that <b>jetexpress</b> will be the name of your portal, not <b>jetspeed</b>. The idea is that you 
       can create a customized portal based upon Jetspeed, but with a different name, customized to meet your organization requirements.
      </p>	
	  <p>
	    <a href='first-steps.html'>Previous</a> <a href='build-it.html'>Next</a>
	  </p>            
    </section>
  </body>
</document>

