You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tomee.apache.org by rz...@apache.org on 2022/04/22 13:32:03 UTC

[tomee] branch tomee-7.1.x updated: Updates RAT checks, fixes RAT license issues

This is an automated email from the ASF dual-hosted git repository.

rzo1 pushed a commit to branch tomee-7.1.x
in repository https://gitbox.apache.org/repos/asf/tomee.git


The following commit(s) were added to refs/heads/tomee-7.1.x by this push:
     new 0788054d95 Updates RAT checks, fixes RAT license issues
0788054d95 is described below

commit 0788054d9591f07259af40e1e75e08a193467779
Author: Richard Zowalla <rz...@apache.org>
AuthorDate: Fri Apr 22 15:31:54 2022 +0200

    Updates RAT checks, fixes RAT license issues
---
 examples/mp-faulttolerance-timeout/pom.xml         |  16 +++
 .../src/test/resources/beans.xml                   |  16 +++
 .../jaxrs/MPJWTSecurityAnnotationsInterceptor.java |  16 +++
 owasp-dc-suppression.xml                           |  16 +++
 pom.xml                                            |  48 ++++++++
 rat.xml                                            | 130 ++++++++++-----------
 .../MicroProfileConfigTCKArchiveProcessor.java     |  16 +++
 .../config/MicroProfileConfigTCKExtension.java     |  16 +++
 .../microprofile/jwt/AppDeploymentExtension.java   |  16 +++
 9 files changed, 225 insertions(+), 65 deletions(-)

diff --git a/examples/mp-faulttolerance-timeout/pom.xml b/examples/mp-faulttolerance-timeout/pom.xml
index 08eed3464a..962c121bbc 100644
--- a/examples/mp-faulttolerance-timeout/pom.xml
+++ b/examples/mp-faulttolerance-timeout/pom.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
 <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
   <modelVersion>4.0.0</modelVersion>
 
diff --git a/examples/mp-faulttolerance-timeout/src/test/resources/beans.xml b/examples/mp-faulttolerance-timeout/src/test/resources/beans.xml
index d942d7ab8d..2ae67882b9 100644
--- a/examples/mp-faulttolerance-timeout/src/test/resources/beans.xml
+++ b/examples/mp-faulttolerance-timeout/src/test/resources/beans.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
 <beans xmlns="http://java.sun.com/xml/ns/javaee"
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
        xsi:schemaLocation="
diff --git a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java
index f604e6bfea..1c53ed3208 100644
--- a/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java
+++ b/mp-jwt/src/main/java/org/apache/tomee/microprofile/jwt/jaxrs/MPJWTSecurityAnnotationsInterceptor.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
 package org.apache.tomee.microprofile.jwt.jaxrs;
 
 import javax.ws.rs.container.ContainerRequestContext;
diff --git a/owasp-dc-suppression.xml b/owasp-dc-suppression.xml
index 04b5050b9e..aabc17af93 100644
--- a/owasp-dc-suppression.xml
+++ b/owasp-dc-suppression.xml
@@ -1,4 +1,20 @@
 <?xml version="1.0" encoding="UTF-8"?>
