You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@plc4x.apache.org by cd...@apache.org on 2020/02/24 08:44:09 UTC

[plc4x-build-tools] branch feature/luxtronik2-driver created (now a2454e8)

This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a change to branch feature/luxtronik2-driver
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git.


      at a2454e8  Adjusted the it to latest changes in the site and asciidoctor plugins

This branch includes the following new commits:

     new a2454e8  Adjusted the it to latest changes in the site and asciidoctor plugins

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



[plc4x-build-tools] 01/01: Adjusted the it to latest changes in the site and asciidoctor plugins

Posted by cd...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

cdutz pushed a commit to branch feature/luxtronik2-driver
in repository https://gitbox.apache.org/repos/asf/plc4x-build-tools.git

commit a2454e81c5266d37b90a88d1857084bec277c25f
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Mon Feb 24 09:22:50 2020 +0100

    Adjusted the it to latest changes in the site and asciidoctor plugins
---
 .../asciidoc/developers/release-build-tools.adoc     |  1 -
 .../src/site/asciidoc/developers/release.adoc        |  1 -
 .../src/site/asciidoc/developers/website.adoc        | 20 --------------------
 3 files changed, 22 deletions(-)

diff --git a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release-build-tools.adoc b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release-build-tools.adoc
index fe6a6d6..110d420 100644
--- a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release-build-tools.adoc
+++ b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release-build-tools.adoc
@@ -14,7 +14,6 @@
 //  See the License for the specific language governing permissions and
 //  limitations under the License.
 //
-include::{pom-adoc}[]
 :imagesdir: ../images/
 :icons: font
 
diff --git a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release.adoc b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release.adoc
index 379a248..ffa5d2f 100644
--- a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release.adoc
+++ b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/release.adoc
@@ -14,7 +14,6 @@
 //  See the License for the specific language governing permissions and
 //  limitations under the License.
 //
-include::{pom-adoc}[]
 :imagesdir: ../images/
 :icons: font
 
diff --git a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/website.adoc b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/website.adoc
index a73a4fe..2a8a101 100644
--- a/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/website.adoc
+++ b/plc4x-site-skin/src/it/plc4x-website/src/site/asciidoc/developers/website.adoc
@@ -176,23 +176,3 @@ See https://builds.apache.org/view/M-R/job/PLC4X/job/PLC4X%20Site/ for details o
 
 As soon as content is updated in the `asf-site` the `gitpubsub` mechanism will make those changes available at https://plc4x.apache.org
 
-== Bells and Whistles
-
-=== Making all pom properties available to asciidoctor
-
-While trying to automate keeping the content of the release documentation up-to-date, we added a groovy script to automatically calculate some version numbers.
-Unfortunately it wasn't possible to use these in asciidoctor using the normal `attributes` as the values aren't set as soon as Maven configures the plugin.
-
-We came up with an option to still achieve this:
-
-* The `groovy-maven-plugin` sets the dynamic properties in the `provide-custom-properties` execution.
-* Then we use the `properties-maven-plugin` to write all maven properties into a property file `target/pom.adoc`.
-* As Asciidoctor doesn't understand property files, we use the `replacer` to convert the content into an Asciidoctor property file in the `convert-property-to-adoc` execution.
-* Now we provide access to the location of this file by setting the `pom-adoc` attribute.
-* If we now need to access the properties, all we need to do, is to import the `pom.adoc` file with the following statement:
-
-   include::{pom-adoc}[]
-
-* After this all maven properties can be accessed via:
-
-   We are currently working on releasing ApachePLC4X {current-full-version}