Install with Maven
This Java interface to the DeviceAPI depends on the native DeviceAPI.
Therefore, please make sure to install the native library.
The Java library is distributed as a Maven package and may be fetched
as user net
with password letmein
being signed in here: https://nexus.stepover.de/.
If develop with Maven
add this repository to maven-settings, as in the following
example maven settings
<settings> <profiles> <profile> <id>netProfileId</id> <repositories> <repository> <id>nexus-stepover-maven-public</id> <name>StepOver </name> <url>https://nexus.stepover.de/repository/maven-public/</url> </repository> </repositories> </profile> </profiles> <activeProfiles> <activeProfile>netProfileId</activeProfile> </activeProfiles> <servers> <server> <id>nexus-stepover-maven-public</id> <username>net</username> <password>letmein</password> </server> </servers> </settings>
In your pom,
add the <repository> and a <dependency> as shown in the lower half of the following
example pom.xml
<?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>your-group-id</groupId> <artifactId>your-artifact-id</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <maven.compiler.source>14</maven.compiler.source> <maven.compiler.target>14</maven.compiler.target> </properties> <repositories> <repository> <id>nexus-stepover-maven-public</id> <url>https://nexus.stepover.de/repository/maven-public</url> </repository> </repositories> <dependencies> <dependency> <groupId>com.so</groupId> <artifactId>net</artifactId> <version>[0.0.5,1.0.0)</version> </dependency> </dependencies> </project>