+<!--
+  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.
+-->
 <suppressions xmlns="https://jeremylong.github.io/DependencyCheck/dependency-suppression.1.2.xsd">
     <suppress>
         <notes><![CDATA[
diff --git a/pom.xml b/pom.xml
index 7758a0543b..f87d6b6543 100644
--- a/pom.xml
+++ b/pom.xml
@@ -729,8 +729,42 @@
             <configuration>
               <reportFile>${project.build.directory}/${project.build.finalName}.rat</reportFile>
               <excludes>
+                <exclude>doap_tomee.rdf</exclude>
+                <exclude>.git/**</exclude>
+                <exclude>.github/**</exclude>
                 <exclude>**/target/**/*</exclude>
                 <exclude>**/js/livereload.js</exclude>
+                <exclude>**/*.ser</exclude>
+                <exclude>**/*.pem</exclude>
+                <exclude>**/*.adoc</exclude>
+                <exclude>**/*.md</exclude>
+                <exclude>**/*.log</exclude>
+                <exclude>**/*.json</exclude>
+                <exclude>**/*.jwk</exclude>
+                <exclude>**/src/main/resources/META-INF/**/*.xsd</exclude>
+                <exclude>**/src/main/xsdlist/xsdlist.txt</exclude>
+                <exclude>**/META-INF/services/**</exclude>
+                <exclude>**/META-INF/org.apache.openejb**</exclude>
+                <exclude>**/META-INF/org.apache.openejb**/**</exclude>
+                <exclude>**/META-INF/schema/**</exclude>
+
+                <exclude>**/src/**/*login.config</exclude>
+                <exclude>**/src/main/resources/DATA-README.txt</exclude>
+                <exclude>**/src/test/resources/test.getresources</exclude>
+                <exclude>**/src/test/resources/test/log/localhost_access_log.2014-02-07.txt</exclude>
+                <exclude>**/src/main/resources/service.readme.txt</exclude>
+                <exclude>**/src/main/resources/default.exclusions</exclude>
+                <exclude>**/src/main/resources/default.openejb.conf</exclude>
+                <exclude>**/src/test/resources/altddapp2/META-INF/test.env-entries.properties</exclude>
+                <exclude>**/src/test/resources/META-INF/multiple</exclude>
+                <exclude>**/src/test/resources/openejb.json</exclude>
+                <exclude>**/src/test/resources/appresource.resources.json</exclude>
+
+                <exclude>**/tomee-deb/src/main/resources/**/*.template</exclude>
+                <exclude>**/tomee-deb/**/precompiled-changelog</exclude>
+
+                <!-- created during shading deps -->
+                <exclude>**/dependency-reduced-pom.xml</exclude>
 
                 <!-- left around after creating the site -->
                 <exclude>**/cobertura.ser</exclude>
@@ -740,6 +774,7 @@
                 <exclude>**/hsqldb.log</exclude>
 
                 <!-- IDEA files -->
+                <exclude>.idea/**</exclude>
                 <exclude>**/*.iml</exclude>
                 <exclude>**/*.ipr</exclude>
                 <exclude>**/*.iws</exclude>
@@ -748,6 +783,19 @@
                 <exclude>**/.*</exclude>
                 <exclude>**/.*/*</exclude>
                 <exclude>**/eclipse-classes/**/*</exclude>
+
+                <!-- ASCIIDOC files -->
+                <exclude>docs/**</exclude>
+
+                <!-- examples -->
+                <exclude>examples/**/*.jsp</exclude>
+                <exclude>examples/**/*.css</exclude>
+                <exclude>examples/**/*.properties</exclude>
+                <exclude>examples/**/*.feature</exclude>
+                <exclude>examples/**/placeholder</exclude>
+                <exclude>examples/**/Dockerfile</exclude>
+                <exclude>examples/**/bootstrap/**</exclude>
+                <exclude>examples/**/.idea/**</exclude>
               </excludes>
             </configuration>
           </plugin>
diff --git a/rat.xml b/rat.xml
index 7c1dbe8a0c..b1bbb14b39 100644
--- a/rat.xml
+++ b/rat.xml
@@ -17,18 +17,18 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<project default="scan" name="Ant task examples"> 
-  <description> 
+<project default="scan" name="Ant task examples">
+  <description>
     A few examples of using the Ant task, for more examples see the
     AntUnit tests
-  </description> 
- 
- 
+  </description>
+
+
   <target name="scan" depends="-taskdef"
-    description="runs the task over RAT's source tree"> 
-    <rat:report xmlns:rat="antlib:org.apache.rat.anttasks"> 
-      <fileset dir="."> 
-        <patternset id="exclusions"> 
+          description="runs the task over RAT's source tree">
+    <rat:report xmlns:rat="antlib:org.apache.rat.anttasks">
+      <fileset dir=".">
+        <patternset id="exclusions">
           <exclude name="**/.settings/**"/>
           <exclude name="**/.idea/**"/>
           <exclude name="**/overlays/*.info"/>
@@ -43,7 +43,7 @@
           <exclude name="**/README.md"/>
           <exclude name="**/README.mdtext"/>
           <exclude name="**/LoadableExtension"/>
-          <exclude name="**/javax.enterprise.inject.spi.Extension"/>
+          <exclude name="**/jakarta.enterprise.inject.spi.Extension"/>
           <exclude name="**/*.handlebars"/>
 
           <exclude name="report.txt"/>
@@ -60,12 +60,12 @@
           <exclude name="tomee/tomee-deb/src/main/resources/control/control.template"/>
           <exclude name="tomee/tomee-deb/src/main/resources/copyright.template"/>
           <exclude name="tomee/tomee-webaccess/src/test/resources/test/log/**"/>
-          <exclude name="utils/log4j2-tomee/src/main/resources/META-INF/org.apache.openejb.extension"/>          
+          <exclude name="utils/log4j2-tomee/src/main/resources/META-INF/org.apache.openejb.extension"/>
           <exclude name="utils/openejb-core-eclipselink/src/main/resources/META-INF/org.apache.openejb.persistence.PersistenceBootstrap.provider"/>
           <exclude name="utils/openejb-core-hibernate/src/main/resources/META-INF/org.apache.openejb.persistence.PersistenceBootstrap.provider"/>
           <exclude name="assembly/openejb-standalone/src/main/resources/service.readme.txt"/>
-          <exclude name="tomee/apache-tomee/src/main/resources/META-INF/services/javax.ejb.spi.EJBContainerProvider"/>
-          <exclude name="tomee/tomee-overlay-runner/src/main/resources/META-INF/services/javax.servlet.ServletContainerInitializer"/>
+          <exclude name="tomee/apache-tomee/src/main/resources/META-INF/services/jakarta.ejb.spi.EJBContainerProvider"/>
+          <exclude name="tomee/tomee-overlay-runner/src/main/resources/META-INF/services/jakarta.servlet.ServletContainerInitializer"/>
           <exclude name="arquillian/arquillian-tomee-embedded/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension"/>
           <exclude name="arquillian/arquillian-tomee-embedded/src/main/resources/META-INF/services/org.jboss.arquillian.container.test.spi.RemoteLoadableExtension" />
           <exclude name="arquillian/arquillian-tomee-remote/src/main/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension"/>
@@ -80,15 +80,15 @@
           <exclude name="container/openejb-jee/src/main/xsdlist/xsdlist.txt"/>
           <exclude name="container/openejb-core/src/main/resources/default.exclusions"/>
           <exclude name="container/openejb-core/src/main/resources/META-INF/org.apache.openejb.cipher.PasswordCipher/cdi"/>
-          <exclude name="container/openejb-core/src/main/resources/META-INF/services/javax.ejb.spi.EJBContainerProvider"/>
+          <exclude name="container/openejb-core/src/main/resources/META-INF/services/jakarta.ejb.spi.EJBContainerProvider"/>
           <exclude name="container/openejb-core/src/test/resources/META-INF/multiple"/>
           <exclude name="container/openejb-core/src/test/resources/META-INF/org.apache.openejb.cipher.PasswordCipher/reverse"/>
-          <exclude name="container/openejb-core/src/test/resources/META-INF/services/javax.validation.spi.ValidationProvider"/>
+          <exclude name="container/openejb-core/src/test/resources/META-INF/services/jakarta.validation.spi.ValidationProvider"/>
           <exclude name="container/openejb-core/src/test/resources/META-INF/services/org.apache.openejb.core.security.jaas.LoginProvider" />
           <exclude name="container/openejb-junit/src/main/resources/META-INF/openejb-test-login.config"/>
-          <exclude name="osgi/openejb-core-osgi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension"/>
+          <exclude name="osgi/openejb-core-osgi/src/main/resources/META-INF/services/jakarta.enterprise.inject.spi.Extension"/>
           <exclude name="server/openejb-cxf/src/main/resources/META-INF/cxf.extension"/>
-          <exclude name="server/openejb-cxf-rs/src/main/resources/META-INF/services/javax.ws.rs.ext.RuntimeDelegate"/>
+          <exclude name="server/openejb-cxf-rs/src/main/resources/META-INF/services/jakarta.ws.rs.ext.RuntimeDelegate"/>
           <exclude name="server/openejb-ssh/src/test/key/ssh-key.ser"/>
           <exclude name="server/openejb-ejbd/activemq-data/**"/>
           <exclude name="server/openejb-http/activemq-data/**"/>
@@ -99,18 +99,18 @@
           <exclude name="examples/deltaspike-configproperty/src/main/resources/META-INF/services/org.apache.deltaspike.core.spi.config.ConfigSourceProvider" />
           <exclude name="examples/server-events/src/main/resources/META-INF/org.apache.openejb.extension" />
           <exclude name="examples/testing-security-3/src/main/resources/META-INF/services/org.apache.openejb.core.security.jaas.LoginProvider" />
-          <exclude name="utils/openejb-mockito/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension"/>
+          <exclude name="utils/openejb-mockito/src/main/resources/META-INF/services/jakarta.enterprise.inject.spi.Extension"/>
           <exclude name="tck/cdi-embedded/src/test/resources/META-INF/org.apache.openejb.extension"/>
           <exclude name="tck/cdi-embedded/src/test/resources/META-INF/services/org.jboss.arquillian.core.spi.LoadableExtension"/>
-          <exclude name="tomee/tomee-catalina/src/main/resources/META-INF/services/javax.websocket.server.ServerEndpointConfig$Configurator"/>
-          <exclude name="tomee/tomee-embedded/src/test/resources/META-INF/services/javax.servlet.ServletContainerInitializer"/>
+          <exclude name="tomee/tomee-catalina/src/main/resources/META-INF/services/jakarta.websocket.server.ServerEndpointConfig$Configurator"/>
+          <exclude name="tomee/tomee-embedded/src/test/resources/META-INF/services/jakarta.servlet.ServletContainerInitializer"/>
           <exclude name="tomee/tomee-juli/src/main/resources/META-INF/services/org.apache.juli.logging.Log"/>
           <exclude name="tomee/tomee-myfaces/src/main/resources/META-INF/services/org.apache.myfaces.spi.WebConfigProvider"/>
           <exclude name="tomee/apache-tomee/src/main/resources/service.readme.txt"/>
           <exclude name="tomee/apache-tomee-deb/src/main/resources/prerm"/>
           <exclude name="tomee/apache-tomee-deb/src/main/resources/postinst"/>
           <exclude name="tomee/apache-tomee-deb/src/main/resources/control"/>
-          <exclude name="tomee/tomee-embedded/src/main/resources/META-INF/services/javax.ejb.spi.EJBContainerProvider"/>
+          <exclude name="tomee/tomee-embedded/src/main/resources/META-INF/services/jakarta.ejb.spi.EJBContainerProvider"/>
           <exclude name="tomee/tomee-embedded/src/main/resources/META-INF/services/org.apache.webbeans.spi.plugins.OpenWebBeansPlugin"/>
           <exclude name="tomee/tomee-myfaces/src/main/resources/META-INF/services/org.apache.myfaces.spi.AnnotationProviderFactory"/>
           <exclude name="tomee/tomee-myfaces/src/main/resources/META-INF/services/org.apache.myfaces.spi.FacesConfigurationProviderFactory" />
@@ -118,34 +118,34 @@
           <exclude name="tomee/tomee-mojarra/src/main/resources/META-INF/services/com.sun.faces.spi.injectionprovider" />
           <exclude name="tomee/tomee-jdbc/src/test/resources/META-INF/org.apache.openejb.resource.jdbc.cipher.PasswordCipher/Mock" />
           <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/require/**" />
-          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/bootstrap/**" /> 
-          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/codemirror/**" /> 
-          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/handlebars/**" /> 
-          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/jquery/**" /> 
+          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/bootstrap/**" />
+          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/codemirror/**" />
+          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/handlebars/**" />
+          <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/jquery/**" />
           <exclude name="tomee/tomee-webapp/src/main/webapp/app/lib/less/**" />
           <!-- TODO check if that's really excluded -->
           <exclude name="tomee/tomee-webapp/src/main/webapp/app/js/templates/**" />
 
-          <!-- user-owned config files.  see httpds default.httpd.conf for precident --> 
-          <exclude name="**/default.openejb.conf"/> 
-          <exclude name="**/groups.properties"/> 
-          <exclude name="**/users.properties"/> 
-          <exclude name="**/logging.properties"/> 
-          <exclude name="**/login.config"/> 
- 
-          <!-- license in this file results in bad generated release notes --> 
-          <exclude name="**/release-notes.vm"/> 
- 
-          <!-- empty placeholder --> 
-          <exclude name="**/assembly/openejb-standalone/src/main/resources/DATA-README.txt"/> 
- 
-          <!-- tiny plugin descriptors - some user owned --> 
-          <exclude name="**/META-INF/org.apache.openejb.cli/**"/> 
-          <exclude name="**/META-INF/org.apache.openejb.client.IdentityResolver/**"/> 
-          <exclude name="**/META-INF/org.apache.openejb.server.ServerService/**"/> 
+          <!-- user-owned config files.  see httpds default.httpd.conf for precident -->
+          <exclude name="**/default.openejb.conf"/>
+          <exclude name="**/groups.properties"/>
+          <exclude name="**/users.properties"/>
+          <exclude name="**/logging.properties"/>
+          <exclude name="**/login.config"/>
+
+          <!-- license in this file results in bad generated release notes -->
+          <exclude name="**/release-notes.vm"/>
+
+          <!-- empty placeholder -->
+          <exclude name="**/assembly/openejb-standalone/src/main/resources/DATA-README.txt"/>
+
+          <!-- tiny plugin descriptors - some user owned -->
+          <exclude name="**/META-INF/org.apache.openejb.cli/**"/>
+          <exclude name="**/META-INF/org.apache.openejb.client.IdentityResolver/**"/>
+          <exclude name="**/META-INF/org.apache.openejb.server.ServerService/**"/>
           <exclude name="**/META-INF/org.apache.openejb.resource.jdbc.plugin.DataSourcePlugin/**"/>
           <exclude name="**/META-INF/org.apache.openejb.resource.jdbc.cipher.PasswordCipher/**"/>
-          <exclude name="**/META-INF/services/org/apache/activemq/broker/**"/> 
+          <exclude name="**/META-INF/services/org/apache/activemq/broker/**"/>
           <exclude name="**/META-INF/org.apache.openejb.tomcat/ServerClassLoader"/>
 
 
@@ -159,19 +159,19 @@
           <exclude name="**/container/openejb-spring/src/test/resources/META-INF/ejb-jar.xml"/>
           <exclude name="**/container/openejb-jee-accessors/src/test/resources/*.xml"/>
 
-          <!-- empty or insignificant descriptors from examples --> 
-          <exclude name="**/examples/**/src/*/resources/META-INF/ejb-jar.xml"/> 
-          <exclude name="**/examples/**/src/*/resources/META-INF/application-client.xml"/> 
-          <exclude name="**/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml"/> 
-          <exclude name="**/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml"/> 
-          <exclude name="**/examples/webapps/struts/src/main/webapp/prelude.jspf"/> 
- 
-          <!-- boiler plate --> 
-          <exclude name="**/examples/webservice-ws-security/src/*/resources/META-INF/CalculatorImpl*.properties"/> 
- 
-          <!-- W3C licensed --> 
-          <exclude name="**/container/openejb-jee/src/main/resources/META-INF/schema/xml.xsd"/> 
-          <exclude name="**/server/openejb-axis/src/main/resources/META-INF/schema/soap_encoding_1_1.xsd"/> 
+          <!-- empty or insignificant descriptors from examples -->
+          <exclude name="**/examples/**/src/*/resources/META-INF/ejb-jar.xml"/>
+          <exclude name="**/examples/**/src/*/resources/META-INF/application-client.xml"/>
+          <exclude name="**/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml"/>
+          <exclude name="**/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml"/>
+          <exclude name="**/examples/webapps/struts/src/main/webapp/prelude.jspf"/>
+
+          <!-- boiler plate -->
+          <exclude name="**/examples/webservice-ws-security/src/*/resources/META-INF/CalculatorImpl*.properties"/>
+
+          <!-- W3C licensed -->
+          <exclude name="**/container/openejb-jee/src/main/resources/META-INF/schema/xml.xsd"/>
+          <exclude name="**/server/openejb-axis/src/main/resources/META-INF/schema/soap_encoding_1_1.xsd"/>
 
           <!-- CDDL licensed -->
           <exclude name="container/openejb-jee/src/main/resources/META-INF/schema/*.xsd"/>
@@ -179,8 +179,8 @@
           <!-- MIT licensed -->
           <exclude name="utils/livereload-tomee/src/main/resources/js/livereload.js"/>
         </patternset>
-      </fileset> 
-    </rat:report> 
+      </fileset>
+    </rat:report>
   </target>
 
   <condition property="rat.already.downloaded">
@@ -199,10 +199,10 @@
 
       <classpath>
         <fileset dir="${java.io.tmpdir}/rat/">
-           <include name="**/apache-rat*.jar"/>
-           <include name="**/lib/**/commons-*.jar"/>
-        </fileset> 
-      </classpath> 
-    </typedef> 
-  </target> 
-</project> 
+          <include name="**/apache-rat*.jar"/>
+          <include name="**/lib/**/commons-*.jar"/>
+        </fileset>
+      </classpath>
+    </typedef>
+  </target>
+</project>
\ No newline at end of file
diff --git a/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKArchiveProcessor.java b/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKArchiveProcessor.java
index cccd0ce336..eb8a2645f2 100644
--- a/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKArchiveProcessor.java
+++ b/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKArchiveProcessor.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
 package org.apache.openejb.tck.microprofile.config;
 
 import org.hamcrest.object.HasToString;
diff --git a/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKExtension.java b/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKExtension.java
index e30ece77e6..a41a34fb14 100644
--- a/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKExtension.java
+++ b/tck/microprofile-tck/config/src/test/java/org/apache/openejb/tck/microprofile/config/MicroProfileConfigTCKExtension.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
 package org.apache.openejb.tck.microprofile.config;
 
 import org.jboss.arquillian.container.test.spi.client.deployment.ApplicationArchiveProcessor;
diff --git a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/jwt/AppDeploymentExtension.java b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/jwt/AppDeploymentExtension.java
index f5f2183f23..4fd73f8fd8 100644
--- a/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/jwt/AppDeploymentExtension.java
+++ b/tck/microprofile-tck/jwt/src/test/java/org/apache/tomee/microprofile/jwt/AppDeploymentExtension.java
@@ -1,3 +1,19 @@
+/*
+ * 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.
+ */
 package org.apache.tomee.microprofile.jwt;
 
 import com.nimbusds.jose.JWSSigner;