Removing license headers from filters.txt and instrumentation.txt; excluding from RAT tool
diff --git a/pom.xml b/pom.xml
index c1dcad8..024258a 100644
--- a/pom.xml
+++ b/pom.xml
@@ -201,6 +201,7 @@
<exclude>**/siddhi.extension</exclude>
<exclude>**/templates/*.cfg.template</exclude>
<exclude>**/instrumentation.txt</exclude>
+ <exclude>**/filters.txt</exclude>
<exclude>**/*json</exclude>
<exclude>**/.idea/**/*</exclude>
<exclude>**/tlds/**/*</exclude>
@@ -240,180 +241,6 @@
</plugins>
</build>
</profile>
-
- <profile>
- <id>addLicense</id>
- <build>
- <plugins>
- <plugin>
- <groupId>org.apache.maven.plugins</groupId>
- <artifactId>maven-compiler-plugin</artifactId>
- </plugin>
- <plugin>
- <groupId>org.apache.rat</groupId>
- <artifactId>apache-rat-plugin</artifactId>
- <version>0.10</version>
- <configuration>
- <excludes>
- <exclude>**/target/**/*</exclude>
- <exclude>**/.settings/**/*</exclude>
- <exclude>**/.project</exclude>
- <exclude>**/.classpath</exclude>
- <exclude>**/.git/**/*</exclude>
- <exclude>**/README.md</exclude>
- <exclude>**/INSTALL.md</exclude>
- <exclude>**/MANIFEST.MF</exclude>
- <exclude>**/edit_area/**/*</exclude>
- <exclude>**/editarea/**/*</exclude>
- <exclude>**/jquery/**/*</exclude>
- <exclude>**/jquery*</exclude>
- <exclude>**/*.iml</exclude>
- <exclude>**/*.iws</exclude>
- <exclude>**/*.ipr</exclude>
- <exclude>**/.gitignore</exclude>
- <exclude>**/payload/launch-params</exclude>
- <exclude>**/*.key</exclude>
- <exclude>**/bootstrap*.css</exclude>
- <exclude>**/animation.css</exclude>
- <exclude>**/fontello*</exclude>
- <exclude>**/jaggery.conf</exclude>
- <exclude>**/zoo.cfg</exclude>
- <exclude>**/scripts/*/customization</exclude>
- <exclude>**/siddhi.extension</exclude>
- <exclude>**/templates/*.cfg.template</exclude>
- <exclude>**/instrumentation.txt</exclude>
- <exclude>**/*json</exclude>
- <!-- Carbon UI dependency -->
- <exclude>**/org.wso2.carbon.ui/**/*</exclude>
-
- <!-- Added following based on jclouds -->
- <exclude>**/src/test/resources/**/*.xml</exclude>
- <!-- META-INF/services files -->
- <exclude>**/services/*LoggingModule</exclude>
- <exclude>**/services/*ApiMetadata</exclude>
- <exclude>**/services/*ProviderMetadata</exclude>
- </excludes>
- <licenses>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>BSD</licenseFamilyCategory>
- <licenseFamilyName>The BSD License</licenseFamilyName>
- <patterns>
- <pattern>The BSD License</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>CDDL</licenseFamilyCategory>
- <licenseFamilyName>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0
- </licenseFamilyName>
- <patterns>
- <pattern>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>EPL</licenseFamilyCategory>
- <licenseFamilyName>Eclipse Public License - v 1.0</licenseFamilyName>
- <patterns>
- <pattern>Eclipse Public License</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>MIT</licenseFamilyCategory>
- <licenseFamilyName>The MIT License (MIT)</licenseFamilyName>
- <patterns>
- <pattern>MIT License</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>JSMON</licenseFamilyCategory>
- <licenseFamilyName>JSMON</licenseFamilyName>
- <patterns>
- <pattern>JSMON</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>JDOM</licenseFamilyCategory>
- <licenseFamilyName>JDOM</licenseFamilyName>
- <patterns>
- <pattern>JDOM</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>JSON</licenseFamilyCategory>
- <licenseFamilyName>The JSON License</licenseFamilyName>
- <patterns>
- <pattern>JSON License</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>MPL10</licenseFamilyCategory>
- <licenseFamilyName>MOZILLA PUBLIC LICENSE Version 1.0</licenseFamilyName>
- <patterns>
- <pattern>MOZILLA PUBLIC LICENSE</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>SNAPTREE</licenseFamilyCategory>
- <licenseFamilyName>SNAPTREE LICENSE</licenseFamilyName>
- <patterns>
- <pattern>SNAPTREE LICENSE</pattern>
- </patterns>
- </license>
- <license implementation="org.apache.rat.analysis.license.SimplePatternBasedLicense">
- <licenseFamilyCategory>CPL1</licenseFamilyCategory>
- <licenseFamilyName>Common Public License 1.0</licenseFamilyName>
- <patterns>
- <pattern>CPL</pattern>
- </patterns>
- </license>
- </licenses>
- <licenseFamilies>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>The BSD LicenseThe BSD License</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>COMMON DEVELOPMENT AND DISTRIBUTION LICENSE Version 1.0</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>Eclipse Public License - v 1.0</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>The MIT License (MIT)</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>JSMON</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>JDOM</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>The JSON License</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>MOZILLA PUBLIC LICENSE Version 1.0</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>SNAPTREE LICENSE</familyName>
- </licenseFamily>
- <licenseFamily implementation="org.apache.rat.license.SimpleLicenseFamily">
- <familyName>Common Public License 1.0</familyName>
- </licenseFamily>
- </licenseFamilies>
- <addLicenseHeaders>forced</addLicenseHeaders>
- <ignoreErrors>false</ignoreErrors>
- <excludeSubProjects>false</excludeSubProjects>
- </configuration>
- <executions>
- <execution>
- <phase>verify</phase>
- <goals>
- <goal>check</goal>
- </goals>
- </execution>
- </executions>
- </plugin>
- </plugins>
- </build>
- </profile>
</profiles>
<dependencyManagement>
@@ -881,4 +708,4 @@
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
-</project>
\ No newline at end of file
+</project>
diff --git a/products/stratos/modules/integration/test-integration/src/test/resources/filters.txt b/products/stratos/modules/integration/test-integration/src/test/resources/filters.txt
index ea8af98..0b3d4cc 100644
--- a/products/stratos/modules/integration/test-integration/src/test/resources/filters.txt
+++ b/products/stratos/modules/integration/test-integration/src/test/resources/filters.txt
@@ -1,22 +1,3 @@
-#
-# 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.
-#
-
-*.stub*
-*.stub_
-*.stub_4.0.0
diff --git a/products/stratos/modules/integration/test-integration/src/test/resources/instrumentation.txt b/products/stratos/modules/integration/test-integration/src/test/resources/instrumentation.txt
index 0d4b2c7..a123554 100644
--- a/products/stratos/modules/integration/test-integration/src/test/resources/instrumentation.txt
+++ b/products/stratos/modules/integration/test-integration/src/test/resources/instrumentation.txt
@@ -1,20 +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.
-#
-
org.apache.stratos.*