From 1504cbebfad32b7bb18c32bf9702aad820e889ec Mon Sep 17 00:00:00 2001
From: Tor-Einar Skog <tor-einar.skog@nibio.no>
Date: Fri, 5 Jan 2024 15:34:14 +0100
Subject: [PATCH] Update README with info about build_models_xml.py

---
 README.md | 15 +++++++++++++--
 1 file changed, 13 insertions(+), 2 deletions(-)

diff --git a/README.md b/README.md
index c9b7feb..1e3fbeb 100644
--- a/README.md
+++ b/README.md
@@ -34,11 +34,11 @@ $ mvnw.cmd clean install
 
 **PLEASE NOTE that this builds the package without any models. See "Adding models" below for more information**
 
-Download and install [WildFly](https://www.wildfly.org/) >= 25.0.1
+Download and install [WildFly](https://www.wildfly.org/) == 26.1.3
 
 Deploy the build from this project in Wildfly.
 
-Wildfly should run on Java >= 11
+Wildfly should run on Java >= 17
 
 ### Adding models
 
@@ -59,6 +59,17 @@ To build with your preferred set of models, create a new file called e.g. `my_mo
 $ build_with_models.py my_models.xml
 ```
 
+To create Maven `<dependencies/>` XML with the latest versions of all models on NIBIO's GitLab, use the `build_models_xml.py` script, like this:
+
+```bash
+# Write latest production version dependency elements XML to my_models.xml
+$ ./build_models_xml.py > my_models.xml
+
+# Write latest SNAPSHOT version dependency elements XML to my_models.xml
+$ ./build_models_xml.py -s > my_models.xml
+
+```
+
 ## Implement a model
 
 See [implement_model.md](./docs/implement_model.md)
-- 
GitLab