This is an automated email from the ASF dual-hosted git repository.
sjaranowski pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/maven-apache-parent.git
The following commit(s) were added to refs/heads/master by this push:
new b7f79de [MPOM-486] Enable autoVersionSubmodules for
maven-release-plugin
b7f79de is described below
commit b7f79de7cbda0b6866ac6d6aea4c0bb47161d897
Author: Slawomir Jaranowski <[email protected]>
AuthorDate: Sat Apr 13 17:07:42 2024 +0200
[MPOM-486] Enable autoVersionSubmodules for maven-release-plugin
---
docs/src/site/apt/index.apt.vm | 11 ++++++++---
pom.xml | 1 +
2 files changed, 9 insertions(+), 3 deletions(-)
diff --git a/docs/src/site/apt/index.apt.vm b/docs/src/site/apt/index.apt.vm
index 76dfb44..2bdc30d 100644
--- a/docs/src/site/apt/index.apt.vm
+++ b/docs/src/site/apt/index.apt.vm
@@ -85,9 +85,14 @@ Apache Software Foundation Parent POM
** The resources plugin is set for
$context.get("project.build.sourceEncoding").
** The release plugin is set, via the
- \<useReleaseProfiles\> configuration element, to enable the
- <<apache-release>> profile during <<<release:perform>>> execution and to
disable
- \<useReleaseProfiles\>.
+
+ *** \<useReleaseProfiles\> configuration element, to enable
the<<apache-release>> profile during <<<release:perform>>> execution
+
+ *** disable \<useReleaseProfiles\>
+
+ *** enable \<autoVersionSubmodules\>
+
+ []
* <<plugins>>: The plugins section configures three executions:
diff --git a/pom.xml b/pom.xml
index 2af0b6a..ae6895d 100644
--- a/pom.xml
+++ b/pom.xml
@@ -294,6 +294,7 @@ under the License.
<artifactId>maven-release-plugin</artifactId>
<version>${version.maven-release-plugin}</version>
<configuration>
+ <autoVersionSubmodules>true</autoVersionSubmodules>
<useReleaseProfile>false</useReleaseProfile>
<goals>deploy</goals>
<releaseProfiles>apache-release</releaseProfiles>