Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Spring boot with custom parent - working example

I am looking for working example of Spring Boot maven application without reference to spring-boot-starter-parent as a parent pom.

I found some words about that in Spring Boot Docs - http://docs.spring.io/spring-boot/docs/1.0.1.RELEASE/reference/htmlsingle/#using-boot-maven-your-own-parent but I still have problem with pluginManagement. Should I copy&paste all the pluginManagement section from spring-boot-starter-parent and spring-boot-dependencies?

like image 370
Konrad Avatar asked Aug 29 '26 02:08

Konrad


1 Answers

Should I copy&paste all the pluginManagement section from spring-boot-starter-parent and spring-boot-dependencies?

That would work. Some might call it the "nuclear option" though (i.e. for your given use case you are unlikely to need all of it).

like image 66
Dave Syer Avatar answered Aug 31 '26 16:08

Dave Syer