Initial impl of CircleCI build
This commit is contained in:
18
circle.yml
Normal file
18
circle.yml
Normal 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
21
pom.xml
@@ -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
12
settings.xml
Normal 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>
|
||||
Reference in New Issue
Block a user