Building and Deploying a Custom Jetspeed Portal

Now that you have generated a custom portal named jetexpress, we are ready to build the portal. We are going to build the portal from the command line:

	 
# Linux	 
cd /JetspeedTraining/workspace/jetexpress  	 

# Windows
cd \JetspeedTraining\workspace\jetexpress  	 

mvn -P tomcat,min
     
	

Please take note that there is no space between the comma and the word min

We are building a min (minimal) deployment. The Min deployment only creates a Jetspeed core portal and a Jetspeed Admin portlet application (j2-admin). When the build process completes, you should see the message BUILD SUCCESSFUL at the end of a large amount of build logging information The portal is built into a temp directory named target found directory under your jetexpress project directory. As well as building, the tomcat,min goals also:

  • deploys Jetspeed to the Tomcat application server. If you are following the training material, the Tomcat directory is located under /JetspeedTraining/tomcat-express/
  • creates the Jetspeed core schema tables in the Derby database
  • populates the database with a minimal set of portal information, including default roles, groups, profiles, and administrative users

Now that we've built and deployed the portal, lets start up the application server...

Previous Next