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> <name>HID To VPAD Network Client</name>
<url>https://github.com/QuarkTheAwesome/HIDToVPADNetworkClient</url> <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> <build>
<sourceDirectory>src</sourceDirectory> <sourceDirectory>src</sourceDirectory>
<!-- Band-aid over a knife wound, I know. Restructure is later. --> <!-- Band-aid over a knife wound, I know. Restructure is later. -->
@ -46,7 +70,7 @@
<descriptorRef>jar-with-dependencies</descriptorRef> <descriptorRef>jar-with-dependencies</descriptorRef>
</descriptorRefs> </descriptorRefs>
<!-- Stick jar in root dir, if you want --> <!-- Stick jar in root dir, if you want -->
<!--<outputDirectory>./</outputDirectory>--> <outputDirectory>${jar_dir}</outputDirectory>
</configuration> </configuration>
<!-- Hook the "package" stage --> <!-- Hook the "package" stage -->
<executions> <executions>
@ -98,4 +122,4 @@
<version>master-SNAPSHOT</version> <version>master-SNAPSHOT</version>
</dependency> </dependency>
</dependencies> </dependencies>
</project> </project>