Get CircleCI working?

This commit is contained in:
Ash 2017-03-24 13:22:44 +11:00
parent 7d00588ecf
commit 8bc3c76858
2 changed files with 37 additions and 2 deletions

11
circle.yml Normal file
View File

@ -0,0 +1,11 @@
machine:
java:
version: openjdk6
compile:
override:
- mvn package -Dci-build=true
general:
artifacts:
- "ci"

28
pom.xml
View File

@ -15,6 +15,30 @@
<name>HID To VPAD Network Client</name>
<url>https://github.com/QuarkTheAwesome/HIDToVPADNetworkClient</url>
<profiles>
<profile>
<id>normal-build</id>
<activation>
<activeByDefault>true</activeByDefault>
</activation>
<properties>
<jar_dir>./target</jar_dir>
</properties>
</profile>
<profile>
<id>ci-build</id>
<activation>
<property>
<name>ci-build</name>
<value>true</value>
</property>
</activation>
<properties>
<jar_dir>./ci</jar_dir>
</properties>
</profile>
</profiles>
<build>
<sourceDirectory>src</sourceDirectory>
<!-- Band-aid over a knife wound, I know. Restructure is later. -->
@ -46,7 +70,7 @@
<descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs>
<!-- Stick jar in root dir, if you want -->
<!--<outputDirectory>./</outputDirectory>-->
<outputDirectory>${jar_dir}</outputDirectory>
</configuration>
<!-- Hook the "package" stage -->
<executions>
@ -98,4 +122,4 @@
<version>master-SNAPSHOT</version>
</dependency>
</dependencies>
</project>
</project>