tut-install/examples
Java Platform, Enterprise Edition (Java EE) 8 The Java EE Tutorial |
Previous | Next | Contents |
Some of the chapters have instructions on how to build an example application using Maven archetypes. Archetypes are templates for generating a particular Maven project. The Tutorial includes several Maven archetypes for generating Java EE projects.
You must install the included Maven archetypes into your local Maven repository before you can create new projects based on the archetypes. You can install the archetypes using NetBeans IDE or Maven.
From the File menu, choose Open Project.
In the Open Project dialog box, navigate to:
tut-install/examples
Select the archetypes
folder.
Click Open Project.
In the Projects tab, right-click the archetypes
project and select
Build.
In a terminal window, go to:
tut-install/examples/archetypes/
Enter the following command:
mvn install
Previous | Next | Contents |