mam-dev / foss-parent

Parent POM for 1-and-1 open source projects using Maven.
http://1and1.github.io/foss-parent/github-report.html
Apache License 2.0
10 stars 4 forks source link

Create a foss-boot-parent based on Spring Boot #86

Open leonard84 opened 9 years ago

leonard84 commented 9 years ago

Spring Boot makes it easy to create stand-alone, production-grade Spring based Applications that you can "just run". We take an opinionated view of the Spring platform and third-party libraries so you can get started with minimum fuss. Most Spring Boot applications need very little Spring configuration. (Excerpt from Spring Boot Website )

Spring Boot is great to create µServices and other applications, but to use all its features it requires that you use the spring-boot-starter-parent as parent pom. Since maven only allows single inheritance it would be useful to have a version of the foss-parent, e.g. foss-boot-parent that has spring-boot-starter-parent as parent.

    <parent>
        <groupId>org.springframework.boot</groupId>
        <artifactId>spring-boot-starter-parent</artifactId>
        <version>1.2.5.RELEASE</version>
    </parent>
mfriedenhagen commented 9 years ago

@leonard84, I just tried out what you have to do for using foss-parent together with spring-boot, see https://github.com/mfriedenhagen/spring-boot-sample/blob/master/pom.xml.

IMO having a deep hierarchy of POMs is always a bit confusing, so I am not really sure whether this issue is an enhancement :smile: