You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@flink.apache.org by fh...@apache.org on 2014/12/05 22:33:00 UTC

[1/2] incubator-flink git commit: [FLINK-1301] Added Apache license headers to Markdown, HTML, SVG, Python files. Made exceptions for license check plugin more fine-granular.

Repository: incubator-flink
Updated Branches:
  refs/heads/master 979837aad -> 770ce2315


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/setup_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/setup_quickstart.md b/docs/setup_quickstart.md
index 61128c3..e9d2b8b 100644
--- a/docs/setup_quickstart.md
+++ b/docs/setup_quickstart.md
@@ -1,6 +1,24 @@
 ---
 title: "Quickstart: Setup"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/spargel_guide.md
----------------------------------------------------------------------
diff --git a/docs/spargel_guide.md b/docs/spargel_guide.md
index c5b2ac4..0520ba5 100644
--- a/docs/spargel_guide.md
+++ b/docs/spargel_guide.md
@@ -1,6 +1,24 @@
 ---
 title: "Spargel Graph Processing API"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/streaming_guide.md
----------------------------------------------------------------------
diff --git a/docs/streaming_guide.md b/docs/streaming_guide.md
index c82db77..294da24 100644
--- a/docs/streaming_guide.md
+++ b/docs/streaming_guide.md
@@ -1,6 +1,24 @@
 ---
 title: "Flink Stream Processing API"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/web_client.md
----------------------------------------------------------------------
diff --git a/docs/web_client.md b/docs/web_client.md
index 20aee3e..34d7274 100644
--- a/docs/web_client.md
+++ b/docs/web_client.md
@@ -1,6 +1,24 @@
 ---
 title:  "Web Client"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/yarn_setup.md
----------------------------------------------------------------------
diff --git a/docs/yarn_setup.md b/docs/yarn_setup.md
index 7df9928..5f51340 100644
--- a/docs/yarn_setup.md
+++ b/docs/yarn_setup.md
@@ -1,6 +1,24 @@
 ---
 title:  "YARN Setup"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-addons/flink-hbase/src/test/resources/log4j.properties
----------------------------------------------------------------------
diff --git a/flink-addons/flink-hbase/src/test/resources/log4j.properties b/flink-addons/flink-hbase/src/test/resources/log4j.properties
index c83ec70..d6eb2b2 100755
--- a/flink-addons/flink-hbase/src/test/resources/log4j.properties
+++ b/flink-addons/flink-hbase/src/test/resources/log4j.properties
@@ -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.
+
 log4j.rootLogger=${hadoop.root.logger}
 hadoop.root.logger=INFO,console
 log4j.appender.console=org.apache.log4j.ConsoleAppender

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-clients/resources/web-docs/index.html
----------------------------------------------------------------------
diff --git a/flink-clients/resources/web-docs/index.html b/flink-clients/resources/web-docs/index.html
index 5273ca4..bfba666 100644
--- a/flink-clients/resources/web-docs/index.html
+++ b/flink-clients/resources/web-docs/index.html
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
 <html>
 <head>
 <meta http-equiv="Content-Type" content="text/html; charset=us-ascii">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-clients/resources/web-docs/launch.html
----------------------------------------------------------------------
diff --git a/flink-clients/resources/web-docs/launch.html b/flink-clients/resources/web-docs/launch.html
index 69759f2..7564177 100755
--- a/flink-clients/resources/web-docs/launch.html
+++ b/flink-clients/resources/web-docs/launch.html
@@ -1,5 +1,23 @@
 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
         "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
+<!--
+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.
+-->
 <html>
 
 <head>

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-quickstart/flink-quickstart-java/src/test/resources/projects/testArtifact/archetype.properties
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-java/src/test/resources/projects/testArtifact/archetype.properties b/flink-quickstart/flink-quickstart-java/src/test/resources/projects/testArtifact/archetype.properties
index fb446f9..3f1bbd3 100644
--- a/flink-quickstart/flink-quickstart-java/src/test/resources/projects/testArtifact/archetype.properties
+++ b/flink-quickstart/flink-quickstart-java/src/test/resources/projects/testArtifact/archetype.properties
@@ -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.
+
 groupId=org.apache.flink.archetypetest
 artifactId=testArtifact
 version=0.1

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/Job.scala
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/Job.scala b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/Job.scala
index f9dad03..7cdd1c2 100644
--- a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/Job.scala
+++ b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/Job.scala
@@ -1,5 +1,23 @@
 package ${package}
 
+/**
+ * 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.
+ */
+
 import org.apache.flink.api.scala._
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/WordCountJob.scala
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/WordCountJob.scala b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/WordCountJob.scala
index 54408cb..6696a6a 100644
--- a/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/WordCountJob.scala
+++ b/flink-quickstart/flink-quickstart-scala/src/main/resources/archetype-resources/src/main/scala/WordCountJob.scala
@@ -1,5 +1,23 @@
 package ${package}
 
