From 5a9b3989cde5ab5362361e376e91612e14c8255f Mon Sep 17 00:00:00 2001 From: Jacques Le Roux Date: Fri, 27 Oct 2017 17:08:55 +0000 Subject: [PATCH] Improved: Add rat exclude files to excludes those files that does not need license header (OFBIZ-9856) No functional change Adds a WIP rat-excludes.txt file. This excludes OFBiz files for Apache RAT tool run by ASF Buildbot, https://ci.apache.org/projects/ofbiz/rat-output.html http://creadur.apache.org/rat/ http://creadur.apache.org/rat/apache-rat/ While at it adds a ASL2 header to .xmlcatalog.xml git-svn-id: https://svn.apache.org/repos/asf/ofbiz/ofbiz-framework/trunk@1813550 13f79535-47bb-0310-9956-ffa450edef68 --- .xmlcatalog.xml | 20 ++++++++++++++++++++ rat-excludes.txt | 38 ++++++++++++++++++++++++++++++++++++++ 2 files changed, 58 insertions(+) create mode 100644 rat-excludes.txt diff --git a/.xmlcatalog.xml b/.xmlcatalog.xml index c770514f2e..c087131687 100644 --- a/.xmlcatalog.xml +++ b/.xmlcatalog.xml @@ -1,4 +1,24 @@ + + diff --git a/rat-excludes.txt b/rat-excludes.txt new file mode 100644 index 0000000000..10da5d9bc1 --- /dev/null +++ b/rat-excludes.txt @@ -0,0 +1,38 @@ +##################################################################### +# 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 excludes OFBiz files for Apache RAT tool run by ASF Buildbot, +http://creadur.apache.org/rat/ + + Files having a separate license should be ignored. + For OFBiz these include + - Docbook + +*docbook* +applications/content/dtd/* + + Also there are several files which can't have a license statement. + - README.md files and at large Markdown files + - OPTIONAL_LIBRARIES + - .project Eclipse project file, only in plugins for now + another solution should be provided + +*.md +OPTIONAL_LIBRARIES +.project \ No newline at end of file