Skip to content

New Maven Project Wizards

Alessandro Falappa edited this page May 31, 2016 · 18 revisions

The plugin adds two items to the Maven category in the New Project wizard:

new project dialog

Basic Project

This item creates a minimal maven project using Spring Boot. Its roughly equivalent to using the Spring Initializr service accepting all the default values.
After selecting Spring Boot project (basic) on the second wizard page choose the project directory name and location.
The generated project structure is as follows:

The generated project includes the spring-configuration-processor already set-up as a dependency in its pom.xml. The wizard also configures the Run and Debug actions for the project to invoke the run goal of the maven spring-boot plugin.

Initializr Project

After selecting Spring Boot project (from Initializr) on the wizard retrieves some metadata from the service and presents some generation parameters on the second page:

The second wizard page allows to select the desired Spring Boot version and choose the desired dependencies. Hovering on the checkboxes a description tooltip is shown. Dependencies not available for the chosen boot version are grayed out:

On the final wizard page choose the project directory name and location.

As an example, with the choices made in the pictures above the generated project structure is as follows:

Clone this wiki locally