+/**
+ * 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.
+ */
+
 import org.apache.flink.api.scala._
 
 /**

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-quickstart/flink-quickstart-scala/src/test/resources/projects/testArtifact/archetype.properties
----------------------------------------------------------------------
diff --git a/flink-quickstart/flink-quickstart-scala/src/test/resources/projects/testArtifact/archetype.properties b/flink-quickstart/flink-quickstart-scala/src/test/resources/projects/testArtifact/archetype.properties
index fb446f9..3f1bbd3 100644
--- a/flink-quickstart/flink-quickstart-scala/src/test/resources/projects/testArtifact/archetype.properties
+++ b/flink-quickstart/flink-quickstart-scala/src/test/resources/projects/testArtifact/archetype.properties
@@ -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.
+
 groupId=org.apache.flink.archetypetest
 artifactId=testArtifact
 version=0.1

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/analyze.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/analyze.html b/flink-runtime/resources/web-docs-infoserver/analyze.html
index 346aba4..998542e 100644
--- a/flink-runtime/resources/web-docs-infoserver/analyze.html
+++ b/flink-runtime/resources/web-docs-infoserver/analyze.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/blank-page.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/blank-page.html b/flink-runtime/resources/web-docs-infoserver/blank-page.html
index 1da05e2..855f6ab 100644
--- a/flink-runtime/resources/web-docs-infoserver/blank-page.html
+++ b/flink-runtime/resources/web-docs-infoserver/blank-page.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/configuration.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/configuration.html b/flink-runtime/resources/web-docs-infoserver/configuration.html
index b9e7a07..90d2cfc 100644
--- a/flink-runtime/resources/web-docs-infoserver/configuration.html
+++ b/flink-runtime/resources/web-docs-infoserver/configuration.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/history.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/history.html b/flink-runtime/resources/web-docs-infoserver/history.html
index fd55dc8..57b98e8 100644
--- a/flink-runtime/resources/web-docs-infoserver/history.html
+++ b/flink-runtime/resources/web-docs-infoserver/history.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/index.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/index.html b/flink-runtime/resources/web-docs-infoserver/index.html
index 2d3346d..43f4289 100644
--- a/flink-runtime/resources/web-docs-infoserver/index.html
+++ b/flink-runtime/resources/web-docs-infoserver/index.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/flink-runtime/resources/web-docs-infoserver/taskmanagers.html
----------------------------------------------------------------------
diff --git a/flink-runtime/resources/web-docs-infoserver/taskmanagers.html b/flink-runtime/resources/web-docs-infoserver/taskmanagers.html
index b158337..91a1e19 100644
--- a/flink-runtime/resources/web-docs-infoserver/taskmanagers.html
+++ b/flink-runtime/resources/web-docs-infoserver/taskmanagers.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index ec92133..358e71b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -555,31 +555,32 @@ under the License.
 						<exclude>**/.*</exclude>
 						<exclude>**/*.prefs</exclude>
 						<exclude>**/*.log</exclude>
-						<!-- Resource files which have values. -->
-						<exclude>**/resources/**</exclude>
+						<!-- External web libraries. -->
+						<exclude>docs/**/bootstrap*</exclude>
+						<exclude>**/resources/**/font-awesome/**</exclude>
+						<exclude>**/resources/**/jquery*</exclude>
+						<exclude>**/resources/**/bootstrap*</exclude>
+						<exclude>flink-clients/resources/web-docs/js/*d3.js</exclude>
+						<exclude>flink-runtime/resources/web-docs-infoserver/css/sb-admin.css</exclude>
+						<exclude>flink-runtime/resources/web-docs-infoserver/js/flot/*</exclude>
+						<exclude>flink-runtime/resources/web-docs-infoserver/js/jcanvas.min.js</exclude>
+						<exclude>flink-runtime/resources/web-docs-infoserver/js/timeline.js</exclude>
+						<!-- Test Data. -->
+						<exclude>flink-tests/src/test/resources/testdata/terainput.txt</exclude>
+						<exclude>flink-addons/flink-avro/src/test/resources/avro/user.avsc</exclude>
 						<!-- Configuration Files. -->
 						<exclude>**/flink-bin/conf/slaves</exclude>
 						<!-- Administrative files in the main trunk. -->
 						<exclude>**/README.md</exclude>
-						<exclude>tools/checkstyle.xml</exclude>
 						<exclude>CHANGELOG</exclude>
-						<exclude>**/*.creole</exclude>
 						<exclude>CONTRIBUTORS</exclude>
 						<exclude>DEPENDENCIES</exclude>
 						<!-- Build files -->
-						<exclude>tools/maven/checkstyle.xml</exclude>
-						<exclude>tools/maven/scalastyle-config.xml</exclude>
-						<exclude>**/scalastyle-output.xml</exclude>
-						<exclude>**/dependency-reduced-pom.xml</exclude>
-						<exclude>tools/maven/suppressions.xml</exclude>
-						<exclude>**/pom.xml</exclude>
-						<exclude>**/pom.hadoop2.xml</exclude>
 						<exclude>**/*.iml</exclude>
+						<exclude>flink-quickstart/**/testArtifact/goal.txt</exclude>
 						<!-- Generated content -->
 						<exclude>**/target/**</exclude>
-						<!-- Documentation -->
-						<exclude>**/docs/**</exclude>
-						<exclude>**/tools/*.md</exclude>
+						<exclude>**/scalastyle-output.xml</exclude>
 					</excludes>
 				</configuration>
 			</plugin>

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/tools/how_to_release.md
----------------------------------------------------------------------
diff --git a/tools/how_to_release.md b/tools/how_to_release.md
index 65cc3b7..7064736 100644
--- a/tools/how_to_release.md
+++ b/tools/how_to_release.md
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
 # How to release a new version of Apache Flink
 
 


[2/2] incubator-flink git commit: [FLINK-1301] Added Apache license headers to Markdown, HTML, SVG, Python files. Made exceptions for license check plugin more fine-granular.

Posted by fh...@apache.org.
[FLINK-1301] Added Apache license headers to Markdown, HTML, SVG, Python files.
Made exceptions for license check plugin more fine-granular.

This closes #250


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

Branch: refs/heads/master
Commit: 770ce23152068807468ab7f5a16b2f408cdefef8
Parents: 979837a
Author: Fabian Hueske <fh...@apache.org>
Authored: Thu Dec 4 01:19:17 2014 +0100
Committer: Fabian Hueske <fh...@apache.org>
Committed: Fri Dec 5 22:26:45 2014 +0100

