AlexFalappa / nb-springboot

NetBeans IDE plugin supporting programming with Spring Boot

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Convert maven project to Spring Boot

AlexFalappa opened this issue · comments

A new context menu entry for maven projects or a new code generator could make a generic maven project a Spring Boot project by replacing the pom.xml file.

The new content can be obtained from invocation of https://start.spring.io/pom.xml?type=maven-build Initializr web service endpoint.

A dialog should be shown allowing to choose at least:

  • project groupId
  • project artifactId
  • project version
  • Java version
  • Spring Boot version
  • Spring Boot Dependencies

Other details (e.g. project name and description) could be left to direct editing of the pom.xml.

The existing code generator that tries to add the Spring Boot "facet" to an existing pom.xml should be retired in favour of this approach as too brittle.