You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/10/09 22:28:58 UTC

[pulsar] branch branch-2.2 updated: Fixed apache-rat validations

This is an automated email from the ASF dual-hosted git repository.

mmerli pushed a commit to branch branch-2.2
in repository https://gitbox.apache.org/repos/asf/pulsar.git


The following commit(s) were added to refs/heads/branch-2.2 by this push:
     new dd50929  Fixed apache-rat validations
dd50929 is described below

commit dd509298aad74f720089f675884196f0cf3d8945
Author: Matteo Merli <mm...@apache.org>
AuthorDate: Tue Oct 9 15:03:13 2018 -0700

    Fixed apache-rat validations
---
 distribution/server/src/assemble/src.xml |  4 ++++
 examples/flink-consumer-source/README.md | 21 +++++++++++++++++++++
 pom.xml                                  |  3 ++-
 tests/compose/README.md                  | 21 +++++++++++++++++++++
 4 files changed, 48 insertions(+), 1 deletion(-)

diff --git a/distribution/server/src/assemble/src.xml b/distribution/server/src/assemble/src.xml
index d9af938..516528a 100644
--- a/distribution/server/src/assemble/src.xml
+++ b/distribution/server/src/assemble/src.xml
@@ -48,6 +48,8 @@
       </includes>
       <excludes>
         <exclude>.git/**</exclude>
+        <exclude>**/*.nar</exclude>
+        <exclude>**/.terraform/**</exclude>
         <exclude>**/.gitignore</exclude>
         <exclude>**/.svn</exclude>
         <exclude>**/*.iws</exclude>
@@ -72,6 +74,8 @@
         <exclude>pulsar-client-cpp/perf/perfConsumer</exclude>
 
         <exclude>**/python/dist/**</exclude>
+        <exclude>**/pulsar-client-cpp/pkg/rpm/RPMS/**</exclude>
+        <exclude>**/pulsar-client-cpp/pkg/rpm/SOURCES/**</exclude>
         <exclude>**/python/wheelhouse/**</exclude>
         <exclude>**/python/MANIFEST</exclude>
         <exclude>**/*.egg-info/**</exclude>
diff --git a/examples/flink-consumer-source/README.md b/examples/flink-consumer-source/README.md
index 209bb31..804a9d3 100644
--- a/examples/flink-consumer-source/README.md
+++ b/examples/flink-consumer-source/README.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 ## Apache Flink Connectors for Pulsar
 
 This page describes how to use the connectors to read and write Pulsar topics with [Apache Flink](https://flink.apache.org/) stream processing applications.
diff --git a/pom.xml b/pom.xml
index b8de04f..fdb9eca 100644
--- a/pom.xml
+++ b/pom.xml
@@ -1133,10 +1133,11 @@ flexible messaging model and an intuitive client API.</description>
 
             <!-- This is a text property file that contains just a class name -->
             <exclude>**/META-INF/services/com.scurrilous.circe.HashProvider</exclude>
+            <exclude>**/META-INF/services/com.facebook.presto.spi.Plugin</exclude>
 
             <!-- Django generated code -->
             <exclude>dashboard/django/stats/migrations/*.py</exclude>
-            <exclude>dashboard/conf/uwsgi_params</exclude>
+            <exclude>**/conf/uwsgi_params</exclude>
 
             <!-- Exclude certificates used for tests -->
             <exclude>**/*.crt</exclude>
diff --git a/tests/compose/README.md b/tests/compose/README.md
index 63c97e5..6b57504 100644
--- a/tests/compose/README.md
+++ b/tests/compose/README.md
@@ -1,3 +1,24 @@
+<!--
+
+    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.
+
+-->
+
 This are docker compose files to quickly bring up a pulsar
 cluster. They use the pulsar testing docker image. To generate this,
 run ```mvn install -DskipTests -Pdocker``` in the top-level directory