----------------------------------------------------------------------
 docs/_config.yml                                | 19 +++-
 docs/_includes/footer.md                        | 20 ++++-
 docs/_includes/navbar.html                      | 18 ++++
 docs/_includes/sidenav.html                     | 18 ++++
 docs/_layouts/default.html                      | 18 ++++
 docs/_plugins/gh_link.rb                        | 17 ++++
 docs/_plugins/highlightCode.rb                  | 88 +++++++++++++++++++
 docs/_plugins/kramdown_pygments.rb              | 92 --------------------
 docs/_plugins/organizeLicenseHeaders.rb         | 70 +++++++++++++++
 docs/building.md                                | 18 ++++
 docs/cli.md                                     | 18 ++++
 docs/cluster_execution.md                       | 18 ++++
 docs/cluster_setup.md                           | 20 ++++-
 docs/coding_guidelines.md                       | 18 ++++
 docs/config.md                                  | 20 ++++-
 docs/css/codetabs.css                           | 19 ++++
 docs/css/custom.css                             | 19 ++++
 docs/css/main/main.css                          | 19 ++++
 docs/css/syntax.css                             | 19 ++++
 docs/dataset_transformations.md                 | 18 ++++
 docs/example_connectors.md                      | 18 ++++
 docs/examples.md                                | 18 ++++
 docs/faq.md                                     | 18 ++++
 docs/hadoop_compatibility.md                    | 18 ++++
 docs/how_to_contribute.md                       | 18 ++++
 docs/img/ClientJmTm.svg                         | 19 ++++
 docs/img/FlinkOnYarn.svg                        | 22 ++++-
 docs/img/JobManagerComponents.svg               | 19 ++++
 docs/img/cogroup.svg                            | 19 ++++
 docs/img/cross.svg                              | 19 ++++
 docs/img/dataflow.svg                           | 19 ++++
 docs/img/datatypes.svg                          | 19 ++++
 docs/img/jobgraph_executiongraph.svg            | 19 ++++
 docs/img/join.svg                               | 19 ++++
 docs/img/map.svg                                | 19 ++++
 docs/img/operator.svg                           | 19 ++++
 docs/img/projects_dependencies.svg              | 19 ++++
 docs/img/recorddm.svg                           | 19 ++++
 docs/img/reduce.svg                             | 19 ++++
 docs/img/stack.svg                              | 19 ++++
 docs/img/state_machine.svg                      | 19 ++++
 docs/index.md                                   | 18 ++++
 docs/internal_add_operator.md                   | 18 ++++
 docs/internal_distributed_runtime.md            | 18 ++++
 docs/internal_general_arch.md                   | 18 ++++
 docs/internal_job_scheduling.md                 | 16 ++++
 docs/internal_logging.md                        | 18 ++++
 docs/internal_operators_and_memory.md           | 16 ++++
 docs/internal_optimizer.md                      | 16 ++++
 docs/internal_overview.md                       | 18 ++++
 docs/internal_program_life_cycle.md             | 18 ++++
 docs/iterations.md                              | 18 ++++
 docs/java8_programming_guide.md                 | 18 ++++
 docs/java_api_quickstart.md                     | 18 ++++
 docs/local_execution.md                         | 20 ++++-
 docs/local_setup.md                             | 18 ++++
 docs/programming_guide.md                       | 18 ++++
 docs/quickstart/plotPoints.py                   | 18 ++++
 docs/run_example_quickstart.md                  | 18 ++++
 docs/scala_api_quickstart.md                    | 18 ++++
 docs/setup_quickstart.md                        | 18 ++++
 docs/spargel_guide.md                           | 18 ++++
 docs/streaming_guide.md                         | 18 ++++
 docs/web_client.md                              | 18 ++++
 docs/yarn_setup.md                              | 18 ++++
 .../src/test/resources/log4j.properties         | 17 ++++
 flink-clients/resources/web-docs/index.html     | 18 ++++
 flink-clients/resources/web-docs/launch.html    | 18 ++++
 .../projects/testArtifact/archetype.properties  | 17 ++++
 .../src/main/scala/Job.scala                    | 18 ++++
 .../src/main/scala/WordCountJob.scala           | 18 ++++
 .../projects/testArtifact/archetype.properties  | 17 ++++
 .../resources/web-docs-infoserver/analyze.html  | 18 ++++
 .../web-docs-infoserver/blank-page.html         | 18 ++++
 .../web-docs-infoserver/configuration.html      | 18 ++++
 .../resources/web-docs-infoserver/history.html  | 18 ++++
 .../resources/web-docs-infoserver/index.html    | 18 ++++
 .../web-docs-infoserver/taskmanagers.html       | 18 ++++
 pom.xml                                         | 29 +++---
 tools/how_to_release.md                         | 18 ++++
 80 files changed, 1557 insertions(+), 112 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_config.yml
----------------------------------------------------------------------
diff --git a/docs/_config.yml b/docs/_config.yml
index ff3bf97..aa63eaf 100644
--- a/docs/_config.yml
+++ b/docs/_config.yml
@@ -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.
+
 #------------------------------------------------------------------------------
 # VARIABLES
 #------------------------------------------------------------------------------
@@ -35,8 +52,8 @@ defaults:
     values:
       layout: default
 
+markdown: kramdown
 highlighter: pygments
-markdown: KramdownPygments
 
 kramdown:
     toc_levels: 1..3

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_includes/footer.md
----------------------------------------------------------------------
diff --git a/docs/_includes/footer.md b/docs/_includes/footer.md
index 2f2193c..da4d452 100644
--- a/docs/_includes/footer.md
+++ b/docs/_includes/footer.md
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
 <hr class="divider">
 
 <small>Apache Flink is an effort undergoing incubation at The Apache Software
@@ -11,4 +29,4 @@ endorsed by the ASF.</small>
 
 <a href="http://incubator.apache.org/">![Incubator Logo]({{ site.baseurl }}/img/apache-incubator-logo.png)</a>
 
-<p class="text-center"><a href="privacy-policy.html">Privacy Policy<a></p>
\ No newline at end of file
+<p class="text-center"><a href="privacy-policy.html">Privacy Policy<a></p>

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_includes/navbar.html
----------------------------------------------------------------------
diff --git a/docs/_includes/navbar.html b/docs/_includes/navbar.html
index ff84a18..b6fcebb 100644
--- a/docs/_includes/navbar.html
+++ b/docs/_includes/navbar.html
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
 <nav class="navbar navbar-default navbar-fixed-top" role="navigation">
   <div class="container">
     <div class="row">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_includes/sidenav.html
