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 2018/07/11 15:08:39 UTC

[incubator-plc4x] branch master updated: Changed the pom to use a variable instead of having it hard coded for every modbus driver dependency.

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

cdutz pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-plc4x.git


The following commit(s) were added to refs/heads/master by this push:
     new 7079cad  Changed the pom to use a variable instead of having it hard coded for every modbus driver dependency.
7079cad is described below

commit 7079cada06c7ce00f044cf5ba7b925e0ea97ef97
Author: Christofer Dutz <ch...@c-ware.de>
AuthorDate: Wed Jul 11 17:08:36 2018 +0200

    Changed the pom to use a variable instead of having it hard coded for every modbus driver dependency.
---
 plc4j/protocols/modbus/pom.xml | 10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

diff --git a/plc4j/protocols/modbus/pom.xml b/plc4j/protocols/modbus/pom.xml
index 9830816..f918b57 100644
--- a/plc4j/protocols/modbus/pom.xml
+++ b/plc4j/protocols/modbus/pom.xml
@@ -33,6 +33,10 @@
   <description>Implementation of a PLC4X driver able to speak with Modbus devices using the Modbus protocol.
   </description>
 
+  <properties>
+    <modbus-driver.version>1.1.0</modbus-driver.version>
+  </properties>
+
   <dependencies>
     <dependency>
       <groupId>org.apache.plc4x</groupId>
@@ -65,18 +69,18 @@
       <!-- Just for reference can be removed later-->
       <groupId>com.digitalpetri.modbus</groupId>
       <artifactId>modbus-master-tcp</artifactId>
-      <version>1.1.0</version>
+      <version>${modbus-driver.version}</version>
       <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>com.digitalpetri.modbus</groupId>
       <artifactId>modbus-core</artifactId>
-      <version>1.1.0</version>
+      <version>${modbus-driver.version}</version>
     </dependency>
     <dependency>
       <groupId>com.digitalpetri.modbus</groupId>
       <artifactId>modbus-codec</artifactId>
-      <version>1.1.0</version>
+      <version>${modbus-driver.version}</version>
     </dependency>
 
     <dependency>