You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by ap...@apache.org on 2014/02/15 21:10:43 UTC
git commit: PHOENIX-46 Use Apache Rat for release compliance checking
Repository: incubator-phoenix
Updated Branches:
refs/heads/master bbacf6e03 -> 9a46c0e0c
PHOENIX-46 Use Apache Rat for release compliance checking
Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/9a46c0e0
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/9a46c0e0
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/9a46c0e0
Branch: refs/heads/master
Commit: 9a46c0e0c865fc856347b4864cb2244e6b49c952
Parents: bbacf6e
Author: Andrew Purtell <ap...@apache.org>
Authored: Fri Feb 14 12:31:11 2014 -0800
Committer: Andrew Purtell <ap...@apache.org>
Committed: Sat Feb 15 12:10:19 2014 -0800
----------------------------------------------------------------------
pom.xml | 50 ++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 50 insertions(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/9a46c0e0/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 05b3d3c..27167fb 100644
--- a/pom.xml
+++ b/pom.xml
@@ -95,6 +95,7 @@
<maven-build-helper-plugin.version>1.7</maven-build-helper-plugin.version>
<maven-dependency-plugin.version>2.1</maven-dependency-plugin.version>
<maven.assembly.version>2.4</maven.assembly.version>
+ <maven.rat.version>0.8</maven.rat.version>
<!-- Set default encoding so multi-byte tests work correctly on the Mac -->
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
@@ -148,6 +149,33 @@
<artifactId>maven-assembly-plugin</artifactId>
<version>${maven.assembly.version}</version>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <version>${maven.rat.version}</version>
+ <configuration>
+ <excludes>
+ <exclude>CHANGES.txt</exclude>
+ <exclude>README.md</exclude>
+ <exclude>dev/phoenix.importorder</exclude>
+ <exclude>**/target/**</exclude>
+ <exclude>**/*.versionsBackup</exclude>
+ <!-- exclude docs -->
+ <exclude>docs/**</exclude>
+ <!-- exclude examples -->
+ <exclude>examples/**</exclude>
+ <!-- exclude source control files -->
+ <exclude>.gitignore</exclude>
+ <exclude>.git/**</exclude>
+ <!-- exclude IDE files -->
+ <exclude>**/.idea/**</exclude>
+ <exclude>**/*.iml</exclude>
+ <exclude>.project</exclude>
+ <exclude>.classpath</exclude>
+ <exclude>.settings/**</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</pluginManagement>
@@ -533,5 +561,27 @@
</pluginManagement>
</build>
</profile>
+
+ <!-- this profile should be activated for release builds -->
+ <profile>
+ <id>release</id>
+ <build>
+ <plugins>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <executions>
+ <execution>
+ <phase>package</phase>
+ <goals>
+ <goal>check</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
</profiles>
</project>