----------------------------------------------------------------------
diff --git a/docs/_includes/sidenav.html b/docs/_includes/sidenav.html
index 7d6fb20..fdddabd 100644
--- a/docs/_includes/sidenav.html
+++ b/docs/_includes/sidenav.html
@@ -1,3 +1,21 @@
+<!--
+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.
+-->
 <ul>
   <li><a href="faq.html">FAQ</a></li>
   <li>Quickstart

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_layouts/default.html
----------------------------------------------------------------------
diff --git a/docs/_layouts/default.html b/docs/_layouts/default.html
index ad0fbda..e61b92b 100644
--- a/docs/_layouts/default.html
+++ b/docs/_layouts/default.html
@@ -1,4 +1,22 @@
 <!DOCTYPE html>
+<!--
+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.
+-->
 <html lang="en">
   <head>
     <meta charset="utf-8">

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_plugins/gh_link.rb
----------------------------------------------------------------------
diff --git a/docs/_plugins/gh_link.rb b/docs/_plugins/gh_link.rb
index 58dca2a..5fabc50 100644
--- a/docs/_plugins/gh_link.rb
+++ b/docs/_plugins/gh_link.rb
@@ -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.
+
 module Jekyll
   class GitHubLinkTag < Liquid::Tag
 

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_plugins/highlightCode.rb
----------------------------------------------------------------------
diff --git a/docs/_plugins/highlightCode.rb b/docs/_plugins/highlightCode.rb
new file mode 100644
index 0000000..962a2aa
--- /dev/null
+++ b/docs/_plugins/highlightCode.rb
@@ -0,0 +1,88 @@
+# 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 file was derived from https://github.com/navarroj/krampygs 
+#   written by Juan Navarro and released under the Unlicense (http://unlicense.org).
+
+require 'kramdown'
+require 'pygments'
+
+module Kramdown
+  module Converter
+    class Pygs < Html
+      def convert_codeblock(el, indent)
+        attr = el.attr.dup
+        lang = extract_code_language!(attr) || @options[:kramdown_default_lang]
+        code = pygmentize(el.value, lang)
+        code_attr = {}
+        code_attr['class'] = "language-#{lang}" if lang
+        "#{' '*indent}<div class=\"highlight\"><pre#{html_attributes(attr)}><code#{html_attributes(code_attr)}>#{code}</code></pre></div>\n"
+      end
+
+      def convert_codespan(el, indent)
+        attr = el.attr.dup
+        lang = extract_code_language!(attr) || @options[:kramdown_default_lang]
+        code = pygmentize(el.value, lang)
+        if lang
+          attr['class'] = "highlight"
+          if attr.has_key?('class')
+            attr['class'] += " language-#{lang}"
+          else
+            attr['class'] = "language-#{lang}"
+          end
+        end
+        "<code#{html_attributes(attr)}>#{code}</code>"
+      end
+      
+      def pygmentize(code, lang)
+        if lang
+          Pygments.highlight(code,
+            :lexer => lang,
+            :options => { :encoding => 'utf-8', :nowrap => true })
+        else
+          escape_html(code)
+        end
+      end
+    end
+  end
+end
+
+module Jekyll
+  class KramdownPygments < Jekyll::Converter
+
+    def matches(ext)
+      ext =~ /^\.md$/i
+    end
+
+    def output_ext(ext)
+      ".html"
+    end
+
+    def convert(content)
+      html = Kramdown::Document.new(content, {
+          :auto_ids             => @config['kramdown']['auto_ids'],
+          :footnote_nr          => @config['kramdown']['footnote_nr'],
+          :entity_output        => @config['kramdown']['entity_output'],
+          :toc_levels           => @config['kramdown']['toc_levels'],
+          :smart_quotes         => @config['kramdown']['smart_quotes'],
+          :coderay_default_lang => @config['kramdown']['default_lang'],
+          :input                => @config['kramdown']['input']
+      }).to_pygs
+      return html
+    end
+  end
+end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_plugins/kramdown_pygments.rb
----------------------------------------------------------------------
diff --git a/docs/_plugins/kramdown_pygments.rb b/docs/_plugins/kramdown_pygments.rb
deleted file mode 100644
index 89bb911..0000000
--- a/docs/_plugins/kramdown_pygments.rb
+++ /dev/null
@@ -1,92 +0,0 @@
-# We define the an additional option for the kramdown parser to look for
-module Kramdown
-  module Options
-      define(:kramdown_default_lang, Symbol, nil, <<EOF)
-Sets the default language for highlighting code blocks
-
-If no language is set for a code block, the default language is used
-instead. The value has to be one of the languages supported by pygments
-or nil if no default language should be used.
-
-Default: nil
-Used by: PygmentsHtml converter
-EOF
-  end
-end
-
-# This class is a plugin for kramdown, to make it use pygments instead of coderay
-# It has nothing to do with Jekyll, it is simply used by the custom converter below
-module Kramdown
-  module Converter
-    class PygmentsHtml < Html
-
-      begin
-        require 'pygments'
-      rescue LoadError
-        STDERR.puts 'You are missing a library required for syntax highlighting. Please run:'
-        STDERR.puts '  $ [sudo] gem install pygments'
-        raise FatalException.new("Missing dependency: Pygments")
-      end
-
-      def convert_codeblock(el, indent)
-        attr = el.attr.dup
-        lang = extract_code_language!(attr) || @options[:kramdown_default_lang]
-        code = pygmentize(el.value, lang)
-        code_attr = {}
-        code_attr['class'] = "language-#{lang}" if lang
-        "#{' '*indent}<div class=\"highlight\"><pre#{html_attributes(attr)}><code#{html_attributes(code_attr)}>#{code}</code></pre></div>\n"
-      end
-
-      def convert_codespan(el, indent)
-        attr = el.attr.dup
-        lang = extract_code_language!(attr) || @options[:kramdown_default_lang]
-        code = pygmentize(el.value, lang)
-        if lang
-          attr['class'] = "highlight"
-          if attr.has_key?('class')
-            attr['class'] += " language-#{lang}"
-          else
-            attr['class'] = "language-#{lang}"
-          end
-        end
-        "<code#{html_attributes(attr)}>#{code}</code>"
-      end
-      
-      def pygmentize(code, lang)
-        if lang
-          Pygments.highlight(code,
-            :lexer => lang,
-            :options => { :startinline => true, :encoding => 'utf-8', :nowrap => true })
-        else
-          escape_html(code)
-        end
-      end
-    end
-  end
-end
-
-# This class is the actual custom Jekyll converter.
-class Jekyll::Converters::Markdown::KramdownPygments
-
-  def initialize(config)
-    require 'kramdown'
-    @config = config
-  rescue LoadError
-    STDERR.puts 'You are missing a library required for Markdown. Please run:'
-    STDERR.puts '  $ [sudo] gem install kramdown'
-    raise FatalException.new("Missing dependency: kramdown")
-  end
-
-  def convert(content)
-    html = Kramdown::Document.new(content, {
-        :auto_ids             => @config['kramdown']['auto_ids'],
-        :footnote_nr          => @config['kramdown']['footnote_nr'],
-        :entity_output        => @config['kramdown']['entity_output'],
-        :toc_levels           => @config['kramdown']['toc_levels'],
-        :smart_quotes         => @config['kramdown']['smart_quotes'],
-        :kramdown_default_lang => @config['kramdown']['default_lang'],
-        :input                => @config['kramdown']['input']
-    }).to_pygments_html
-    return html;
-  end
-end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/_plugins/organizeLicenseHeaders.rb
----------------------------------------------------------------------
diff --git a/docs/_plugins/organizeLicenseHeaders.rb b/docs/_plugins/organizeLicenseHeaders.rb
new file mode 100644
index 0000000..7758f8c
--- /dev/null
+++ b/docs/_plugins/organizeLicenseHeaders.rb
@@ -0,0 +1,70 @@
+# 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.
+
+module Jekyll
+
+  module LicenseRemover
+ 
+    AL2 = "<!--\n"+
+          "Licensed to the Apache Software Foundation (ASF) under one\n"+
+          "or more contributor license agreements.  See the NOTICE file\n"+
+          "distributed with this work for additional information\n"+
+          "regarding copyright ownership.  The ASF licenses this file\n"+
+          "to you under the Apache License, Version 2.0 (the\n"+
+          "\"License\"); you may not use this file except in compliance\n"+
+          "with the License.  You may obtain a copy of the License at\n"+
+          "\n"+
+          "http://www.apache.org/licenses/LICENSE-2.0\n"+
+          "\n"+
+          "Unless required by applicable law or agreed to in writing,\n"+
+          "software distributed under the License is distributed on an\n"+
+          "\"AS IS\" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY\n"+
+          "KIND, either express or implied.  See the License for the\n"+
+          "specific language governing permissions and limitations\n"+
+          "under the License.\n"+
+          "-->\n"
+
+    def writeFile(dest, content)
+      path = self.destination(dest)
+      FileUtils.mkdir_p(File.dirname(path))
+      File.open(path, 'w') do |f|
+        # remove all Apache Licenses
+        withoutLicense = content.gsub(/<!--[^>]*LICENSE-2.0[^>]*-->/,'')
+        # put single Apache License on top
+        singleLicense = AL2+withoutLicense
+        # write file out
+        f.write(singleLicense)
+      end
+    end
+
+  end
+
+  class Post
+    include LicenseRemover
+    def write(dest)
+      self.writeFile(dest, self.output)
+    end
+  end
+
+  class Page
+    include LicenseRemover
+    def write(dest)
+      self.writeFile(dest, self.output)
+    end
+  end
+
+end
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/building.md
----------------------------------------------------------------------
diff --git a/docs/building.md b/docs/building.md
index 815bd4d..cb85f03 100644
--- a/docs/building.md
+++ b/docs/building.md
@@ -1,6 +1,24 @@
 ---
 title:  "Build Flink"
 ---
