You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pirk.apache.org by ea...@apache.org on 2016/07/30 20:41:31 UTC
incubator-pirk git commit: [PIRK-30] Pirk compile no longer fails
with RAT checks - closes apache/incubator-pirk#35
Repository: incubator-pirk
Updated Branches:
refs/heads/master 463ad0567 -> a5113dd3e
[PIRK-30] Pirk compile no longer fails with RAT checks - closes apache/incubator-pirk#35
Project: http://git-wip-us.apache.org/repos/asf/incubator-pirk/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-pirk/commit/a5113dd3
Tree: http://git-wip-us.apache.org/repos/asf/incubator-pirk/tree/a5113dd3
Diff: http://git-wip-us.apache.org/repos/asf/incubator-pirk/diff/a5113dd3
Branch: refs/heads/master
Commit: a5113dd3efafbdf535b1ea6af6d487ce438e6f15
Parents: 463ad05
Author: smarthi <sm...@apache.org>
Authored: Sat Jul 30 16:41:18 2016 -0400
Committer: eawilliams <ea...@apache.org>
Committed: Sat Jul 30 16:41:18 2016 -0400
----------------------------------------------------------------------
.travis.yml | 15 +++++----------
pom.xml | 19 +++++++++++++------
2 files changed, 18 insertions(+), 16 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/a5113dd3/.travis.yml
----------------------------------------------------------------------
diff --git a/.travis.yml b/.travis.yml
index ebe19b5..cc1896f 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,10 +1,6 @@
language: java
-
-os:
- - linux
-
-jdk:
- - oraclejdk8
+os: linux
+jdk: oraclejdk8
# before_install is used to provide a workaround for buffer overflow issues with OpenJDK versions of java as per:
# https://github.com/travis-ci/travis-ci/issues/5227#issuecomment-165135711
@@ -19,9 +15,8 @@ before_install:
- export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
- hash -r
-before_script:
- - export M2_HOME=$PWD/apache-maven-3.3.9
- - export PATH=$PWD/apache-maven-3.3.9/bin:${PATH}
- - hash -r
+cache:
+ directories:
+ - $HOME/.m2
install: mvn clean install
http://git-wip-us.apache.org/repos/asf/incubator-pirk/blob/a5113dd3/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d457402..40a581a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -251,17 +251,16 @@
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
- <version>0.11</version>
+ <version>0.12</version>
<configuration>
<excludes>
- <exclude>nb-configuration.xml</exclude> <!-- courtesy excludes for netbeans users -->
- <exclude>nbactions.xml</exclude> <!-- courtesy excludes for netbeans users -->
- <exclude>DEPENDENCIES
- </exclude> <!-- auto generated file by apache's maven config while building sources.zip -->
<exclude>.travis.yml</exclude> <!-- Travis CI Build Descriptor File -->
- <exclude>appveyor.yml</exclude> <!-- AppVeyor CI Build Descriptor File -->
<exclude>findbugs-exclude.xml</exclude> <!-- False positives for FindBugs analysis -->
<exclude>KEYS</exclude> <!-- GPG keys of Release Managers -->
+ <exclude>eclipse*.xml</exclude> <!-- Exclude eclipse* xml -->
+ <exclude>docs/*</exclude> <!-- Exclude docs -->
+ <exclude>logs/*</exclude> <!-- Exclude logs -->
+ <exclude>**/m2.conf</exclude> <!-- Exclude Maven conf which gets installed on travis and fails RAT check -->
</excludes>
</configuration>
<dependencies>
@@ -278,6 +277,14 @@
</exclusions>
</dependency>
</dependencies>
+ <executions>
+ <execution>
+ <phase>validate</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
</plugin>
<plugin>