You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@phoenix.apache.org by gr...@apache.org on 2014/04/09 17:39:14 UTC

git commit: PHOENIX-925 Fix Apache RAT violations

Repository: incubator-phoenix
Updated Branches:
  refs/heads/master ec3e84005 -> ce47be1be


PHOENIX-925 Fix Apache RAT violations

Add necessary exclusions and missing license headers to allow
"mvn apache-rat:check" to run successfully.


Project: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/commit/ce47be1b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/tree/ce47be1b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-phoenix/diff/ce47be1b

Branch: refs/heads/master
Commit: ce47be1be69a53dea3480d55d93453c14ef084d8
Parents: ec3e840
Author: Gabriel Reid <ga...@ngdata.com>
Authored: Wed Apr 9 17:16:46 2014 +0200
Committer: Gabriel Reid <ga...@ngdata.com>
Committed: Wed Apr 9 17:16:46 2014 +0200

----------------------------------------------------------------------
 phoenix-assembly/src/build/src.xml              | 20 ++++++++++++++++++++
 .../TenantSpecificViewIndexSaltedIT.java        | 17 +++++++++++++++++
 .../TenantSpecificViewIndexCompileTest.java     | 17 +++++++++++++++++
 pom.xml                                         |  5 ++++-
 4 files changed, 58 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/ce47be1b/phoenix-assembly/src/build/src.xml
----------------------------------------------------------------------
diff --git a/phoenix-assembly/src/build/src.xml b/phoenix-assembly/src/build/src.xml
index ad8277f..e23af76 100644
--- a/phoenix-assembly/src/build/src.xml
+++ b/phoenix-assembly/src/build/src.xml
@@ -1,3 +1,23 @@
+<!--
+
+ 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.
+
+-->
 <assembly xmlns="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0"
   xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
   xsi:schemaLocation="http://maven.apache.org/plugins/maven-assembly-plugin/assembly/1.1.0 http://maven.apache.org/xsd/assembly-1.1.0.xsd">

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/ce47be1b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexSaltedIT.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexSaltedIT.java b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexSaltedIT.java
index cb56e5d..e72419a 100644
--- a/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexSaltedIT.java
+++ b/phoenix-core/src/it/java/org/apache/phoenix/end2end/TenantSpecificViewIndexSaltedIT.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
 package org.apache.phoenix.end2end;
 
 import org.junit.Test;

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/ce47be1b/phoenix-core/src/test/java/org/apache/phoenix/compile/TenantSpecificViewIndexCompileTest.java
----------------------------------------------------------------------
diff --git a/phoenix-core/src/test/java/org/apache/phoenix/compile/TenantSpecificViewIndexCompileTest.java b/phoenix-core/src/test/java/org/apache/phoenix/compile/TenantSpecificViewIndexCompileTest.java
index df9bf06..c0e6746 100644
--- a/phoenix-core/src/test/java/org/apache/phoenix/compile/TenantSpecificViewIndexCompileTest.java
+++ b/phoenix-core/src/test/java/org/apache/phoenix/compile/TenantSpecificViewIndexCompileTest.java
@@ -1,3 +1,20 @@
+/*
+ * 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.
+ */
 package org.apache.phoenix.compile;
 
 import static org.junit.Assert.assertEquals;

http://git-wip-us.apache.org/repos/asf/incubator-phoenix/blob/ce47be1b/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index 2779d89..37bb269 100644
--- a/pom.xml
+++ b/pom.xml
@@ -172,7 +172,7 @@
             <excludes>
               <exclude>CHANGES.txt</exclude>
               <exclude>README.md</exclude>
-	            <exclude>dev/phoenix.importorder</exclude>
+	      <exclude>dev/phoenix.importorder</exclude>
               <exclude>**/target/**</exclude>
               <exclude>**/*.versionsBackup</exclude>
               <!-- exclude docs -->
@@ -188,6 +188,9 @@
               <exclude>.project</exclude>
               <exclude>.classpath</exclude>
               <exclude>.settings/**</exclude>
+              <exclude>**/resources/java.sql.Driver</exclude>
+              <!-- exclude protobuf files -->
+              <exclude>**/generated/**</exclude>
             </excludes>
           </configuration>
         </plugin>