+<!--
+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.
+-->
 
 In order to build Flink, you need the source code. Either download the source of a release or clone the git repository. In addition to that, you need Maven 3 and a JDK (Java Development Kit). Note that you can not build Flink with Oracle JDK 6 due to a unresolved bug in the Oracle Java compiler. It works well with OpenJDK 6 and all Java 7 and 8 compilers.
 

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/cli.md
----------------------------------------------------------------------
diff --git a/docs/cli.md b/docs/cli.md
index 0c31224..7db31a6 100644
--- a/docs/cli.md
+++ b/docs/cli.md
@@ -1,6 +1,24 @@
 ---
 title:  "Command-Line Interface"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/cluster_execution.md
----------------------------------------------------------------------
diff --git a/docs/cluster_execution.md b/docs/cluster_execution.md
index c40838f..c80c384 100644
--- a/docs/cluster_execution.md
+++ b/docs/cluster_execution.md
@@ -1,6 +1,24 @@
 ---
 title:  "Cluster Execution"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/cluster_setup.md
----------------------------------------------------------------------
diff --git a/docs/cluster_setup.md b/docs/cluster_setup.md
index b3c6599..a8274eb 100644
--- a/docs/cluster_setup.md
+++ b/docs/cluster_setup.md
@@ -1,6 +1,24 @@
 ---
 title:  "Cluster Setup"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}
@@ -325,4 +343,4 @@ Assuming that you are on the master node and inside the Flink directory:
 bin/start-cluster.sh
 ~~~
 
-To stop Flink, there is also a `stop-cluster.sh` script.
\ No newline at end of file
+To stop Flink, there is also a `stop-cluster.sh` script.

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/coding_guidelines.md
----------------------------------------------------------------------
diff --git a/docs/coding_guidelines.md b/docs/coding_guidelines.md
index 8d96b37..c7168bd 100644
--- a/docs/coding_guidelines.md
+++ b/docs/coding_guidelines.md
@@ -1,5 +1,23 @@
 ---
 title:  "Coding Guidelines"
 ---
+<!--
+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.
+-->
 
 The coding guidelines are now located [on the project website](http://flink.incubator.apache.org/coding_guidelines.html).
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/config.md
----------------------------------------------------------------------
diff --git a/docs/config.md b/docs/config.md
index 1c3906e..ae223b4 100644
--- a/docs/config.md
+++ b/docs/config.md
@@ -1,6 +1,24 @@
 ---
 title:  "Configuration"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}
