From 3b120935897208ee2cdb828ced8d6f981ed39435 Mon Sep 17 00:00:00 2001 From: Oliver Drotbohm Date: Wed, 2 Nov 2022 17:35:04 +0100 Subject: [PATCH] GH-61 - Include all modules in release preparations. Added dedicated prepare-release profile to make sure that all modules get their versions updated on mvn release:prepare. This is required to make sure the tag lands on a commit that especially has the distribution module updated so that the documentation publication actually produces the artifacts for the released version. --- etc/build-and-releases.adoc | 1 + pom.xml | 12 ++++++++++++ 2 files changed, 13 insertions(+) diff --git a/etc/build-and-releases.adoc b/etc/build-and-releases.adoc index d82475b1..dbebbf79 100644 --- a/etc/build-and-releases.adoc +++ b/etc/build-and-releases.adoc @@ -28,6 +28,7 @@ [source] ---- ./mvnw release:prepare \ + -Pprepare-release \ -DreleaseVersion="${version}" \ -DdevelopmentVersion="${devVersion}" \ -DscmReleaseCommitComment="${ticketId} - Release version ${version}." \ diff --git a/pom.xml b/pom.xml index d484975e..5da1439b 100644 --- a/pom.xml +++ b/pom.xml @@ -96,6 +96,18 @@ limitations under the License. + + + prepare-release + + + spring-modulith-distribution + spring-modulith-example + spring-modulith-integration-test + + + + ci