-
Notifications
You must be signed in to change notification settings - Fork 42
New Maven Project Wizards
The plugin adds two items to the Maven category in the New Project wizard:
This item creates a minimal maven project using Spring Boot. It's roughly equivalent to using the Spring Initializr service accepting all the default values. After selecting Spring Boot basic project on the second wizard page choose the project directory name and location.
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.
The generated project respects the default launch options specified in the global plugin options.
This item creates a maven project using the Spring Initializr web service.
After selecting Spring Boot Initializr project the wizard retrieves some metadata from the service (see the global plugin options for configuration details) and presents some generation parameters on the second page:
Parameters are validated and advance to next page is blocked in case of malformed values.
The third wizard page allows to select the desired Spring Boot version and choose the desired dependencies. While hovering on the checkboxes a description tooltip is shown. The two small buttons on some dependencies open related documentation links, respectively the reference and the guide, in the platform browser. Dependencies not available for the chosen Sprin Boot version are grayed out and the required boot versions are highlighted in the tooltip:
Dependencies can be filtered by name using the top right textfield:
The last wizard page allows to choose the project directory name and location. There are also options to:
- configure the Run and Debug actions for the project to invoke the
run
goal of the maven spring-boot plugin - remove the maven wrapper files from the generated project (cause it is mainly useful only when building from command line and it is not supported by NetBeans)
The generated project respects the default launch options specified in the global plugin options.