Skip to content

Commit

Permalink
[MPOM-486] Enable autoVersionSubmodules for maven-release-plugin
Browse files Browse the repository at this point in the history
  • Loading branch information
slawekjaranowski committed Apr 13, 2024
1 parent 37c903b commit b7f79de
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 3 deletions.
11 changes: 8 additions & 3 deletions docs/src/site/apt/index.apt.vm
Original file line number Diff line number Diff line change
Expand Up @@ -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:

Expand Down
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down

0 comments on commit b7f79de

Please sign in to comment.