Activate rat plugin
Project: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/repo Commit: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/commit/c4ac4aa4 Tree: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/tree/c4ac4aa4 Diff: http://git-wip-us.apache.org/repos/asf/brooklyn-ui/diff/c4ac4aa4 Branch: refs/heads/master Commit: c4ac4aa427c8fcec90129e0b584d5bff38824082 Parents: 196afbd Author: Svetoslav Neykov <svetoslav.ney...@cloudsoftcorp.com> Authored: Tue Nov 15 14:59:53 2016 +0200 Committer: Svetoslav Neykov <svetoslav.ney...@cloudsoftcorp.com> Committed: Thu Nov 24 10:01:54 2016 +0200 ---------------------------------------------------------------------- pom.xml | 82 ++++++++++++++++++++++++------- src/main/webapp/logout_redirect.html | 19 +++++++ 2 files changed, 83 insertions(+), 18 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/c4ac4aa4/pom.xml ---------------------------------------------------------------------- diff --git a/pom.xml b/pom.xml index 143c8bb..d0c82a1 100644 --- a/pom.xml +++ b/pom.xml @@ -238,28 +238,74 @@ </execution> </executions> </plugin> + <plugin> + <groupId>org.apache.rat</groupId> + <artifactId>apache-rat-plugin</artifactId> + <executions> + <execution> + <phase>verify</phase> + <goals> + <goal>check</goal> + </goals> + </execution> + </executions> + <configuration> + <excludes combine.children="append"> + <!-- Exclude sandbox because not part of distribution: not in tgz, and not uploaded to maven-central --> + <exclude>sandbox/**</exclude> + <!-- Exclude release because not part of distribution: not in tgz, and not uploaded to maven-central --> + <exclude>release/**</exclude> + <exclude>README.md</exclude> + <exclude>.mvn/jvm.config</exclude> + <!-- git and IDE project files --> + <!-- see https://issues.apache.org/jira/browse/RAT-107 --> + <exclude>**/.git/**</exclude> + <exclude>**/.gitignore</exclude> + <exclude>**/.repository/**</exclude> + <exclude>**/.idea/**</exclude> + <exclude>**/*.iml</exclude> + <exclude>**/.classpath/**</exclude> + <exclude>**/.project</exclude> + <exclude>**/.settings/**</exclude> + <exclude>**/*.log</exclude> + <exclude>**/brooklyn*.log.*</exclude> + <exclude>**/target/**</exclude> + <!-- Exclude netbeans config files (not part of the project, but often on users' drives --> + <exclude>**/nbactions.xml</exclude> + <exclude>**/nb-configuration.xml</exclude> + <!-- files not requiring licence --> + <exclude>ignored/**</exclude> + <exclude>LICENSE.md</exclude> + <exclude>**/src/main/license/**</exclude> + <exclude>**/src/test/license/**</exclude> + <exclude>**/MANIFEST.MF</exclude> + <exclude>**/test-output/**</exclude> + + <!-- JavaScript & CSS code that is not copyright of Apache Foundation. It is included in NOTICE. --> + <exclude>**/src/main/webapp/assets/js/libs/**</exclude> + <exclude>**/src/build/requirejs-maven-plugin/r.js</exclude> + <exclude>src/main/webapp/assets/js/util/code-complete/brooklyn-yaml-completion-proposals.js</exclude> + <exclude>src/main/webapp/assets/js/util/code-complete/js-yaml-parser.js</exclude> + <exclude>src/main/webapp/assets/css/codemirror.css</exclude> + <exclude>src/main/webapp/assets/css/easy-autocomplete.css</exclude> + <exclude>src/main/webapp/assets/css/show-hint.css</exclude> + <exclude>src/main/webapp/assets/images/Sorting icons.psd</exclude> + <!-- Downloaded if missing, binary - not included in the repo --> + <exclude>src/main/webapp/assets/img/zeroclipboard/ZeroClipboard.swf</exclude> + + <exclude>src/test/resources/fixtures/*</exclude> + + <!-- + Copy of swagger-ui from https://github.com/swagger-api/swagger-ui tag::v2.1.3 + --> + <exclude>**/src/main/webapp/assets/swagger-ui/**</exclude> + </excludes> + </configuration> + </plugin> </plugins> <pluginManagement> <plugins> - <plugin> - <groupId>org.apache.rat</groupId> - <artifactId>apache-rat-plugin</artifactId> - <configuration> - <excludes combine.children="append"> - <!-- - JavaScript code that is not copyright of Apache Foundation. It is included in NOTICE. - --> - <exclude>**/src/main/webapp/assets/js/libs/*</exclude> - <exclude>**/src/build/requirejs-maven-plugin/r.js</exclude> - - <!-- - Copy of swagger-ui from https://github.com/swagger-api/swagger-ui tag::v2.1.3 - --> - <exclude>**/src/main/webapp/assets/swagger-ui/**</exclude> - </excludes> - </configuration> - </plugin> <!--This plugin's configuration is used to store Eclipse m2e settings only. It has no influence on the Maven build itself.--> <plugin> <groupId>org.eclipse.m2e</groupId> http://git-wip-us.apache.org/repos/asf/brooklyn-ui/blob/c4ac4aa4/src/main/webapp/logout_redirect.html ---------------------------------------------------------------------- diff --git a/src/main/webapp/logout_redirect.html b/src/main/webapp/logout_redirect.html index 2699532..ce21a30 100644 --- a/src/main/webapp/logout_redirect.html +++ b/src/main/webapp/logout_redirect.html @@ -1,4 +1,23 @@ <!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. + --> +<!-- Brooklyn SHA-1: GIT_SHA_1 --> <html lang="en"> <head> <meta charset="UTF-8">