This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch maintenance-branch
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/maintenance-branch by this
push:
new 87f8e9aa08c CAUSEWAY-3952: [v2] adds missing piece for CI friendly
revision (CI)
87f8e9aa08c is described below
commit 87f8e9aa08c81655542ba3cea12cef4532f2c59e
Author: andi-huber <[email protected]>
AuthorDate: Fri Jan 16 21:58:25 2026 +0100
CAUSEWAY-3952: [v2] adds missing piece for CI friendly revision (CI)
---
README.adoc | 5 +++++
pom.xml | 19 +++++++++++++++++++
2 files changed, 24 insertions(+)
diff --git a/README.adoc b/README.adoc
index 829e4757e6d..fe754ccee33 100644
--- a/README.adoc
+++ b/README.adoc
@@ -21,6 +21,11 @@ Here are the recommended build instructions:
- install _Java 25_ `sdk install java 25.0.1-tem`
- verify Maven and Java versions are as desired: `mvn -v`
+First we set the desired version:
+----
+mvn versions:set -Drevision=2.2.0-SNAPSHOT
+----
+
Now build with _mvn_ command:
----
mvn install \
diff --git a/pom.xml b/pom.xml
index f7e2f10cce9..7213a79f31c 100644
--- a/pom.xml
+++ b/pom.xml
@@ -235,6 +235,25 @@
</execution>
</executions>
</plugin>
+ <plugin>
+ <groupId>org.codehaus.mojo</groupId>
+ <artifactId>versions-maven-plugin</artifactId>
+ <version>2.20.1</version>
+ <!-- usage: mvn versions:set
-Drevision=2.2.0-SNAPSHOT
+ to be run before install or deploy -->
+ <configuration>
+ <newVersion>${revision}</newVersion>
+ <processAllModules>true</processAllModules>
+ <generateBackupPoms>false</generateBackupPoms>
+ </configuration>
+ <executions>
+ <execution>
+ <goals>
+ <goal>set</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
</plugins>
</pluginManagement>
</build>