Skip to content

Commit 1b6b160

Browse files
committed
Polish "Handle <p> in Maven Plugin Reference documentation"
See gh-43622
1 parent 334cd36 commit 1b6b160

File tree

2 files changed

+2
-2
lines changed
  • buildSrc/src/main/java/org/springframework/boot/build/mavenplugin
  • spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages

2 files changed

+2
-2
lines changed

buildSrc/src/main/java/org/springframework/boot/build/mavenplugin/PluginXmlParser.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,9 +116,9 @@ private String format(String input) {
116116
.replace("&lt;", "<")
117117
.replace("&gt;", ">")
118118
.replace("<br>", " ")
119+
.replace("<p>", " ")
119120
.replace("\n", " ")
120121
.replace("&quot;", "\"")
121-
.replace("<p>", " ")
122122
.replaceAll("\\{@code (.*?)}", "`$1`")
123123
.replaceAll("\\{@link (.*?)}", "`$1`")
124124
.replaceAll("\\{@literal (.*?)}", "`$1`")

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/antora/modules/maven-plugin/pages/packaging.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ The following configuration installs/deploys a single `task` classified artifact
168168
include::example$packaging/classified-artifact-pom.xml[tags=classified-artifact]
169169
----
170170

171-
As both the `maven-jar-plugin` and the `spring-boot-maven-plugin` run at the same phase, it is important that the jar plugin is defined first (so that it runs before the repackage goal).
171+
As both the `maven-jar-plugin` and the `spring-boot-maven-plugin` runs at the same phase, it is important that the jar plugin is defined first (so that it runs before the repackage goal).
172172
Again, if you are using `spring-boot-starter-parent`, this can be simplified as follows:
173173

174174
[source,xml,indent=0,subs="verbatim,attributes"]

0 commit comments

Comments
 (0)