Versions Compared

Key

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

...

Run the following command from your project's parent directory (the project will be created in a sub-directorythe sub-directory named by the artifactId parameter).

The groupId parameter should be the root package of your application, e.g., com.mycompany.myapp. The artifactId parameter names the project directory that will be created in the current directory (the directory you're running the command from).

Code Block
mvn archetype:generate -DgroupId=tutorial \
                       -DartifactId=tutorial \
                       -DarchetypeGroupId=org.apache.struts \
                       -DarchetypeArtifactId=struts2-archetype-blank \
                       -DarchetypeVersion=2.1.6

...