Ver código fonte

HDDS-119. Skip Apache license header check for some ozone doc scripts. Contributed by Ajay Kumar.

Xiaoyu Yao 6 anos atrás
pai
commit
2d13e410d8
2 arquivos alterados com 30 adições e 0 exclusões
  1. 17 0
      hadoop-ozone/docs/pom.xml
  2. 13 0
      hadoop-ozone/docs/static/OzoneOverview.svg

+ 17 - 0
hadoop-ozone/docs/pom.xml

@@ -53,6 +53,23 @@ http://maven.apache.org/xsd/maven-4.0.0.xsd">
           </arguments>
         </configuration>
       </plugin>
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludes>
+            <exclude>themes/ozonedoc/static/js/bootstrap.min.js</exclude>
+            <exclude>themes/ozonedoc/static/js/jquery.min.js</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap.min.css.map</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap.min.css</exclude>
+            <exclude>themes/ozonedoc/static/css/bootstrap-theme.min.css.map</exclude>
+            <exclude>themes/ozonedoc/static/fonts/glyphicons-halflings-regular.svg</exclude>
+            <exclude>themes/ozonedoc/layouts/index.html</exclude>
+            <exclude>themes/ozonedoc/theme.toml</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
 </project>

+ 13 - 0
hadoop-ozone/docs/static/OzoneOverview.svg

@@ -1,4 +1,17 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  Licensed 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. See accompanying LICENSE file.
+-->
 <svg width="703px" height="465px" viewBox="0 0 703 465" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
     <!-- Generator: Sketch 44.1 (41455) - http://www.bohemiancoding.com/sketch -->
     <title>Desktop HD</title>