Skip to content
Permalink
Browse files
Update Apache parent POM and add Travis-CI config
  • Loading branch information
ctubbsii committed Dec 21, 2017
1 parent d8a6c84 commit 8ec26b9ad8748b1e25d61d2c37e173a4cb194d6e
Show file tree
Hide file tree
Showing 2 changed files with 43 additions and 17 deletions.
@@ -0,0 +1,37 @@
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not use this file except in compliance with
# the License. You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
language: java
notifications:
irc:
channels:
- "chat.freenode.net#accumulo"
use_notice: true
on_success: change
on_failure: always
template:
- "%{result} %{repository_slug} %{branch} (%{build_url}): %{message}"
# speed up builds; don't use with install
cache:
directories:
- $HOME/.m2
# skip pre-fetch of maven dependencies by making install step a NOOP
install: true
jdk:
- openjdk8
# clear any cache of accumulo artifacts, just in case; use https for central
before_script:
- rm -rf $HOME/.m2/repository/org/apache/accumulo
- echo "<settings xmlns='http://maven.apache.org/SETTINGS/1.0.0'><mirrors><mirror><id>secure-central</id><url>https://repo.maven.apache.org/maven2</url><mirrorOf>central</mirrorOf></mirror></mirrors></settings>" > $HOME/settings-custom.xml
script: mvn --settings $HOME/settings-custom.xml clean verify
23 pom.xml
@@ -20,7 +20,7 @@
<parent>
<groupId>org.apache</groupId>
<artifactId>apache</artifactId>
<version>13</version>
<version>18</version>
</parent>

<groupId>org.apache.accumulo</groupId>
@@ -34,42 +34,31 @@
<url>https://gitbox.apache.org/repos/asf?p=accumulo-instamo-archetype.git</url>
<tag>HEAD</tag>
</scm>
<url>http://accumulo.apache.org</url>
<url>https://accumulo.apache.org</url>
<properties>
<sourceReleaseAssemblyDescriptor>source-release-zip-tar</sourceReleaseAssemblyDescriptor>
<sourceReleaseAssemblyDescriptor>source-release-tar</sourceReleaseAssemblyDescriptor>
</properties>
<build>
<extensions>
<extension>
<groupId>org.apache.maven.archetype</groupId>
<artifactId>archetype-packaging</artifactId>
<version>2.2</version>
<version>3.0.1</version>
</extension>
</extensions>
<pluginManagement>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-archetype-plugin</artifactId>
<version>2.2</version>
<version>3.0.1</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-release-plugin</artifactId>
<configuration>
<pushChanges>false</pushChanges>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<version>0.10</version>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-assembly-plugin</artifactId>
<configuration>
<tarLongFileMode>gnu</tarLongFileMode>
<localCheckout>true</localCheckout>
</configuration>
</plugin>
</plugins>

0 comments on commit 8ec26b9

Please sign in to comment.