You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@training.apache.org by Christofer Dutz <ch...@c-ware.de> on 2019/05/23 11:36:16 UTC

Something cool I implemented for the PLC4X project

Hi all,

in the PLC4X project I wanted to have our documentation always up to date, so we pass maven properties to asciidoctor and reference these.
This worked fine for things like “project.version”, however we also added a little groovy script to also calculate things like: next-minor-release, next-bugfix-release etc.
In order to pass also these dynamic properties, I had to jump quite some extra hoops:

https://github.com/apache/plc4x/commit/434c590d9a4f33eab8b172c39023023e71b375ce

Just thought this might be interesting for this project too …

Chris

Re: Something cool I implemented for the PLC4X project

Posted by Lars Francke <la...@gmail.com>.
That could indeed come in handy!

Thanks for the pointer.

On Thu, May 23, 2019 at 1:36 PM Christofer Dutz <ch...@c-ware.de>
wrote:

> Hi all,
>
> in the PLC4X project I wanted to have our documentation always up to date,
> so we pass maven properties to asciidoctor and reference these.
> This worked fine for things like “project.version”, however we also added
> a little groovy script to also calculate things like: next-minor-release,
> next-bugfix-release etc.
> In order to pass also these dynamic properties, I had to jump quite some
> extra hoops:
>
>
> https://github.com/apache/plc4x/commit/434c590d9a4f33eab8b172c39023023e71b375ce
>
> Just thought this might be interesting for this project too …
>
> Chris
>