Externe Library in Maven Projekt linken

JAR aus temporärem Verzeichnis in lokales Maven-Repo importieren:

$ mvn install:install-file -Dfile=/tmp/stpad-native-8.0.23.1.jar -DgroupId=de.signotec.stpad -DartifactId=native -Dversion=8.0.23.1 -Dpackaging=jar

Einbindung in MVN-File:

<?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>com.rkcsd.apps.embedded.signograb</groupId>
    <artifactId>signograb</artifactId>
    <version>1.0-SNAPSHOT</version>


    <dependencies>
        <dependency>
            <groupId>de.signotec.stpad</groupId>
            <artifactId>native</artifactId>
            <version>8.0.23.1</version>
            <scope>build</scope>
        </dependency>
    </dependencies>

</project>