Update Apache parent POM and add Travis-CI config
diff --git a/.travis.yml b/.travis.yml
new file mode 100644
index 0000000..c835afc
--- /dev/null
+++ b/.travis.yml
@@ -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
diff --git a/pom.xml b/pom.xml
index 057d082..a42df1d 100644
--- a/pom.xml
+++ b/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,16 +34,16 @@
<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>
@@ -51,25 +51,14 @@
<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>