Add versions plugin for automated updating of version properties (#213)

Signed-off-by: Patrick Fink <mail@pfink.de>
This commit is contained in:
Patrick Fink 2017-09-25 07:59:00 +02:00 committed by Martin van Wingerden
parent a1e10ccea7
commit 74e24ce885

View File

@ -167,6 +167,57 @@
</dependency> </dependency>
</dependencies> </dependencies>
</plugin> </plugin>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>versions-maven-plugin</artifactId>
<version>2.4</version>
<configuration>
<properties>
<property>
<name>esh.version</name>
<dependencies>
<dependency>
<groupId>org.eclipse.smarthome</groupId>
<artifactId>smarthome</artifactId>
</dependency>
</dependencies>
</property>
<property>
<name>ohc.version</name>
<searchReactor>true</searchReactor>
<preferReactor>true</preferReactor>
<dependencies>
<dependency>
<groupId>org.openhab</groupId>
<artifactId>pom</artifactId>
</dependency>
</dependencies>
</property>
<property>
<name>oh2.version</name>
<searchReactor>true</searchReactor>
<preferReactor>true</preferReactor>
<dependencies>
<dependency>
<groupId>org.openhab</groupId>
<artifactId>pom</artifactId>
</dependency>
</dependencies>
</property>
<property>
<name>oh1.version</name>
<searchReactor>true</searchReactor>
<preferReactor>true</preferReactor>
<dependencies>
<dependency>
<groupId>org.openhab</groupId>
<artifactId>pom-addons1</artifactId>
</dependency>
</dependencies>
</property>
</properties>
</configuration>
</plugin>
</plugins> </plugins>
</pluginManagement> </pluginManagement>
</build> </build>