Skip to content

Commit a2adb87

Browse files
committed
Polish "Encourage use of maven-publish plugin in Gradle docs"
See gh-25299
1 parent c0a5245 commit a2adb87

File tree

1 file changed

+4
-1
lines changed
  • spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc

1 file changed

+4
-1
lines changed

spring-boot-project/spring-boot-tools/spring-boot-gradle-plugin/src/docs/asciidoc/publishing.adoc

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,9 @@ include::../gradle/publishing/maven-publish.gradle.kts[tags=publishing]
2525

2626
[[publishing-your-application-maven]]
2727
=== Publishing with the Maven Plugin
28+
WARNING: The `maven` plugin has been deprecated in Gradle 6 and has been removed in Gradle 7.
29+
Please use the `maven-publish` plugin instead.
30+
2831
When the {maven-plugin}[`maven` plugin] is applied, an `Upload` task for the `bootArchives` configuration named `uploadBootArchives` is automatically created.
2932
By default, the `bootArchives` configuration contains the archive produced by the `bootJar` or `bootWar` task.
3033
The `uploadBootArchives` task can be configured to publish the archive to a Maven repository:
@@ -41,7 +44,7 @@ include::../gradle/publishing/maven.gradle[tags=upload]
4144
include::../gradle/publishing/maven.gradle.kts[tags=upload]
4245
----
4346

44-
WARNING: The maven plugin has been deprecated in Gradle 6.0 and is scheduled to be removed in Gradle 7.0. Please use the maven-publish plugin instead.
47+
4548

4649
[[publishing-your-application-distribution]]
4750
=== Distributing with the Application Plugin

0 commit comments

Comments
 (0)