Fix up build

This commit is contained in:
Ash 2017-03-20 13:38:08 +11:00
parent 101b4feeb0
commit 80ecde9e4d

48
pom.xml
View File

@ -1,10 +1,22 @@
<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"> <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> <modelVersion>4.0.0</modelVersion>
<groupId>net.ash</groupId> <groupId>net.ash</groupId>
<artifactId>HIDToVPADNetworkClient</artifactId> <artifactId>HIDToVPADNetworkClient</artifactId>
<version>0.0.1-SNAPSHOT</version> <version>0.0.1-SNAPSHOT</version>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
</properties>
<name>HID To VPAD Network Client</name>
<url>https://github.com/QuarkTheAwesome/HIDToVPADNetworkClient</url>
<build> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>
<defaultGoal>clean package</defaultGoal>
<plugins> <plugins>
<plugin> <plugin>
<artifactId>maven-compiler-plugin</artifactId> <artifactId>maven-compiler-plugin</artifactId>
@ -14,10 +26,10 @@
<target>1.8</target> <target>1.8</target>
</configuration> </configuration>
</plugin> </plugin>
<!-- Generate a jar with dependencies -->
<plugin> <plugin>
<artifactId>maven-assembly-plugin</artifactId> <artifactId>maven-assembly-plugin</artifactId>
<configuration> <configuration>
<archive> <archive>
<manifest> <manifest>
<mainClass>net.ash.HIDToVPADNetworkClient.Main</mainClass> <mainClass>net.ash.HIDToVPADNetworkClient.Main</mainClass>
@ -26,18 +38,41 @@
<descriptorRefs> <descriptorRefs>
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
<!-- Stick jar in root dir, if you want -->
<!--<outputDirectory>./</outputDirectory>-->
</configuration> </configuration>
<!-- Hook the "package" stage -->
<executions>
<execution>
<id>make-assembly</id>
<phase>package</phase>
<goals>
<goal>attached</goal>
</goals>
</execution>
</executions>
</plugin>
<!-- Disable the default jar output -->
<plugin>
<artifactId>maven-jar-plugin</artifactId>
<version>2.3.1</version>
<executions>
<execution>
<id>default-jar</id>
<phase>none</phase>
</execution>
</executions>
</plugin> </plugin>
</plugins> </plugins>
</build> </build>
<repositories> <repositories>
<repository> <repository>
<id>jitpack.io</id> <!-- JitPack allows github repo to be used as a maven repo --> <id>jitpack.io</id> <!-- JitPack allows github repo to be used as a maven repo -->
<url>https://jitpack.io</url> <!-- For documentation: http://jitpack.io/ --> <url>https://jitpack.io</url> <!-- For documentation: http://jitpack.io/ -->
</repository> </repository>
</repositories> </repositories>
<dependencies> <dependencies>
<dependency> <dependency>
<groupId>org.projectlombok</groupId> <groupId>org.projectlombok</groupId>
@ -50,11 +85,10 @@
<artifactId>jxinput</artifactId> <artifactId>jxinput</artifactId>
<version>1eb4087</version> <!-- JXInput 0.7 --> <version>1eb4087</version> <!-- JXInput 0.7 -->
</dependency> </dependency>
<dependency> <dependency>
<groupId>purejavahidapi</groupId> <groupId>com.github.QuarkTheAwesome</groupId>
<artifactId>purejavahidapi</artifactId> <artifactId>purejavahidapi</artifactId>
<version>0.0.1</version> <version>master-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>