Creating a Maven Project
See Also
The New Project wizard enables you to create a new Maven project (artifact) based on an archetype in your local or
a remote repository.
When you create the new artifact the wizard prompts you to specify the
project coordinates (artifactId, groupId, versionId).
To create a new Maven project:
- Choose File > New Project from the main menu to open the New Project wizard.
- Choose the Maven category and then choose a Maven project template. Click Next.
If you choose the Maven Project template you will need to choose an archetype.
The wizard displays the available archetypes contained in your local or registered remote repository.
- Specify the project name, location and project details. Click Finish.
When you click Finish, the IDE creates the Maven project and displays the node for the project
in the Projects window.
Notes.
- If you have only recently installed Maven, the first time you create a project
the IDE may need to download the most recent artifacts into your local repository.
This can take some time.
- If you choose an Enterprise Application template, the IDE will automatically
create an assembly module for packaging the web application module and EJB module.
You can select the modules that you want to create in the New Project wizard.
- If you have an existing Maven 2 project that contains pom.xml you do not need to use the New Project wizard.
You can open the project by choosing Open Project (Shift-Ctrl-O) from the main menu.
After you create the project, you can configure additional project properties by right-clicking the project
node in the Projects window and choosing Properties.
- See Also
- About Working with Maven
- Configuring Maven Settings
Legal Notices