Thanks Thomas, I'm using GWT 2.8.2 so I tried your first suggestion and it 
works :-)

I just declared the property in my gwt.xml module file:

<define-configuration-property name="build.number" is_multi_valued="false"/>

 and set its value (with the maven property which is set by Jenkins) when 
calling your plugin in the configuation section: 


Then System.getProperty("build.number") returns the expected value :-)

Thank you

On Monday, 12 March 2018 23:27:17 UTC+1, Thomas Broyer wrote:
> Easiest with recent GWT version would be to declare a 
> <configuration-property>, get it using System.getProperty(), and set it 
> with --property.
> With older versions, use Maven filtering on a properties file you use with 
> a; or have a look at Mojo's Java 
> template plugin.

You received this message because you are subscribed to the Google Groups "GWT 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
To post to this group, send email to
Visit this group at
For more options, visit

Reply via email to