You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@plc4x.apache.org by Gunther Gruber <gu...@IDA-Analytics.de> on 2019/02/22 15:44:53 UTC

POM file for karaf/osgi integration

Hi,

as we are using karaf/osgi we created a wrapper for the project. This bundles all modules for the s7 driver.

we init the driver with the following line, otherwise the driver is not found

plcConnection = new PlcDriverManager(S7PlcDriver.class.getClassLoader())
    .getConnection(addressString);




<dependency>
  <groupId>com.yyyy.orbit</groupId>
  <artifactId>plc4j-all</artifactId>
</dependency>