-
-
Save mcgivrer/b5c5f82f1deb8830f0fc94db8cc1a8b5 to your computer and use it in GitHub Desktop.
jinput native library unpack example
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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>org.gilmour.native</groupId> | |
<artifactId>jinput-2</artifactId> | |
<version>1.0-SNAPSHOT</version> | |
<properties> | |
<jinput.version>2.0.6</jinput.version> | |
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> | |
</properties> | |
<dependencies> | |
<dependency> | |
<groupId>net.java.jinput</groupId> | |
<artifactId>jinput</artifactId> | |
<version>${jinput.version}</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.java.jutils</groupId> | |
<artifactId>jutils</artifactId> | |
<version>1.0.0</version> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.java.jinput</groupId> | |
<artifactId>jinput-platform</artifactId> | |
<version>${jinput.version}</version> | |
<classifier>natives-linux</classifier> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.java.jinput</groupId> | |
<artifactId>jinput-platform</artifactId> | |
<version>${jinput.version}</version> | |
<classifier>natives-windows</classifier> | |
<scope>provided</scope> | |
</dependency> | |
<dependency> | |
<groupId>net.java.jinput</groupId> | |
<artifactId>jinput-platform</artifactId> | |
<version>${jinput.version}</version> | |
<classifier>natives-osx</classifier> | |
<scope>provided</scope> | |
</dependency> | |
</dependencies> | |
<build> | |
<plugins> | |
<plugin> | |
<groupId>org.apache.maven.plugins</groupId> | |
<artifactId>maven-dependency-plugin</artifactId> | |
<executions> | |
<execution> | |
<id>unpack</id> | |
<phase>compile</phase> | |
<goals> | |
<goal>unpack</goal> | |
</goals> | |
<configuration> | |
<artifactItems> | |
<artifactItem> | |
<groupId>net.java.jinput</groupId> | |
<artifactId>jinput-platform</artifactId> | |
<version>${jinput.version}</version> | |
<classifier>natives-linux</classifier> | |
<type>jar</type> | |
<overWrite>true</overWrite> | |
<outputDirectory>${project.build.directory}/lib</outputDirectory> | |
</artifactItem> | |
</artifactItems> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> | |
</plugins> | |
</build> | |
</project> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment