Skip to content

Commit 3b12093

Browse files
committed
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.
1 parent b4b7986 commit 3b12093

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed

etc/build-and-releases.adoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@
2828
[source]
2929
----
3030
./mvnw release:prepare \
31+
-Pprepare-release \
3132
-DreleaseVersion="${version}" \
3233
-DdevelopmentVersion="${devVersion}" \
3334
-DscmReleaseCommitComment="${ticketId} - Release version ${version}." \

pom.xml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,18 @@ limitations under the License.
9696

9797
</profile>
9898

99+
<profile>
100+
101+
<id>prepare-release</id>
102+
103+
<modules>
104+
<module>spring-modulith-distribution</module>
105+
<module>spring-modulith-example</module>
106+
<module>spring-modulith-integration-test</module>
107+
</modules>
108+
109+
</profile>
110+
99111
<profile>
100112

101113
<id>ci</id>

0 commit comments

Comments
 (0)