Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

...

...

...

...

...

...

...

Prerequisites

  • Maven2 must already be installed
  • Basic knowledge of maven

...

The following command uses the download URL of the archtype (minus the file name) as a repository to create a stripes project

Code Block
 
mvn archetype:create \ 
-DarchetypeArtifactId=stripes-archetype-quickstart \ 
-DarchetypeGroupId=net.sourceforge \ 
-DarchetypeVersion=1.0 \ 
-DgroupId=myGroup \ 
-DartifactId=stripesTest \ 
-DarchetypeRepository=http://sourceforge.net/projects/mvnstripes/files/stripes-quickstart-1.0/1.0 

<<Thanks goes to Randy Jones and Rusty Wright for their corrections...>>

During the execution of the create command maven will ask you to specify the project information. For the purpose of this guide an artifactId of "stripesTest" has been used as the name for our new project.

...

From your project directory (the artifactId "stripesTest") execute the following command:

Code Block
 
mvn jetty:run 

After jetty starts, navigate to "http://localhost:8080/stripesTest/"

...