1
0
Quellcode durchsuchen

YARN-4849. Addendum patch to remove unwanted files from rat exclusions. (Wangda Tan via Sunil G)

sunilg vor 8 Jahren
Ursprung
Commit
1be2fd662d

+ 0 - 14
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/pom.xml

@@ -46,32 +46,18 @@
         <artifactId>apache-rat-plugin</artifactId>
         <configuration>
           <excludes>
-            <exclude>src/main/webapp/node_modules/**/*</exclude>
-            <exclude>src/main/webapp/bower_components/**/*</exclude>
             <exclude>src/main/webapp/jsconfig.json</exclude>
             <exclude>src/main/webapp/bower.json</exclude>
             <exclude>src/main/webapp/package.json</exclude>
             <exclude>src/main/webapp/testem.json</exclude>
-
-            <exclude>src/main/webapp/dist/**/*</exclude>
-            <exclude>src/main/webapp/tmp/**/*</exclude>
             <exclude>src/main/webapp/public/assets/images/**/*</exclude>
             <exclude>src/main/webapp/public/assets/images/*</exclude>
             <exclude>src/main/webapp/public/robots.txt</exclude>
-
-            <exclude>public/assets/images/**/*</exclude>
             <exclude>public/crossdomain.xml</exclude>
-
-            <exclude>src/main/webapp/.tmp/**/*</exclude>
             <exclude>src/main/webapp/.bowerrc</exclude>
-            <exclude>src/main/webapp/.editorconfig</exclude>
             <exclude>src/main/webapp/.ember-cli</exclude>
-            <exclude>src/main/webapp/.gitignore</exclude>
             <exclude>src/main/webapp/.jshintrc</exclude>
-            <exclude>src/main/webapp/.travis.yml</exclude>
             <exclude>src/main/webapp/.watchmanconfig</exclude>
-            <exclude>src/main/webapp/tests/.jshintrc</exclude>
-            <exclude>src/main/webapp/blueprints/.jshintrc</exclude>
           </excludes>
         </configuration>
       </plugin>

+ 0 - 34
hadoop-yarn-project/hadoop-yarn/hadoop-yarn-ui/src/main/webapp/.editorconfig

@@ -1,34 +0,0 @@
-# EditorConfig helps developers define and maintain consistent
-# coding styles between different editors and IDEs
-# editorconfig.org
-
-root = true
-
-
-[*]
-end_of_line = lf
-charset = utf-8
-trim_trailing_whitespace = true
-insert_final_newline = true
-indent_style = space
-indent_size = 2
-
-[*.js]
-indent_style = space
-indent_size = 2
-
-[*.hbs]
-insert_final_newline = false
-indent_style = space
-indent_size = 2
-
-[*.css]
-indent_style = space
-indent_size = 2
-
-[*.html]
-indent_style = space
-indent_size = 2
-
-[*.{diff,md}]
-trim_trailing_whitespace = false