0

Initial impl of CircleCI build

This commit is contained in:
Ronald Jack Jenkins Jr
2017-07-30 19:45:44 -04:00
parent 6696c576ea
commit dadf31fa0a
3 changed files with 30 additions and 21 deletions

18
circle.yml Normal file
View File

@@ -0,0 +1,18 @@
machine:
java:
version: oraclejdk7
dependencies:
override:
- exit 0 # Handled during compile phase.
test:
override:
- exit 0 # Handled during compile phase.
deployment:
production:
branch: production # TBD
commands:
- mvn -Drtr.disabled=true clean
- mvn -s settings.xml -Drtr.release=true

21
pom.xml
View File

@@ -249,27 +249,6 @@
<build>
<defaultGoal>clean deploy site-deploy</defaultGoal>
<plugins>
<!-- Write POM version to properties file. -->
<plugin>
<artifactId>maven-antrun-plugin</artifactId>
<version>1.8</version>
<executions>
<execution>
<id>write-properties-file</id>
<phase>initialize</phase>
<goals>
<goal>run</goal>
</goals>
<configuration>
<target>
<propertyfile file="${project.basedir}/version.properties">
<entry key="RELEASE_POM_VERSION" value="${project.version}" />
</propertyfile>
</target>
</configuration>
</execution>
</executions>
</plugin>
<!-- Generate source JAR. -->
<plugin>
<artifactId>maven-source-plugin</artifactId>

12
settings.xml Normal file
View File

@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="UTF-8"?>
<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 http://maven.apache.org/xsd/settings-1.0.0.xsd">
<servers>
<!-- GitHub site deployment. -->
<server>
<id>github</id>
<password>${env.GMSP_OAUTHTOKEN}</password>
</server>
</servers>
</settings>