GEODE-1791: update mbean src headers Add src header for mbeans-descriptors.dtd and mbeans-descriptors.xml. The dtd is from an ASF project and the xml file is specific for geode--both of these require the standard ASF source header.
Project: http://git-wip-us.apache.org/repos/asf/incubator-geode/repo Commit: http://git-wip-us.apache.org/repos/asf/incubator-geode/commit/67e13a0c Tree: http://git-wip-us.apache.org/repos/asf/incubator-geode/tree/67e13a0c Diff: http://git-wip-us.apache.org/repos/asf/incubator-geode/diff/67e13a0c Branch: refs/heads/develop Commit: 67e13a0c572368093053bc0a8c25ca17f0d4affb Parents: 3627327 Author: Anthony Baker <aba...@apache.org> Authored: Tue Sep 20 15:39:48 2016 -0700 Committer: Anthony Baker <aba...@apache.org> Committed: Wed Sep 21 12:39:51 2016 -0700 ---------------------------------------------------------------------- .../jmx/internal/doc-files/mbeans-descriptors.dtd | 17 ++++++++++++++++- .../apache/geode/admin/jmx/mbeans-descriptors.xml | 17 +++++++++++++++++ gradle/rat.gradle | 4 ---- 3 files changed, 33 insertions(+), 5 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/67e13a0c/geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd ---------------------------------------------------------------------- diff --git a/geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd b/geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd index 2a8b7b4..7c41bc2 100644 --- a/geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd +++ b/geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd @@ -1,5 +1,20 @@ <?xml version="1.0" encoding="ISO-8859-1"?> - +<!-- +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. +--> <!-- DTD for the Model MBeans Configuration File http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/67e13a0c/geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml ---------------------------------------------------------------------- diff --git a/geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml b/geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml index 2408641..b54716f 100755 --- a/geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml +++ b/geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml @@ -3,6 +3,23 @@ "-//Apache Software Foundation//DTD Model MBeans Configuration File" "http://jakarta.apache.org/commons/dtds/mbeans-descriptors.dtd"> +<!-- +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. +--> + <!-- ===================================================================== --> <!-- MBeans are defined in this file for these components: --> <!-- org.apache.geode.admin.jmx.Agent --> http://git-wip-us.apache.org/repos/asf/incubator-geode/blob/67e13a0c/gradle/rat.gradle ---------------------------------------------------------------------- diff --git a/gradle/rat.gradle b/gradle/rat.gradle index fc1ef40..0c09c68 100644 --- a/gradle/rat.gradle +++ b/gradle/rat.gradle @@ -146,10 +146,6 @@ rat { // --- Other Licenses --- - // Copied from other ASF projects - 'geode-core/src/main/resources/org/apache/geode/admin/jmx/internal/doc-files/mbeans-descriptors.dtd', - 'geode-core/src/main/resources/org/apache/geode/admin/jmx/mbeans-descriptors.xml', - // Public Domain http://meyerweb.com/eric/tools/css/reset/ 'geode-web-api/src/main/webapp/docs/css/reset.css', 'geode-pulse/src/main/webapp/scripts/lib/tooltip.js',