Maven project dependency

The Lablink OPC UA client’s compiled Java package is available on the Maven Central Repository. Use it in your local Maven setup by including the following dependency into your pom.xml:

<dependency>
  <groupId>at.ac.ait.lablink.clients</groupId>
  <artifactId>opcuaclient</artifactId>
  <version>0.0.2</version>
</dependency>

Note

You may have to adapt this snippet to use the latest version, please check the Maven Central Repository.

Installation from source

Installation from source requires a local Java Development Kit installation, for instance the Oracle Java SE Development Kit 13 or the OpenJDK.

Check out the project and compile it with Maven:

git clone https://github.com/ait-lablink/lablink-opcua-client
cd lablink-opcua-client
mvnw clean package

This will create JAR file opcuaclient-<VERSION>-jar-with-dependencies.jar in subdirectory target/assembly. Furthermore, all required JAR files for running the example will be copied to subdirectory target/dependency/.

Troubleshooting the installation

Nothing yet …