@@ -346,4 +364,4 @@ the whole application and individual operators.
 
 Flink is currently scheduling an application to slots by "filling" them up. 
 If the cluster has 20 machines with 2 slots each (40 slots in total) but the application is running
-with a parallelism of 20, only 10 machines will process data.
\ No newline at end of file
+with a parallelism of 20, only 10 machines will process data.

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/css/codetabs.css
----------------------------------------------------------------------
diff --git a/docs/css/codetabs.css b/docs/css/codetabs.css
index 277a3a6..420d559 100644
--- a/docs/css/codetabs.css
+++ b/docs/css/codetabs.css
@@ -1,4 +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.
+**/
+
+/**
  * Make dropdown menus in nav bars show on hover instead of click
  * using solution at http://stackoverflow.com/questions/8878033/how-
  * to-make-twitter-bootstrap-menu-dropdown-on-hover-rather-than-click

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/css/custom.css
----------------------------------------------------------------------
diff --git a/docs/css/custom.css b/docs/css/custom.css
index 43b6565..319494a 100644
--- a/docs/css/custom.css
+++ b/docs/css/custom.css
@@ -1,3 +1,22 @@
+/**
+ * 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.
+**/
+
 .extLink {
 	display: inline !important; 
 	padding-right: 3px !important;

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/css/main/main.css
----------------------------------------------------------------------
diff --git a/docs/css/main/main.css b/docs/css/main/main.css
index 2aec75d..f30e402 100755
--- a/docs/css/main/main.css
+++ b/docs/css/main/main.css
@@ -1,3 +1,22 @@
+/**
+ * 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.
+**/
+
 /*----------------------------------------------------------------------
     General
 ----------------------------------------------------------------------*/

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/css/syntax.css
----------------------------------------------------------------------
diff --git a/docs/css/syntax.css b/docs/css/syntax.css
index 2774b76..ba3c0ba 100644
--- a/docs/css/syntax.css
+++ b/docs/css/syntax.css
@@ -1,3 +1,22 @@
+/**
+ * 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.
+**/
+
 .highlight  { background: #ffffff; }
 .highlight .c { color: #999988; font-style: italic } /* Comment */
 .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/dataset_transformations.md
----------------------------------------------------------------------
diff --git a/docs/dataset_transformations.md b/docs/dataset_transformations.md
index 606eceb..5263c66 100644
--- a/docs/dataset_transformations.md
+++ b/docs/dataset_transformations.md
@@ -1,6 +1,24 @@
 ---
 title: "DataSet Transformations"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/example_connectors.md
----------------------------------------------------------------------
diff --git a/docs/example_connectors.md b/docs/example_connectors.md
index 29d8f1d..bef1216 100644
--- a/docs/example_connectors.md
+++ b/docs/example_connectors.md
@@ -1,6 +1,24 @@
 ---
 title:  "Example: Connectors"
 ---
+<!--
+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 allows users to access many different systems as data sources or sinks. The system is designed for very easy extensibility. Similar to Apache Hadoop, Flink has the concept of so called `InputFormat`s and `OutputFormat`s.
 

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/examples.md
----------------------------------------------------------------------
diff --git a/docs/examples.md b/docs/examples.md
index 7f006ea..c19a2fa 100644
--- a/docs/examples.md
+++ b/docs/examples.md
@@ -1,6 +1,24 @@
 ---
 title:  "Bundled Examples"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/faq.md
----------------------------------------------------------------------
diff --git a/docs/faq.md b/docs/faq.md
index 8d3b726..daa3d5b 100644
--- a/docs/faq.md
+++ b/docs/faq.md
@@ -1,6 +1,24 @@
 ---
 title: "Frequently Asked Questions (FAQ)"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/hadoop_compatibility.md
----------------------------------------------------------------------
diff --git a/docs/hadoop_compatibility.md b/docs/hadoop_compatibility.md
index b9a0b39..73b7f5e 100644
--- a/docs/hadoop_compatibility.md
+++ b/docs/hadoop_compatibility.md
@@ -1,6 +1,24 @@
 ---
 title: "Hadoop Compatibility"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/how_to_contribute.md
----------------------------------------------------------------------
diff --git a/docs/how_to_contribute.md b/docs/how_to_contribute.md
index 9c28505..4f71ad5 100644
--- a/docs/how_to_contribute.md
+++ b/docs/how_to_contribute.md
@@ -1,5 +1,23 @@
 ---
 title:  "How to contribute"
 ---
+<!--
+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.
+-->
 
 The "How to contribute"-guide is now located [on the project website](http://flink.incubator.apache.org/how-to-contribute.html).
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/ClientJmTm.svg
----------------------------------------------------------------------
diff --git a/docs/img/ClientJmTm.svg b/docs/img/ClientJmTm.svg
index d918b00..99bd209 100644
--- a/docs/img/ClientJmTm.svg
+++ b/docs/img/ClientJmTm.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/FlinkOnYarn.svg
----------------------------------------------------------------------
diff --git a/docs/img/FlinkOnYarn.svg b/docs/img/FlinkOnYarn.svg
index 7314675..3eddf50 100644
--- a/docs/img/FlinkOnYarn.svg
+++ b/docs/img/FlinkOnYarn.svg
@@ -1,4 +1,24 @@
-<?xml version="1.0" encoding="UTF-8"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill-opacity="1" color-rendering="auto" color-interpolation="auto" stroke="black" text-rendering="auto" stroke-linecap="square" width="877" stroke-miterlimit="10" stroke-opacity="1" shape-rendering="auto" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" height="397" font-family="'Dialog'" font-style="normal" stroke-linejoin="miter" font-size="12" stroke-dashoffset="0" image-rendering="auto">
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+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.
+-->
+
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill-opacity="1" color-rendering="auto" color-interpolation="auto" stroke="black" text-rendering="auto" stroke-linecap="square" width="877" stroke-miterlimit="10" stroke-opacity="1" shape-rendering="auto" fill="black" stroke-dasharray="none" font-weight="normal" stroke-width="1" height="397" font-family="'Dialog'" font-style="normal" stroke-linejoin="miter" font-size="12" stroke-dashoffset="0" image-rendering="auto">
   <!--Generated by ySVG 2.5-->
   <defs id="genericDefs"/>
   <g>

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/JobManagerComponents.svg
----------------------------------------------------------------------
diff --git a/docs/img/JobManagerComponents.svg b/docs/img/JobManagerComponents.svg
index 0f2878a..d0707a8 100644
--- a/docs/img/JobManagerComponents.svg
+++ b/docs/img/JobManagerComponents.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/cogroup.svg
----------------------------------------------------------------------
diff --git a/docs/img/cogroup.svg b/docs/img/cogroup.svg
index 26ec868..87bf765 100644
--- a/docs/img/cogroup.svg
+++ b/docs/img/cogroup.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/cross.svg
----------------------------------------------------------------------
diff --git a/docs/img/cross.svg b/docs/img/cross.svg
index 5161f39..9a85093 100644
--- a/docs/img/cross.svg
+++ b/docs/img/cross.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/dataflow.svg
----------------------------------------------------------------------
diff --git a/docs/img/dataflow.svg b/docs/img/dataflow.svg
index 07d6e31..26b7a18 100644
--- a/docs/img/dataflow.svg
+++ b/docs/img/dataflow.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/datatypes.svg
----------------------------------------------------------------------
diff --git a/docs/img/datatypes.svg b/docs/img/datatypes.svg
index a949677..32e3319 100644
--- a/docs/img/datatypes.svg
+++ b/docs/img/datatypes.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/jobgraph_executiongraph.svg
----------------------------------------------------------------------
diff --git a/docs/img/jobgraph_executiongraph.svg b/docs/img/jobgraph_executiongraph.svg
index c74c3f4..e95126f 100644
--- a/docs/img/jobgraph_executiongraph.svg
+++ b/docs/img/jobgraph_executiongraph.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/join.svg
----------------------------------------------------------------------
diff --git a/docs/img/join.svg b/docs/img/join.svg
index d5ef018..3143be1 100644
--- a/docs/img/join.svg
+++ b/docs/img/join.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/map.svg
----------------------------------------------------------------------
diff --git a/docs/img/map.svg b/docs/img/map.svg
index 28fffed..e723fa7 100644
--- a/docs/img/map.svg
+++ b/docs/img/map.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/operator.svg
----------------------------------------------------------------------
diff --git a/docs/img/operator.svg b/docs/img/operator.svg
index 88379ec..67c3c41 100644
--- a/docs/img/operator.svg
+++ b/docs/img/operator.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/projects_dependencies.svg
----------------------------------------------------------------------
diff --git a/docs/img/projects_dependencies.svg b/docs/img/projects_dependencies.svg
index a9ba5af..d537ab8 100644
--- a/docs/img/projects_dependencies.svg
+++ b/docs/img/projects_dependencies.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/recorddm.svg
----------------------------------------------------------------------
diff --git a/docs/img/recorddm.svg b/docs/img/recorddm.svg
index bcc20e0..c40223f 100644
--- a/docs/img/recorddm.svg
+++ b/docs/img/recorddm.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/reduce.svg
----------------------------------------------------------------------
diff --git a/docs/img/reduce.svg b/docs/img/reduce.svg
index e0e8df3..5349141 100644
--- a/docs/img/reduce.svg
+++ b/docs/img/reduce.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/stack.svg
----------------------------------------------------------------------
diff --git a/docs/img/stack.svg b/docs/img/stack.svg
index e62f853..7cdebc2 100644
--- a/docs/img/stack.svg
+++ b/docs/img/stack.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <svg
    xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:cc="http://creativecommons.org/ns#"

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/img/state_machine.svg
----------------------------------------------------------------------
diff --git a/docs/img/state_machine.svg b/docs/img/state_machine.svg
index 6aadb50..9bb711e 100644
--- a/docs/img/state_machine.svg
+++ b/docs/img/state_machine.svg
@@ -1,4 +1,23 @@
 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<!--
+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.
+-->
+
 <!-- Created with Inkscape (http://www.inkscape.org/) -->
 
 <svg

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/index.md
----------------------------------------------------------------------
diff --git a/docs/index.md b/docs/index.md
index d1d86fc..83bb52b 100644
--- a/docs/index.md
+++ b/docs/index.md
@@ -1,6 +1,24 @@
 ---
 title: Flink Overview
 ---
+<!--
+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 (incubating) is a platform for efficient, distributed, general-purpose data processing.
 It features powerful programming abstractions in Java and Scala, a high-performance runtime, and

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_add_operator.md
----------------------------------------------------------------------
diff --git a/docs/internal_add_operator.md b/docs/internal_add_operator.md
index c9ee3bc..e370c14 100644
--- a/docs/internal_add_operator.md
+++ b/docs/internal_add_operator.md
@@ -1,6 +1,24 @@
 ---
 title:  "How to add a new Operator"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_distributed_runtime.md
----------------------------------------------------------------------
diff --git a/docs/internal_distributed_runtime.md b/docs/internal_distributed_runtime.md
index e6d7b83..f6732d2 100644
--- a/docs/internal_distributed_runtime.md
+++ b/docs/internal_distributed_runtime.md
@@ -1,5 +1,23 @@
 ---
 title:  "Distributed Runtime"
 ---
+<!--
+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.
+-->
 
 Pending...

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_general_arch.md
----------------------------------------------------------------------
diff --git a/docs/internal_general_arch.md b/docs/internal_general_arch.md
index d005949..81a8cbe 100644
--- a/docs/internal_general_arch.md
+++ b/docs/internal_general_arch.md
@@ -1,6 +1,24 @@
 ---
 title:  "General Architecture and Process Model"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_job_scheduling.md
----------------------------------------------------------------------
diff --git a/docs/internal_job_scheduling.md b/docs/internal_job_scheduling.md
index 5d40eb6..1237c85 100644
--- a/docs/internal_job_scheduling.md
+++ b/docs/internal_job_scheduling.md
@@ -1,5 +1,21 @@
 ---
 title:  "Jobs and Scheduling"
 ---
+<!--
+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.
+-->

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_logging.md
----------------------------------------------------------------------
diff --git a/docs/internal_logging.md b/docs/internal_logging.md
index 1f238d5..79e3656 100644
--- a/docs/internal_logging.md
+++ b/docs/internal_logging.md
@@ -1,6 +1,24 @@
 ---
 title: "How to use logging"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_operators_and_memory.md
----------------------------------------------------------------------
diff --git a/docs/internal_operators_and_memory.md b/docs/internal_operators_and_memory.md
index 5ff8584..567bfc2 100644
--- a/docs/internal_operators_and_memory.md
+++ b/docs/internal_operators_and_memory.md
@@ -1,5 +1,21 @@
 ---
 title:  "Runtime Algorithms and Memory Management"
 ---
+<!--
+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.
+-->

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_optimizer.md
----------------------------------------------------------------------
diff --git a/docs/internal_optimizer.md b/docs/internal_optimizer.md
index 7fdf299..7bf45b1 100644
--- a/docs/internal_optimizer.md
+++ b/docs/internal_optimizer.md
@@ -1,5 +1,21 @@
 ---
 title:  "Optimizer"
 ---
+<!--
+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.
+-->

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_overview.md
----------------------------------------------------------------------
diff --git a/docs/internal_overview.md b/docs/internal_overview.md
index a220228..549b42b 100644
--- a/docs/internal_overview.md
+++ b/docs/internal_overview.md
@@ -1,6 +1,24 @@
 ---
 title:  "Overview of Flink System Architecture & Internals"
 ---
+<!--
+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 documentation provides an overview of the architecture of the Flink system
 and its components. It is intended as guide to contributors, and people

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/internal_program_life_cycle.md
----------------------------------------------------------------------
diff --git a/docs/internal_program_life_cycle.md b/docs/internal_program_life_cycle.md
index 90d31cc..17c22df 100644
--- a/docs/internal_program_life_cycle.md
+++ b/docs/internal_program_life_cycle.md
@@ -1,5 +1,23 @@
 ---
 title:  "Program Life Cycle"
 ---
+<!--
+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.
+-->
 
 To be done...

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/iterations.md
----------------------------------------------------------------------
diff --git a/docs/iterations.md b/docs/iterations.md
index ca22b8e..3f9a475 100644
--- a/docs/iterations.md
+++ b/docs/iterations.md
@@ -1,6 +1,24 @@
 ---
 title:  "Iterations"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/java8_programming_guide.md
----------------------------------------------------------------------
diff --git a/docs/java8_programming_guide.md b/docs/java8_programming_guide.md
index 236c882..a47ff69 100644
--- a/docs/java8_programming_guide.md
+++ b/docs/java8_programming_guide.md
@@ -1,6 +1,24 @@
 ---
 title: "Java 8 Programming Guide"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/java_api_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/java_api_quickstart.md b/docs/java_api_quickstart.md
index 8cb17f6..95a7a11 100644
--- a/docs/java_api_quickstart.md
+++ b/docs/java_api_quickstart.md
@@ -1,6 +1,24 @@
 ---
 title: "Quickstart: Java API"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/local_execution.md
----------------------------------------------------------------------
diff --git a/docs/local_execution.md b/docs/local_execution.md
index e0aa22a..d6e3a91 100644
--- a/docs/local_execution.md
+++ b/docs/local_execution.md
@@ -1,6 +1,24 @@
 ---
 title:  "Local Execution"
 ---
+<!--
+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.
+-->
 
 ## Local Execution
 
@@ -94,4 +112,4 @@ public static void main(String[] args) throws Exception {
 
 The `flink-java-examples` module contains a full example, called `CollectionExecutionExample`.
 
-Please note that the execution of the collection-based Flink programs is only possible on small data, which fits into the JVM heap. The execution on collections is not multi-threaded, only one thread is used.
\ No newline at end of file
+Please note that the execution of the collection-based Flink programs is only possible on small data, which fits into the JVM heap. The execution on collections is not multi-threaded, only one thread is used.

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/local_setup.md
----------------------------------------------------------------------
diff --git a/docs/local_setup.md b/docs/local_setup.md
index b88d889..a293586 100644
--- a/docs/local_setup.md
+++ b/docs/local_setup.md
@@ -1,6 +1,24 @@
 ---
 title:  "Local Setup"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/programming_guide.md
----------------------------------------------------------------------
diff --git a/docs/programming_guide.md b/docs/programming_guide.md
index 3c909c8..2aeb3a6 100644
--- a/docs/programming_guide.md
+++ b/docs/programming_guide.md
@@ -1,6 +1,24 @@
 ---
 title: "Flink Programming Guide"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/quickstart/plotPoints.py
----------------------------------------------------------------------
diff --git a/docs/quickstart/plotPoints.py b/docs/quickstart/plotPoints.py
index fa04d31..9ddf5dd 100755
--- a/docs/quickstart/plotPoints.py
+++ b/docs/quickstart/plotPoints.py
@@ -1,4 +1,22 @@
 #!/usr/bin/python
+
+# 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.
+
 import sys
 import matplotlib.pyplot as plt
 import csv

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/run_example_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/run_example_quickstart.md b/docs/run_example_quickstart.md
index 40fcb95..999a249 100644
--- a/docs/run_example_quickstart.md
+++ b/docs/run_example_quickstart.md
@@ -1,6 +1,24 @@
 ---
 title: "Quick Start: Run K-Means Example"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}

http://git-wip-us.apache.org/repos/asf/incubator-flink/blob/770ce231/docs/scala_api_quickstart.md
----------------------------------------------------------------------
diff --git a/docs/scala_api_quickstart.md b/docs/scala_api_quickstart.md
index d4784c1..8e20471 100644
--- a/docs/scala_api_quickstart.md
+++ b/docs/scala_api_quickstart.md
@@ -1,6 +1,24 @@
 ---
 title: "Quickstart: Scala API"
 ---
+<!--
+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 will be replaced by the TOC
 {:toc}