You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@mxnet.apache.org by sa...@apache.org on 2021/02/15 16:39:55 UTC

[incubator-mxnet] branch v1.x updated: [v1.x] Backport [LICENSE] Reorganize rat-excludes file to ease license auditing (#19743) (#19799)

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

samskalicky pushed a commit to branch v1.x
in repository https://gitbox.apache.org/repos/asf/incubator-mxnet.git


The following commit(s) were added to refs/heads/v1.x by this push:
     new 58e7d0e  [v1.x] Backport [LICENSE] Reorganize rat-excludes file to ease license auditing (#19743) (#19799)
58e7d0e is described below

commit 58e7d0ee50336db2e8663aeeddf0c4a4d2029804
Author: Sheng Zha <sz...@users.noreply.github.com>
AuthorDate: Mon Feb 15 11:38:20 2021 -0500

    [v1.x] Backport [LICENSE] Reorganize rat-excludes file to ease license auditing (#19743) (#19799)
    
    * [LICENSE] Reorganize rat-excludes file to ease license auditing (#19743)
    
    * Reorganize rat-excludes file to ease license auditing
    
    * move rat-excludes to top level
    
    * CI:fix test_rat_check
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
    
    * fix license issues in 1.x
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
    
    * fix rat jar name
    
    Signed-off-by: Sheng Zha <zh...@amazon.com>
---
 .mxnet_root                                        |  18 +++
 .travis.yml                                        |  16 +++
 ci/__init__.py                                     |  19 +++
 ci/docker/install/ubuntu_base.sh                   |   1 +
 ci/docker/install/ubuntu_core.sh                   |   1 +
 ci/docker/install/ubuntu_rat.sh                    |   4 +-
 ci/docker/runtime_functions.sh                     |   5 +-
 cpp-package/.travis.yml                            |  16 +++
 doap.rdf                                           |  58 +++++++++
 docs/.dockerignore                                 |  17 +++
 docs/static_site/.nojekyll                         |  16 +++
 docs/static_site/src/.htaccess                     |  17 +++
 docs/static_site/src/.nojekyll                     |  17 +++
 docs/static_site/src/404.html                      |  19 +++
 docs/static_site/src/_layouts/default.html         |  18 +++
 docs/static_site/src/_layouts/home.html            |  18 +++
 docs/static_site/src/_layouts/page.html            |  18 +++
 docs/static_site/src/_layouts/page_api.html        |  18 +++
 docs/static_site/src/_layouts/page_category.html   |  18 +++
 .../src/_layouts/page_landing_tutorials.html       |  18 +++
 docs/static_site/src/_layouts/post.html            |  18 +++
 docs/static_site/src/_sass/feedback.scss           |  17 +++
 .../src/_sass/generalVersionDropdown.scss          |  17 +++
 docs/static_site/src/_sass/globalSearch.scss       |  17 +++
 docs/static_site/src/_sass/minima.scss             |  17 +++
 docs/static_site/src/_sass/minima/_base.scss       |  17 +++
 docs/static_site/src/_sass/minima/_blog.scss       |  19 ++-
 docs/static_site/src/_sass/minima/_docs.scss       |  17 +++
 docs/static_site/src/_sass/minima/_ecosystem.scss  |  19 ++-
 docs/static_site/src/_sass/minima/_features.scss   |  19 ++-
 .../src/_sass/minima/_getting_started.scss         |  17 +++
 docs/static_site/src/_sass/minima/_home.scss       |  19 ++-
 docs/static_site/src/_sass/minima/_layout.scss     |  17 +++
 .../src/_sass/minima/_syntax-highlighting.scss     |  17 +++
 docs/static_site/src/_sass/minima/colorful.scss    |  19 ++-
 docs/static_site/src/_sass/minima/simple-grid.scss |  17 +++
 docs/static_site/src/assets/main.scss              |  17 +++
 docs/static_site/src/index.html                    |  24 +++-
 docs/static_site/src/pages/blog.html               |  18 +++
 docs/static_site/src/pages/ecosystem.html          |  18 +++
 docs/static_site/src/pages/features.html           |  20 ++-
 example/gluon/dc_gan/__init__.py                   |  16 +++
 example/gluon/lipnet/models/__init__.py            |  16 +++
 example/image-classification/__init__.py           |  16 +++
 example/image-classification/common/__init__.py    |  16 +++
 example/image-classification/predict-cpp/Makefile  |  17 +++
 example/image-classification/symbols/__init__.py   |  16 +++
 example/module/utils/__init__.py                   |  16 +++
 example/rcnn/symdata/__init__.py                   |  16 +++
 example/rcnn/symimdb/__init__.py                   |  16 +++
 example/rcnn/symnet/__init__.py                    |  16 +++
 example/ssd/__init__.py                            |  16 +++
 example/ssd/config/__init__.py                     |  16 +++
 example/ssd/dataset/__init__.py                    |  16 +++
 example/ssd/detect/__init__.py                     |  16 +++
 example/ssd/evaluate/__init__.py                   |  16 +++
 example/ssd/symbol/__init__.py                     |  16 +++
 example/ssd/tools/__init__.py                      |  16 +++
 example/ssd/train/__init__.py                      |  16 +++
 julia/Project.toml                                 |  16 +++
 julia/docs/Project.toml                            |  16 +++
 python/mxnet/base.py                               |  21 ++++
 python/mxnet/cython/base.pyi                       |  17 +++
 rat-excludes                                       | 135 +++++++++++++++++++++
 snap.python                                        |  17 +++
 tests/nightly/apache_rat_license_check/README.md   |  59 ---------
 .../nightly/apache_rat_license_check/rat-excludes  |  95 ---------------
 67 files changed, 1209 insertions(+), 168 deletions(-)

diff --git a/.mxnet_root b/.mxnet_root
index e69de29..903e9e4 100644
--- a/.mxnet_root
+++ b/.mxnet_root
@@ -0,0 +1,18 @@
+# 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 marks the root directory of the Apache MXNet repository.
diff --git a/.travis.yml b/.travis.yml
index 485faad..bccf989 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,3 +1,19 @@
+# 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.
 sudo: true
 
 language: cpp
diff --git a/ci/__init__.py b/ci/__init__.py
index e69de29..d7031ed 100644
--- a/ci/__init__.py
+++ b/ci/__init__.py
@@ -0,0 +1,19 @@
+# -*- coding: 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.
+
diff --git a/ci/docker/install/ubuntu_base.sh b/ci/docker/install/ubuntu_base.sh
index f36e532..fc81f87 100755
--- a/ci/docker/install/ubuntu_base.sh
+++ b/ci/docker/install/ubuntu_base.sh
@@ -37,4 +37,5 @@ apt-get install -y \
     gnupg \
     gnupg2 \
     gnupg-agent \
+    default-jdk \
     wget
diff --git a/ci/docker/install/ubuntu_core.sh b/ci/docker/install/ubuntu_core.sh
index 2773aa2..16bcab8 100755
--- a/ci/docker/install/ubuntu_core.sh
+++ b/ci/docker/install/ubuntu_core.sh
@@ -52,6 +52,7 @@ apt-get install -y \
     sudo \
     unzip \
     vim-nox \
+    default-jdk \
     wget
 
 # Use libturbojpeg package as it is correctly compiled with -fPIC flag
diff --git a/ci/docker/install/ubuntu_rat.sh b/ci/docker/install/ubuntu_rat.sh
index 2c905fc..917d0b6 100755
--- a/ci/docker/install/ubuntu_rat.sh
+++ b/ci/docker/install/ubuntu_rat.sh
@@ -25,10 +25,10 @@ apt-get install -y subversion maven openjdk-8-jdk openjdk-8-jre
 
 echo "download RAT"
 #svn co http://svn.apache.org/repos/asf/creadur/rat/trunk/
-svn co http://svn.apache.org/repos/asf/creadur/rat/branches/0.12-release/
+svn co http://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/
 
 echo "cd into directory"
-cd 0.12-release
+cd apache-rat-project-0.13
 
 echo "mvn install"
 mvn -Dmaven.test.skip=true install
diff --git a/ci/docker/runtime_functions.sh b/ci/docker/runtime_functions.sh
index 5db09f3..74d1686 100755
--- a/ci/docker/runtime_functions.sh
+++ b/ci/docker/runtime_functions.sh
@@ -1407,13 +1407,14 @@ unittest_ubuntu_python3_arm() {
 #Runs Apache RAT Check on MXNet Source for License Headers
 nightly_test_rat_check() {
     set -e
+    set -o pipefail
     pushd .
 
-    cd /work/deps/0.12-release/apache-rat/target
+    cd /work/deps/apache-rat-project-0.13/apache-rat/target
 
     # Use shell number 5 to duplicate the log output. It get sprinted and stored in $OUTPUT at the same time https://stackoverflow.com/a/12451419
     exec 5>&1
-    OUTPUT=$(java -jar apache-rat-0.13-SNAPSHOT.jar -E /work/mxnet/tests/nightly/apache_rat_license_check/rat-excludes -d /work/mxnet|tee >(cat - >&5))
+    OUTPUT=$(java -jar apache-rat-0.13.jar -E /work/mxnet/rat-excludes -d /work/mxnet|tee >(cat - >&5))
     ERROR_MESSAGE="Printing headers for text files without a valid license header"
 
 
diff --git a/cpp-package/.travis.yml b/cpp-package/.travis.yml
index e7a332d..7cd69d4 100644
--- a/cpp-package/.travis.yml
+++ b/cpp-package/.travis.yml
@@ -1,3 +1,19 @@
+# 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.
 sudo: false
 
 language: cpp
diff --git a/doap.rdf b/doap.rdf
new file mode 100644
index 0000000..10ff713
--- /dev/null
+++ b/doap.rdf
@@ -0,0 +1,58 @@
+<?xml version="1.0"?>
+<!---
+    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
+
+         https://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.
+-->
+<?xml-stylesheet type="text/xsl"?>
+<rdf:RDF xml:lang="en"
+         xmlns="http://usefulinc.com/ns/doap#"
+         xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
+         xmlns:asfext="http://projects.apache.org/ns/asfext#"
+         xmlns:foaf="http://xmlns.com/foaf/0.1/">
+  <Project rdf:about="https://mxnet.apache.org">
+    <created>2020-09-15</created>
+    <license rdf:resource="https://spdx.org/licenses/Apache-2.0" />
+    <name>Apache MXNet</name>
+    <homepage rdf:resource="https://mxnet.apache.org" />
+    <asfext:pmc rdf:resource="https://incubator.apache.org" />
+    <shortdesc>Apache MXNet is a deep learning framework designed for both efficiency and flexibility.</shortdesc>
+    <description>Apache MXNet is a deep learning framework designed for both efficiency and flexibility. It's lightweight, Portable, Flexible Distributed/Mobile Deep Learning with dynamic, mutation-aware data-flow dependency scheduler; for Python, R, Julia, Scala, Go, Javascript and more</description>
+    <bug-database rdf:resource="https://github.com/apache/incubator-mxnet/labels/Bug" />
+    <mailing-list rdf:resource="https://lists.apache.org/list.html?dev@mxnet.apache.org" />
+    <download-page rdf:resource="https://mxnet.apache.org/get_started/download" />
+    <programming-language>C++</programming-language>
+    <category rdf:resource="https://projects.apache.org/category/big-data" />
+    <release>
+      <Version>
+        <name>Apache MXNet (Incubating) 1.7.0</name>
+        <created>2020-09-13</created>
+        <revision>1.7.0</revision>
+      </Version>
+    </release>
+    <repository>
+      <GitRepository>
+        <location rdf:resource="https://github.com/apache/incubator-mxnet"/>
+        <browse rdf:resource="https://github.com/apache/incubator-mxnet"/>
+      </GitRepository>
+    </repository>
+    <maintainer>
+      <foaf:Person>
+        <foaf:name>ApacheMXNet Contributors</foaf:name>
+          <foaf:mbox rdf:resource="mailto:dev@mxnet.apache.org"/>
+      </foaf:Person>
+    </maintainer>
+  </Project>
+</rdf:RDF>
+
diff --git a/docs/.dockerignore b/docs/.dockerignore
index 8f1738f..ba950c3 100644
--- a/docs/.dockerignore
+++ b/docs/.dockerignore
@@ -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.
+
 Dockerfile
 _build
 
diff --git a/docs/static_site/.nojekyll b/docs/static_site/.nojekyll
index 8b13789..55df3cf 100644
--- a/docs/static_site/.nojekyll
+++ b/docs/static_site/.nojekyll
@@ -1 +1,17 @@
+# 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.
 
diff --git a/docs/static_site/src/.htaccess b/docs/static_site/src/.htaccess
index 6273edb..d2a874b 100644
--- a/docs/static_site/src/.htaccess
+++ b/docs/static_site/src/.htaccess
@@ -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.
+
 Options -Indexes
 DirectorySlash off
 RewriteEngine on
diff --git a/docs/static_site/src/.nojekyll b/docs/static_site/src/.nojekyll
index e69de29..55df3cf 100644
--- a/docs/static_site/src/.nojekyll
+++ b/docs/static_site/src/.nojekyll
@@ -0,0 +1,17 @@
+# 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.
+
diff --git a/docs/static_site/src/404.html b/docs/static_site/src/404.html
index ed01bd7..8e8a2c6 100644
--- a/docs/static_site/src/404.html
+++ b/docs/static_site/src/404.html
@@ -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.
+-->
+
 ---
 layout: default
 ---
diff --git a/docs/static_site/src/_layouts/default.html b/docs/static_site/src/_layouts/default.html
index 2b6894e..247013d 100644
--- a/docs/static_site/src/_layouts/default.html
+++ b/docs/static_site/src/_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="{{ page.lang | default: site.lang | default: " en" }}">
 
 {%- include head.html -%}
diff --git a/docs/static_site/src/_layouts/home.html b/docs/static_site/src/_layouts/home.html
index 9fffdd9..5ee3353 100644
--- a/docs/static_site/src/_layouts/home.html
+++ b/docs/static_site/src/_layouts/home.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="{{ page.lang | default: site.lang | default: " en" }}">
 
 {%- include head.html -%}
diff --git a/docs/static_site/src/_layouts/page.html b/docs/static_site/src/_layouts/page.html
index b6f0b9a..fbdaf26 100644
--- a/docs/static_site/src/_layouts/page.html
+++ b/docs/static_site/src/_layouts/page.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.
+-->
 ---
 layout: default
 ---
diff --git a/docs/static_site/src/_layouts/page_api.html b/docs/static_site/src/_layouts/page_api.html
index 457bd5e..cb2ad6f 100644
--- a/docs/static_site/src/_layouts/page_api.html
+++ b/docs/static_site/src/_layouts/page_api.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.
+-->
 ---
 layout: page
 ---
diff --git a/docs/static_site/src/_layouts/page_category.html b/docs/static_site/src/_layouts/page_category.html
index 9033d9a..47c90cb 100644
--- a/docs/static_site/src/_layouts/page_category.html
+++ b/docs/static_site/src/_layouts/page_category.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.
+-->
 ---
 layout: page
 ---
diff --git a/docs/static_site/src/_layouts/page_landing_tutorials.html b/docs/static_site/src/_layouts/page_landing_tutorials.html
index 53c3dc3..38ae6de 100644
--- a/docs/static_site/src/_layouts/page_landing_tutorials.html
+++ b/docs/static_site/src/_layouts/page_landing_tutorials.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.
+-->
 ---
 layout: page_api
 ---
diff --git a/docs/static_site/src/_layouts/post.html b/docs/static_site/src/_layouts/post.html
index b36f5af..519000b 100644
--- a/docs/static_site/src/_layouts/post.html
+++ b/docs/static_site/src/_layouts/post.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.
+-->
 ---
 layout: default
 ---
diff --git a/docs/static_site/src/_sass/feedback.scss b/docs/static_site/src/_sass/feedback.scss
index 9e4ebf1..2d6e571 100644
--- a/docs/static_site/src/_sass/feedback.scss
+++ b/docs/static_site/src/_sass/feedback.scss
@@ -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. */
+
 .feedback-container {
   text-align: center;
 }
diff --git a/docs/static_site/src/_sass/generalVersionDropdown.scss b/docs/static_site/src/_sass/generalVersionDropdown.scss
index 32990cd..6f96c70 100644
--- a/docs/static_site/src/_sass/generalVersionDropdown.scss
+++ b/docs/static_site/src/_sass/generalVersionDropdown.scss
@@ -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. */
+
 .dropdown-option-active {
   color: #ff4500 !important;
   font-weight: lighter;
diff --git a/docs/static_site/src/_sass/globalSearch.scss b/docs/static_site/src/_sass/globalSearch.scss
index a3867cf..8b5d2a5 100644
--- a/docs/static_site/src/_sass/globalSearch.scss
+++ b/docs/static_site/src/_sass/globalSearch.scss
@@ -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. */
+
 .trigger {
   float: right;
 }
diff --git a/docs/static_site/src/_sass/minima.scss b/docs/static_site/src/_sass/minima.scss
index b8c46d0..f5f880c 100644
--- a/docs/static_site/src/_sass/minima.scss
+++ b/docs/static_site/src/_sass/minima.scss
@@ -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. */
+
 @charset "utf-8";
 
 // import grid system
diff --git a/docs/static_site/src/_sass/minima/_base.scss b/docs/static_site/src/_sass/minima/_base.scss
index 79f5959..63cb054 100644
--- a/docs/static_site/src/_sass/minima/_base.scss
+++ b/docs/static_site/src/_sass/minima/_base.scss
@@ -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. */
+
 /**
 * Reset some basic elements
 */
diff --git a/docs/static_site/src/_sass/minima/_blog.scss b/docs/static_site/src/_sass/minima/_blog.scss
index 745f704..9f14e31 100644
--- a/docs/static_site/src/_sass/minima/_blog.scss
+++ b/docs/static_site/src/_sass/minima/_blog.scss
@@ -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. */
+
 .medium-widget-article__item {
   transition: box-shadow 0.3s linear;
 
@@ -38,4 +55,4 @@
   .btn {
     background-color: $grey-color-light;
   }
-}
\ No newline at end of file
+}
diff --git a/docs/static_site/src/_sass/minima/_docs.scss b/docs/static_site/src/_sass/minima/_docs.scss
index f628740..8c389f8 100644
--- a/docs/static_site/src/_sass/minima/_docs.scss
+++ b/docs/static_site/src/_sass/minima/_docs.scss
@@ -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. */
+
 .docs-logo-docs {
   width: 25px;
   padding-bottom: 4px;
diff --git a/docs/static_site/src/_sass/minima/_ecosystem.scss b/docs/static_site/src/_sass/minima/_ecosystem.scss
index 91d545b..18574a8 100644
--- a/docs/static_site/src/_sass/minima/_ecosystem.scss
+++ b/docs/static_site/src/_sass/minima/_ecosystem.scss
@@ -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. */
+
 .ecosystem-page {
   .card {
     background-color: $grey-color-light;
@@ -6,4 +23,4 @@
   h4 {
     float: left;
   }
-}
\ No newline at end of file
+}
diff --git a/docs/static_site/src/_sass/minima/_features.scss b/docs/static_site/src/_sass/minima/_features.scss
index dd04a39..2c5764a 100644
--- a/docs/static_site/src/_sass/minima/_features.scss
+++ b/docs/static_site/src/_sass/minima/_features.scss
@@ -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. */
+
 .feature-image {
   max-width: 100px;
   filter: grayscale(1);
@@ -20,4 +37,4 @@
 
 figure {
   margin-bottom: 0 !important;
-}
\ No newline at end of file
+}
diff --git a/docs/static_site/src/_sass/minima/_getting_started.scss b/docs/static_site/src/_sass/minima/_getting_started.scss
index 5048ef9..ad5716d 100644
--- a/docs/static_site/src/_sass/minima/_getting_started.scss
+++ b/docs/static_site/src/_sass/minima/_getting_started.scss
@@ -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. */
+
 .install-selector {
   max-width: 800px;
   margin: auto;
diff --git a/docs/static_site/src/_sass/minima/_home.scss b/docs/static_site/src/_sass/minima/_home.scss
index 4bcb7fa..bdb4f93 100644
--- a/docs/static_site/src/_sass/minima/_home.scss
+++ b/docs/static_site/src/_sass/minima/_home.scss
@@ -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. */
+
 .home {
   margin-bottom: 40px;
 }
@@ -178,4 +195,4 @@ a.btn {
   .btn {
     background-color: $grey-color-light;
   }
-}
\ No newline at end of file
+}
diff --git a/docs/static_site/src/_sass/minima/_layout.scss b/docs/static_site/src/_sass/minima/_layout.scss
index d7e8d49..5dd4a96 100644
--- a/docs/static_site/src/_sass/minima/_layout.scss
+++ b/docs/static_site/src/_sass/minima/_layout.scss
@@ -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. */
+
 /**
  * Site header
  */
diff --git a/docs/static_site/src/_sass/minima/_syntax-highlighting.scss b/docs/static_site/src/_sass/minima/_syntax-highlighting.scss
index e1ebf10..5b2b3ac 100644
--- a/docs/static_site/src/_sass/minima/_syntax-highlighting.scss
+++ b/docs/static_site/src/_sass/minima/_syntax-highlighting.scss
@@ -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. */
+
 /**
  * Syntax highlighting styles
  */
diff --git a/docs/static_site/src/_sass/minima/colorful.scss b/docs/static_site/src/_sass/minima/colorful.scss
index fce0dfc..4d86c64 100644
--- a/docs/static_site/src/_sass/minima/colorful.scss
+++ b/docs/static_site/src/_sass/minima/colorful.scss
@@ -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. */
+
 .highlight .hll {
   background-color: #ffffcc
 }
@@ -367,4 +384,4 @@
   color: #FF6600
 }
 
-/* Literal.Number.Integer.Long */
\ No newline at end of file
+/* Literal.Number.Integer.Long */
diff --git a/docs/static_site/src/_sass/minima/simple-grid.scss b/docs/static_site/src/_sass/minima/simple-grid.scss
index c415595..61ad9ea 100644
--- a/docs/static_site/src/_sass/minima/simple-grid.scss
+++ b/docs/static_site/src/_sass/minima/simple-grid.scss
@@ -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. */
+
 // SIMPLE GRID - SASS/SCSS
 
 
diff --git a/docs/static_site/src/assets/main.scss b/docs/static_site/src/assets/main.scss
index 849bcb0..adf2d9e 100644
--- a/docs/static_site/src/assets/main.scss
+++ b/docs/static_site/src/assets/main.scss
@@ -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. */
+
 ---
 ---
 body {
diff --git a/docs/static_site/src/index.html b/docs/static_site/src/index.html
index 9f5460c..48f24c4 100644
--- a/docs/static_site/src/index.html
+++ b/docs/static_site/src/index.html
@@ -1,7 +1,23 @@
----
-# Feel free to add content and custom Front Matter to this file.
-# To modify the layout, see https://jekyllrb.com/docs/themes/#overriding-theme-defaults
+<!---
+  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.
+-->
 
+---
 layout: home
 
 key_features:
@@ -51,4 +67,4 @@ community:
   icon: /assets/img/slack-logo-icon.svg
   link: mailto:dev@mxnet.apache.org
 
----
\ No newline at end of file
+---
diff --git a/docs/static_site/src/pages/blog.html b/docs/static_site/src/pages/blog.html
index 1f797c9..90a4c1f 100644
--- a/docs/static_site/src/pages/blog.html
+++ b/docs/static_site/src/pages/blog.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.
+-->
 ---
 layout: page
 title: Blog
diff --git a/docs/static_site/src/pages/ecosystem.html b/docs/static_site/src/pages/ecosystem.html
index 75ca488..4c14fa4 100644
--- a/docs/static_site/src/pages/ecosystem.html
+++ b/docs/static_site/src/pages/ecosystem.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.
+-->
 ---
 layout: page
 title: Ecosystem
diff --git a/docs/static_site/src/pages/features.html b/docs/static_site/src/pages/features.html
index bed6ab8..428cfac 100644
--- a/docs/static_site/src/pages/features.html
+++ b/docs/static_site/src/pages/features.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.
+-->
 ---
 layout: page
 title: Features
@@ -103,4 +121,4 @@ float[][] result = predictor.predict(new float[][]{img.toArray()});
 </div>
 
 
-</div>
\ No newline at end of file
+</div>
diff --git a/example/gluon/dc_gan/__init__.py b/example/gluon/dc_gan/__init__.py
index e69de29..26fa2ce 100644
--- a/example/gluon/dc_gan/__init__.py
+++ b/example/gluon/dc_gan/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/gluon/lipnet/models/__init__.py b/example/gluon/lipnet/models/__init__.py
index e69de29..26fa2ce 100644
--- a/example/gluon/lipnet/models/__init__.py
+++ b/example/gluon/lipnet/models/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/image-classification/__init__.py b/example/image-classification/__init__.py
index e69de29..13a8339 100755
--- a/example/image-classification/__init__.py
+++ b/example/image-classification/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/image-classification/common/__init__.py b/example/image-classification/common/__init__.py
index e69de29..13a8339 100644
--- a/example/image-classification/common/__init__.py
+++ b/example/image-classification/common/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/image-classification/predict-cpp/Makefile b/example/image-classification/predict-cpp/Makefile
index 5c08411..59f6133 100644
--- a/example/image-classification/predict-cpp/Makefile
+++ b/example/image-classification/predict-cpp/Makefile
@@ -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.
+
 # Special thanks to https://github.com/pertusa for the Makefile
 CFLAGS=-std=c++11 -Wno-unknown-pragmas -Wall
 
diff --git a/example/image-classification/symbols/__init__.py b/example/image-classification/symbols/__init__.py
index e69de29..13a8339 100644
--- a/example/image-classification/symbols/__init__.py
+++ b/example/image-classification/symbols/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/module/utils/__init__.py b/example/module/utils/__init__.py
index e69de29..13a8339 100644
--- a/example/module/utils/__init__.py
+++ b/example/module/utils/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/rcnn/symdata/__init__.py b/example/rcnn/symdata/__init__.py
index e69de29..13a8339 100644
--- a/example/rcnn/symdata/__init__.py
+++ b/example/rcnn/symdata/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/rcnn/symimdb/__init__.py b/example/rcnn/symimdb/__init__.py
index e69de29..13a8339 100644
--- a/example/rcnn/symimdb/__init__.py
+++ b/example/rcnn/symimdb/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/rcnn/symnet/__init__.py b/example/rcnn/symnet/__init__.py
index e69de29..13a8339 100644
--- a/example/rcnn/symnet/__init__.py
+++ b/example/rcnn/symnet/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/__init__.py b/example/ssd/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/__init__.py
+++ b/example/ssd/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/config/__init__.py b/example/ssd/config/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/config/__init__.py
+++ b/example/ssd/config/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/dataset/__init__.py b/example/ssd/dataset/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/dataset/__init__.py
+++ b/example/ssd/dataset/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/detect/__init__.py b/example/ssd/detect/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/detect/__init__.py
+++ b/example/ssd/detect/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/evaluate/__init__.py b/example/ssd/evaluate/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/evaluate/__init__.py
+++ b/example/ssd/evaluate/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/symbol/__init__.py b/example/ssd/symbol/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/symbol/__init__.py
+++ b/example/ssd/symbol/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/tools/__init__.py b/example/ssd/tools/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/tools/__init__.py
+++ b/example/ssd/tools/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/example/ssd/train/__init__.py b/example/ssd/train/__init__.py
index e69de29..13a8339 100644
--- a/example/ssd/train/__init__.py
+++ b/example/ssd/train/__init__.py
@@ -0,0 +1,16 @@
+# 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.
diff --git a/julia/Project.toml b/julia/Project.toml
index 994a696..18d2b83 100644
--- a/julia/Project.toml
+++ b/julia/Project.toml
@@ -1,3 +1,19 @@
+# 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.
 name = "MXNet"
 uuid = "a7949054-b901-59c6-b8e3-7238c29bf7f0"
 authors = ["Chiyuan Zhang <pl...@gmail.com>", "Valentin Churavy <vc...@mit.edu>", "Iblis Lin <ib...@hs.ntnu.edu.tw>"]
diff --git a/julia/docs/Project.toml b/julia/docs/Project.toml
index 023a222..aa1e77a 100644
--- a/julia/docs/Project.toml
+++ b/julia/docs/Project.toml
@@ -1,3 +1,19 @@
+# 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.
 [deps]
 Documenter = "e30172f5-a6a5-5a46-863b-614d45cd2de4"
 DocumenterMarkdown = "997ab1e6-3595-5248-9280-8efb232c3433"
diff --git a/python/mxnet/base.py b/python/mxnet/base.py
index 7a721f7..496f1f5 100644
--- a/python/mxnet/base.py
+++ b/python/mxnet/base.py
@@ -748,6 +748,26 @@ def _generate_op_module_signature(root_namespace, module_name, op_code_gen_func)
     op_code_gen_func : function
         Function for creating op functions for `ndarray` and `symbol` modules.
     """
+    license_lines = [
+        '# 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.',
+        '',
+    ]
+    license_str = os.linesep.join(license_lines)
     def get_module_file(module_name):
         """Return the generated module file based on module name."""
         path = os.path.dirname(__file__)
@@ -760,6 +780,7 @@ def _generate_op_module_signature(root_namespace, module_name, op_code_gen_func)
                         'ndarray': ['from ._internal import NDArrayBase',
                                     'from ..base import _Null']}
         module_file.write('# coding: utf-8')
+        module_file.write(license_str)
         module_file.write('# File content is auto-generated. Do not modify.' + os.linesep)
         module_file.write('# pylint: skip-file' + os.linesep)
         module_file.write(os.linesep.join(dependencies[module_name.split('.')[1]]))
diff --git a/python/mxnet/cython/base.pyi b/python/mxnet/cython/base.pyi
index ed4bbf7..ab91291 100644
--- a/python/mxnet/cython/base.pyi
+++ b/python/mxnet/cython/base.pyi
@@ -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.
+
 from ..base import get_last_ffi_error
 
 from libcpp.vector cimport vector
diff --git a/rat-excludes b/rat-excludes
new file mode 100644
index 0000000..7878536
--- /dev/null
+++ b/rat-excludes
@@ -0,0 +1,135 @@
+# 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 lists all the files, directories and file formats that are excluded from license checks for various reasons.
+
+## How to run the RAT check locally
+# The following commands can be used to run a Apache RAT check locally - 
+
+# Docker based 1-click-method:
+# ci/build.py -p ubuntu_cpu test_rat_check
+
+# You can also manually download Apache RAT. For installation on Ubuntu:
+# sudo apt-get install maven -y #>/dev/null
+# sudo apt-get install subversion -y #>/dev/null
+# svn co http://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.13/ #>/dev/null
+# cd trunk
+# mvn install #>/dev/null
+# cd apache-rat/target
+
+# Once installed, you can run Apache RAT check on the src
+# java -jar apache-rat-0.13.jar -E <path-to-this-file> -d <path-to-mxnet-source>
+
+# Apache RAT License Checker Allowlist
+#
+# Version control
+.github
+.gitignore
+.gitattributes
+.gitmodules
+
+# The Apache MXNET (incubating) project contains subcomponents with separate
+# copyright notices and license terms. Your use of the source code for the
+# these subcomponents is subject to the terms and conditions of the following
+# licenses. If not stated otherwise, their copyright notices and license terms
+# are available at the path of the subcomponent.
+3rdparty
+clipboard.js
+coco.py
+
+# Licenses
+licenses/*
+LICENSE.binary.dependencies
+
+# Generated files during build
+.buildinfo
+Gemfile.lock
+_build/*
+_static/*
+_site/*
+_api/*
+_includes/*
+build/*
+latex/*
+target/*
+site/*
+xml/*
+DartConfiguration.tcl
+.*\.egg-info
+.*\.t
+
+# Files generated by Cython
+core.cpp
+symbol.cpp
+ndarray.cpp
+
+# Sphinx themes
+themes/*
+
+# Binary or data files
+.*\.ipynb
+.*\.pyc
+.*\.so
+.*\.json
+.*\.ref
+.*\.txt
+.*\.svg
+.*\.lst
+.*\.lds
+.*\.in
+.*\.diff
+.*\.edl
+.*\.md5
+.*\.csv
+.*\.log
+.*\.interp
+.*\.tokens
+.*\.cPickle
+.*\.names
+
+# Modules that are deleted prior to distribution
+R-package/*
+
+
+# Specific files
+# Files that don't support comment
+DISCLAIMER-WIP
+MANIFEST
+Changes
+.codecov.yml
+libmxnet.sym
+libmxnet.ver
+
+# GitHub files
+CODEOWNERS
+.asf.yaml
+
+# Incorporated third-party source files that carry its own license, captured in licenses/
+pool.h
+erfinv-inl.h
+im2col.cuh
+im2col.h
+deformable_im2col.cuh
+deformable_im2col.h
+FindCUDAToolkit.cmake
+select_compute_arch.cmake
+
+# AL2 License header not at the beginning of the file
+doap.rdf
+
+# Header symlinks
+include
diff --git a/snap.python b/snap.python
index cf54f7d..1c579a8 100755
--- a/snap.python
+++ b/snap.python
@@ -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.
+
 export MXNET_HOME=$SNAP
 export LD_LIBRARY_PATH=${SNAP}/lib:${SNAP}/usr/lib:$LD_LIBRARY_PATH 
 export PYTHONPATH=$MXNET_HOME:${SNAP}/lib/python2.7/site-packages/:${SNAP}/usr/lib/python2.7/dist-packages/:$PYTHONPATH 
diff --git a/tests/nightly/apache_rat_license_check/README.md b/tests/nightly/apache_rat_license_check/README.md
deleted file mode 100644
index 70ec665..0000000
--- a/tests/nightly/apache_rat_license_check/README.md
+++ /dev/null
@@ -1,59 +0,0 @@
-<!--- 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 RAT License Check
-
-This is a nightly test that runs the Apache Tool RAT to check the License Headers on all source files
- 
-### The .rat-excludes file
-This file lists all the files, directories and file formats that are excluded from license checks for various reasons.
-If you think something is wrong, feel free to change!
-
-### Nightly test script for license check
-The license check script called by the Jenkinsfile
-
-### How to run the RAT check locally
-The following commands can be used to run a Apache RAT check locally - 
-
-Docker based 1-click-method:
-```
-ci/build.py -p ubuntu_rat nightly_test_rat_check
-```
-
-Manual method:
-```
-#install maven
-sudo apt-get install maven -y #>/dev/null
-
-#install svn
-sudo apt-get install subversion -y #>/dev/null
-
-#download RAT 0.12 version
-svn co http://svn.apache.org/repos/asf/creadur/rat/tags/apache-rat-project-0.12-RC3/ #>/dev/null
-
-#cd into correct directory
-cd trunk
-
-#install step
-mvn install #>/dev/null
-
-#If build success:
-cd apache-rat/target
-
-#run Apache RAT check on the src
-java -jar apache-rat-0.12.jar -E <path-to-.rat-excludes-file> -d <path-to-mxnet-source>
-```
diff --git a/tests/nightly/apache_rat_license_check/rat-excludes b/tests/nightly/apache_rat_license_check/rat-excludes
deleted file mode 100755
index 0af1ab9..0000000
--- a/tests/nightly/apache_rat_license_check/rat-excludes
+++ /dev/null
@@ -1,95 +0,0 @@
-# Generated files
-.*html
-.buildinfo
-Gemfile.lock
-Manifest.toml
-searchindex.js
-_build/*
-_static/*
-_api/*
-build/*
-latex/*
-target/*
-site/*
-xml/*
-
-# License files
-licenses/*
-
-# Separate licenses, refer to LICENSE in each folder or header
-
-# Sphinx themes
-themes/*
-
-# Jekyll & other licenses in static_site/*
-clipboard.js
-
-# Includes
-_includes/*
-
-# Other
-\..*
-.*css
-\\.*
-.*ipynb
-.*json
-.*txt
-ctc_include/*
-dlpack/*
-dmlc-core/*
-googletest/*
-intgemm/*
-mkldnn/*
-nvidia_cub/*
-onnx-tensorrt/*
-openmp/*
-ps-lite/*
-tvm/*
-R-package/*
-trunk/*
-.*\\.m
-.*\\.mk
-.*\\.R
-.*svg
-.*cfg
-.*config
-__init__.py
-.*\\.t
-MANIFEST
-Changes
-.*csv
-.*names
-CODEOWNERS
-snap.python
-bbox.pyx
-cpu_nms.pyx
-gpu_nms.pyx
-nms_kernel.cu
-_mask.pyx
-coco.py
-base.pyi
-special_functions-inl.h
-erfinv-inl.h
-im2col.cuh
-im2col.h
-pool.h
-dataset.cPickle
-image-classification/*
-rat-excludes
-apache-rat-tasks/*
-moderngpu/*
-deformable_im2col.cuh
-deformable_im2col.h
-REQUIRE
-Project.toml
-include/*
-.*.iml
-.*.json.ref
-searchtools_custom.js
-theme.conf
-LICENSE.binary.dependencies
-# rat-exclude doesn't allow us to specify the direct path to the cmake/upstream folder, thus we use a glob
-.*FindCUDAToolkit.cmake
-.*select_compute_arch.cmake
-image-classification-predict.cc
-DISCLAIMER-WIP