From f1120eb58b98b08adf05e0d8ce7836f55c05cfef Mon Sep 17 00:00:00 2001 From: Eduardo Martins Date: Thu, 25 Jan 2024 10:27:54 +0000 Subject: [PATCH] Adds maven inject properties for versions in mp lra README --- microprofile-lra/README-source.adoc | 10 +++++----- microprofile-lra/README.adoc | 14 +++++--------- microprofile-lra/pom.xml | 15 +++++++++++++++ 3 files changed, 25 insertions(+), 14 deletions(-) diff --git a/microprofile-lra/README-source.adoc b/microprofile-lra/README-source.adoc index 418ec0c551..a32da33411 100644 --- a/microprofile-lra/README-source.adoc +++ b/microprofile-lra/README-source.adoc @@ -184,19 +184,19 @@ Open the generated `pom.xml`. The first thing to do is to change the minimum JDK to Java 11 and set the other relevant version properties: -[source,xml] +[source,xml,subs="attributes+"] ---- 11 11 -31.0.0.Beta1 +{versionServer} ${version.server} ${version.server} -5.0.0.Final -4.2.1.Final -10.0.0.Final +{versionPackCloud} +{versionPluginWildfly} +{versionPluginWildflyJar} ---- Next we need to setup our dependencies. Add the following section to your diff --git a/microprofile-lra/README.adoc b/microprofile-lra/README.adoc index b447d5f99b..840c531266 100644 --- a/microprofile-lra/README.adoc +++ b/microprofile-lra/README.adoc @@ -1,7 +1,3 @@ -ifdef::env-github[] -:artifactId: microprofile-lra -endif::[] - //*********************************************************************************** // Enable the following flag to build README.html files for JBoss EAP product builds. // Comment it out for WildFly builds. @@ -1367,19 +1363,19 @@ Open the generated `pom.xml`. The first thing to do is to change the minimum JDK to Java 11 and set the other relevant version properties: -[source,xml] +[source,xml,subs="attributes+"] ---- 11 11 -31.0.0.Beta1 +{versionServer} ${version.server} ${version.server} -5.0.0.Final -4.2.1.Final -10.0.0.Final +{versionPackCloud} +{versionPluginWildfly} +{versionPluginWildflyJar} ---- Next we need to setup our dependencies. Add the following section to your diff --git a/microprofile-lra/pom.xml b/microprofile-lra/pom.xml index c8f6078e02..cfc82d51d7 100644 --- a/microprofile-lra/pom.xml +++ b/microprofile-lra/pom.xml @@ -159,6 +159,21 @@ + + + org.asciidoctor + asciidoctor-maven-plugin + + + + ${version.server} + ${version.pack.cloud} + ${version.plugin.wildfly} + ${version.plugin.wildfly-jar} + + + +