kokuwaio / esh-constants-maven-plugin

A Maven plugin that generates a Java constants class from the content of the ESH-INF folder. Very useful for e.g. OpenHAB binding development.
Apache License 2.0
4 stars 2 forks source link

Skip standard properties from org.eclipse.smarthome.core.thing.Thing #8

Closed kippAndMost closed 2 years ago

kippAndMost commented 2 years ago

The org.eclipse.smarthome.core.thing.Thing predefines some standard property names, so they are not needed in the generated constants. On the other hand, standard values for properties maybe defined in the XML.

This commit introduces these constants as a set so that the generator can skip them.

Signed-off-by: Ringo Frischmann ringo.frischmann@kiwigrid.com