-
Notifications
You must be signed in to change notification settings - Fork 45
Maven Pom Code Generators
The plugin contributes some code generators to those available when editing Maven pom.xml files.
Available while editing a Maven pom.xml file of a Spring Boot project:

Presents a dialog that allows to choose one of the Spring Boot opinionated dependencies:

The dialog offers functionalities similar to the third step of the Initializr Project wizard, that is allows to filter dependencies, shows item descriptions in a tooltip and opens documentation links.
Spring Boot version is detected from the pom (<parent> tag) or otherwise be explicitly chosen in the dialog.
Available while editing a Maven pom.xml file of a non Spring Boot project:

Performs the following modifications to the current pom.xml:
- makes it a child of
spring-boot-starter-parent(adds a<parent>tag) - adds the
spring-boot-maven-pluginto the plugins in thebuildsection - adds a
spring-boot-startercompile dependency - adds a
spring-boot-starter-testtest dependency
Note: this code generator only modifies the
pom.xmlfile, it does not make modifications to project structure or NetBeans project options. Whenever possible use one of the new project wizards.