You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by da...@apache.org on 2024/07/10 09:54:27 UTC
(causeway) 01/03: parameterize version of framework in .adoc's
This is an automated email from the ASF dual-hosted git repository.
danhaywood pushed a commit to branch v3
in repository https://gitbox.apache.org/repos/asf/causeway.git
commit 8f0c65b7a81425a232dd22ea2b35d24e5c3996a9
Author: Dan Haywood <da...@haywood-associates.co.uk>
AuthorDate: Wed Jul 10 10:52:38 2024 +0100
parameterize version of framework in .adoc's
---
.../components/docs/modules/ROOT/pages/landing-page/releases.adoc | 5 ++---
starters/adoc/modules/starters/pages/about.adoc | 7 +++----
2 files changed, 5 insertions(+), 7 deletions(-)
diff --git a/antora/components/docs/modules/ROOT/pages/landing-page/releases.adoc b/antora/components/docs/modules/ROOT/pages/landing-page/releases.adoc
index b7136752e5..90a0eac507 100644
--- a/antora/components/docs/modules/ROOT/pages/landing-page/releases.adoc
+++ b/antora/components/docs/modules/ROOT/pages/landing-page/releases.adoc
@@ -11,18 +11,17 @@ These usually include migration notes that explain how to migrate to new feature
If your app inherits from the xref:docs:parent-pom:about.adoc[Parent POM], then the easiest way to update to the next release is often as simple as changing the `<version>` in your application's parent `pom.xml`:
-[source,xml]
+[source,xml,subs="attributes+"]
----
<parent>
<groupId>org.apache.causeway.app</groupId>
<artifactId>causeway-app-starter-parent</artifactId>
- <version>2.0.0</version> <!--.-->
+ <version>{page-causewayprevv2}</version> <!--.-->
</parent>
----
<.> update as required.
-
== Building from Source
You can also xref:docs:ROOT:downloads/how-to.adoc[download] the source code and build it directly.
diff --git a/starters/adoc/modules/starters/pages/about.adoc b/starters/adoc/modules/starters/pages/about.adoc
index a126e69658..468662f15c 100644
--- a/starters/adoc/modules/starters/pages/about.adoc
+++ b/starters/adoc/modules/starters/pages/about.adoc
@@ -47,15 +47,14 @@ TIP: A much more complete explanation of the structure of the app (and how to us
For both apps you can bump to newer versions of the framework just by updating the `<version>` of the xref:docs:parent-pom:about.adoc[Parent POM]:
-[source,bash]
-.pom.xml
+[source,xml,subs="attributes+"]
----
<parent>
<groupId>org.apache.causeway.app</groupId>
<artifactId>causeway-app-starter-parent</artifactId>
- <version>2.0.0</version> <!--1-->
+ <version>{page-causewayprevv2}</version> <!--.-->
</parent>
----
-<1> update as required.
+<.> update as required.
Check the release notes/migration notes for details on new features and of any breaking changes.