-
Notifications
You must be signed in to change notification settings - Fork 41.6k
Closed
Closed
Copy link
Labels
type: documentationA documentation updateA documentation update
Milestone
Description
The two documented ways to start a Maven project are either inherit from spring-boot-starter-parent or import spring-boot-dependencies. The main differences are of course, that spring-boot-starter-parent provides the version properties and more configured plugins.
However, when inheriting from spring-boot-starter-parent there are more settings made. See this snippet from an effective pom:
<description>Parent pom providing dependency and plugin management for applications
built with Maven</description>
<url>https://projects.spring.io/spring-boot/#/spring-boot-starter-parent/myproject</url>
<licenses>
<license>
<name>Apache License, Version 2.0</name>
<url>https://www.apache.org/licenses/LICENSE-2.0</url>
</license>
</licenses>
<developers>
<developer>
<name>Pivotal</name>
<email>[email protected]</email>
<organization>Pivotal Software, Inc.</organization>
<organizationUrl>https://www.spring.io</organizationUrl>
</developer>
</developers>
<scm>
<url>https://github.com/spring-projects/spring-boot/spring-boot-starter-parent/myproject</url>
</scm>I wouldn't expect these settings in a new project. These are not correct in most cases. This should either be documented or removed.
Steps to reproduce:
- create new Maven project which inherits from
spring-boot-starter-parent(like this) - run
mvn help:effective-pom
Metadata
Metadata
Assignees
Labels
type: documentationA documentation updateA documentation update