Skip to content

Commit bd06a91

Browse files
committed
Recommend more overrides when using starter parent
This commit is a continuation of the work done in 987a5f8. In addition to developers and licenses that are covered in the earlier commit, a number of other settings are still inherited from the starter parent. This commit updates the documentation to show them being overridden as well. Closes gh-18532
1 parent 9b3d625 commit bd06a91

File tree

1 file changed

+21
-11
lines changed

1 file changed

+21
-11
lines changed

spring-boot-project/spring-boot-docs/src/main/asciidoc/getting-started.adoc

Lines changed: 21 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,18 @@ The following listing shows a typical `pom.xml` file:
130130
<version>{spring-boot-version}</version>
131131
</parent>
132132
133-
<!-- Override inherited license and developers -->
133+
<!-- Override inherited settings -->
134+
<description/>
135+
<developers>
136+
<developer/>
137+
</developers>
134138
<licenses>
135-
<license />
136-
</licenses>
137-
<developers>
138-
<developer />
139-
</developers>
139+
<license/>
140+
</licenses>
141+
<scm>
142+
<url/>
143+
</scm>
144+
<url/>
140145
141146
<!-- Add typical dependencies for a web application -->
142147
<dependencies>
@@ -470,12 +475,17 @@ Open your favorite text editor and add the following:
470475
<version>{spring-boot-version}</version>
471476
</parent>
472477
478+
<description/>
479+
<developers>
480+
<developer/>
481+
</developers>
473482
<licenses>
474-
<license />
475-
</licenses>
476-
<developers>
477-
<developer />
478-
</developers>
483+
<license/>
484+
</licenses>
485+
<scm>
486+
<url/>
487+
</scm>
488+
<url/>
479489
480490
<!-- Additional lines to be added here... -->
481491

0 commit comments

Comments
 (0)