Skip to content

Commit cf958f4

Browse files
committed
Merge pull request #19952 from dreis2211
* pr/19952: Fix links in Maven Plugin documentation Closes gh-19952
2 parents 0232916 + 741a4f4 commit cf958f4

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ private void documentMojo(Plugin plugin, Mojo mojo) throws IOException {
109109
writer.println();
110110
writer.printf("[[%s-required]]%n", parametersSectionId);
111111
writer.println("=== Required parameters");
112-
writeParametersTable(writer, mojo.getGoal(), requiredParameters);
112+
writeParametersTable(writer, detailsSectionId, requiredParameters);
113113
}
114114
List<Parameter> optionalParameters = parameters.stream().filter((parameter) -> !parameter.isRequired())
115115
.collect(Collectors.toList());

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/packaging.adoc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -332,7 +332,7 @@ Spring Boot repackages the jar file for this project using a custom layout facto
332332
The layout factory is provided as an implementation of `LayoutFactory` (from `spring-boot-loader-tools`) explicitly specified in the pom.
333333
If there is only one custom `LayoutFactory` on the plugin classpath and it is listed in `META-INF/spring.factories` then it is unnecessary to explicitly set it in the plugin configuration.
334334

335-
Layout factories are always ignored if an explicit <<goals-repackage-optional-parameters-layout,layout>> is set.
335+
Layout factories are always ignored if an explicit <<goals-repackage-parameters-details-layoutFactory,layout>> is set.
336336

337337

338338

spring-boot-project/spring-boot-tools/spring-boot-maven-plugin/src/docs/asciidoc/running.adoc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ The plugin includes a run goal which can be used to launch your application from
1010

1111
By default the application is executed in a forked process and setting properties on the command-line will not affect the application.
1212
If you need to specify some JVM arguments (i.e. for debugging purposes), you can use the `jvmArguments` parameter, see <<run-example-debug,Debug the application>> for more details.
13-
There is also explicit support for <<run-example-system-properties,system properties>> and <<run-example-environment-variable,environment variables>>.
13+
There is also explicit support for <<run-example-system-properties,system properties>> and <<run-example-environment-variables,environment variables>>.
1414

1515
As enabling a profile is quite common, there is dedicated `profiles` property that offers a shortcut for `-Dspring-boot.run.jvmArguments="-Dspring.profiles.active=dev"`, see <<run-example-active-profiles,Specify active profiles>>.
1616

@@ -71,7 +71,7 @@ It is also a helpful way of allowing your front end developers to work without n
7171
NOTE: A side effect of using this feature is that filtering of resources at build time will not work.
7272

7373
In order to be consistent with the `repackage` goal, the `run` goal builds the classpath in such a way that any dependency that is excluded in the plugin's configuration gets excluded from the classpath as well.
74-
For more details, see <<run-example-exclude-dependency,the dedicated example>>.
74+
For more details, see <<repackage-example-exclude-dependency,the dedicated example>>.
7575

7676
Sometimes it is useful to include test dependencies when running the application.
7777
For example, if you want to run your application in a test mode that uses stub classes.

0 commit comments

Comments
 (0)