Deprecate support for Gradle's maven plugin
Closes gh-25267
This commit is contained in:
@@ -25,7 +25,7 @@ include::../gradle/publishing/maven-publish.gradle.kts[tags=publishing]
|
||||
|
||||
[[publishing-your-application-maven]]
|
||||
=== Publishing with the Maven Plugin
|
||||
WARNING: The `maven` plugin has been deprecated in Gradle 6 and has been removed in Gradle 7.
|
||||
WARNING: Due to its deprecation in Gradle 6, this plugin's support for publishing with Gradle's `maven` plugin is deprecated and will be removed in a future release.
|
||||
Please use the `maven-publish` plugin instead.
|
||||
|
||||
When the {maven-plugin}[`maven` plugin] is applied, an `Upload` task for the `bootArchives` configuration named `uploadBootArchives` is automatically created.
|
||||
|
||||
@@ -66,4 +66,7 @@ When Gradle's {application-plugin}[`application` plugin] is applied to a project
|
||||
|
||||
[[reacting-to-other-plugins-maven]]
|
||||
=== Reacting to the Maven plugin
|
||||
WARNING: Support for reacting to Gradle's `maven` plugin is deprecated and will be removed in a future release.
|
||||
Please use the `maven-publish` plugin instead.
|
||||
|
||||
When Gradle's {maven-plugin}[`maven` plugin] is applied to a project, the Spring Boot plugin will configure the `uploadBootArchives` `Upload` task to ensure that no dependencies are declared in the pom that it generates.
|
||||
|
||||
Reference in New Issue
Block a user