Java reference implementation and test tool.
cd java
mvn clean install
java -jar target/websocket-client-example-1.2-jar-with-dependencies.jar http://<unit ip address>
The example code depends on an API library renos-api-message
. This API library is provided within the java/repo
directory, which is a file-based maven repository.
To include the API library in your project, make sure the dependency is available in some repository and reference the repository in your pom.xml
:
<project>
<repositories>
<repository>
<id>project.local</id>
<name>project</name>
<url>file:${project.basedir}/repo</url>
</repository>
</repositories>
</project>
Then add the dependency:
<project>
<dependencies>
<dependency>
<groupId>com.nedap.retail.renos.api.v2</groupId>
<artifactId>renos-api-message</artifactId>
<version>1.0</version>
</dependency>
</dependencies>
</project>