This is an automated email from the ASF dual-hosted git repository.
jgallimore pushed a commit to branch tomee-7.0.x
in repository https://gitbox.apache.org/repos/asf/tomee.git
The following commit(s) were added to refs/heads/tomee-7.0.x by this push:
new cec4366 Add license headers to XML files
cec4366 is described below
commit cec43664724878097cdb25bd8d64df4e5b50c810
Author: Jonathan Gallimore <[email protected]>
AuthorDate: Thu Sep 12 20:16:55 2019 +0100
Add license headers to XML files
---
.../arquillian/tests/cmp/sample/application.xml | 20 +++++++++++++++++++-
.../resources/altddPU1/META-INF/bartest.ejb-jar.xml | 18 ++++++++++++++++++
.../resources/altddPU1/META-INF/persistence.xml | 17 +++++++++++++++++
.../resources/altddapp1/META-INF/test.ejb-jar.xml | 18 ++++++++++++++++++
.../test/resources/altddapp2/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../altddapp2/META-INF/footest.ejb-jar.xml | 20 +++++++++++++++++++-
.../resources/altddapp2/META-INF/test.ejb-jar.xml | 20 +++++++++++++++++++-
.../convert/oej2/simple/geronimo-openejb.xml | 19 ++++++++++++++++++-
.../convert/oej2/simple/openejb-jar-expected.xml | 21 +++++++++++++++++++--
.../resources/convert/oej2/simple/openejb-jar.xml | 19 ++++++++++++++++++-
.../test/resources/mixedcase/mEta-iNf/ejb-jar.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/test.ejb-jar.xml | 19 ++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/test/resources/META-INF/beans.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/beans.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 19 ++++++++++++++++++-
.../test/resources/META-INF/application-client.xml | 20 +++++++++++++++++++-
.../test/resources/META-INF/application-client.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../src/test/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/openejb-jar.xml | 17 +++++++++++++++++
.../src/main/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../test/resources/META-INF/application-client.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/test/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
.../src/main/resources/META-INF/ejb-jar.xml | 18 ++++++++++++++++++
.../src/main/resources/META-INF/ejb-jar.xml | 20 +++++++++++++++++++-
owasp-dc-suppression.xml | 19 ++++++++++++++++++-
33 files changed, 607 insertions(+), 21 deletions(-)
diff --git
a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/cmp/sample/application.xml
b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/cmp/sample/application.xml
index fcfcccb..a2b0db8 100644
---
a/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/cmp/sample/application.xml
+++
b/arquillian/arquillian-tomee-tests/arquillian-tomee-webprofile-tests/src/test/resources/org/apache/openejb/arquillian/tests/cmp/sample/application.xml
@@ -1,3 +1,21 @@
+<?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.
+-->
+
<application>
<display-name>ear</display-name>
<module>
@@ -9,4 +27,4 @@
<context-root>/test</context-root>
</web>
</module>
-</application>
\ No newline at end of file
+</application>
diff --git
a/container/openejb-core/src/test/resources/altddPU1/META-INF/bartest.ejb-jar.xml
b/container/openejb-core/src/test/resources/altddPU1/META-INF/bartest.ejb-jar.xml
index 7128e44..98e8637 100644
---
a/container/openejb-core/src/test/resources/altddPU1/META-INF/bartest.ejb-jar.xml
+++
b/container/openejb-core/src/test/resources/altddPU1/META-INF/bartest.ejb-jar.xml
@@ -1,3 +1,21 @@
+<?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.
+-->
+
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
metadata-complete="false">
<enterprise-beans>
<session>
diff --git
a/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
b/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
index 705fa62..4f1bc74 100644
---
a/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
+++
b/container/openejb-core/src/test/resources/altddPU1/META-INF/persistence.xml
@@ -1,4 +1,21 @@
<?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.
+-->
+
<persistence xmlns="http://java.sun.com/xml/ns/persistence" version="2.0">
<persistence-unit name="unit">
diff --git
a/container/openejb-core/src/test/resources/altddapp1/META-INF/test.ejb-jar.xml
b/container/openejb-core/src/test/resources/altddapp1/META-INF/test.ejb-jar.xml
index 6f2fb0c..a53c79b 100644
---
a/container/openejb-core/src/test/resources/altddapp1/META-INF/test.ejb-jar.xml
+++
b/container/openejb-core/src/test/resources/altddapp1/META-INF/test.ejb-jar.xml
@@ -1,3 +1,21 @@
+<?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.
+-->
+
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee" version="3.0"
metadata-complete="false">
<enterprise-beans>
<session>
diff --git
a/container/openejb-core/src/test/resources/altddapp2/META-INF/ejb-jar.xml
b/container/openejb-core/src/test/resources/altddapp2/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/container/openejb-core/src/test/resources/altddapp2/META-INF/ejb-jar.xml
+++ b/container/openejb-core/src/test/resources/altddapp2/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/container/openejb-core/src/test/resources/altddapp2/META-INF/footest.ejb-jar.xml
b/container/openejb-core/src/test/resources/altddapp2/META-INF/footest.ejb-jar.xml
index 20f7502..7014959 100644
---
a/container/openejb-core/src/test/resources/altddapp2/META-INF/footest.ejb-jar.xml
+++
b/container/openejb-core/src/test/resources/altddapp2/META-INF/footest.ejb-jar.xml
@@ -1,3 +1,21 @@
+<?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.
+-->
+
<ejb-jar>
<enterprise-beans>
<session id="OrangeBean">
@@ -22,4 +40,4 @@
</interceptor-binding>
</assembly-descriptor>
</ejb-jar>
-
\ No newline at end of file
+
diff --git
a/container/openejb-core/src/test/resources/altddapp2/META-INF/test.ejb-jar.xml
b/container/openejb-core/src/test/resources/altddapp2/META-INF/test.ejb-jar.xml
index 433757b..c003277 100644
---
a/container/openejb-core/src/test/resources/altddapp2/META-INF/test.ejb-jar.xml
+++
b/container/openejb-core/src/test/resources/altddapp2/META-INF/test.ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/container/openejb-core/src/test/resources/convert/oej2/simple/geronimo-openejb.xml
b/container/openejb-core/src/test/resources/convert/oej2/simple/geronimo-openejb.xml
index 38e3e14..718773f 100644
---
a/container/openejb-core/src/test/resources/convert/oej2/simple/geronimo-openejb.xml
+++
b/container/openejb-core/src/test/resources/convert/oej2/simple/geronimo-openejb.xml
@@ -1,4 +1,21 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?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.
+-->
+
<ns5:ejb-jar xmlns="http://geronimo.apache.org/xml/ns/deployment-1.2"
xmlns:ns2="http://geronimo.apache.org/xml/ns/j2ee/application-1.2"
xmlns:ns3="http://geronimo.apache.org/xml/ns/openejb-clustering-wadi-1.2"
xmlns:ns4="http://geronimo.apache.org/xml/ns/naming-1.2"
xmlns:ns5="http://tomee.apache.org/xml/ns/openejb-jar-2.2"
xmlns:ns6="http://geronimo.apache.org/xml/ns/j2ee/ejb/openejb-2.0"
xmlns:ns7="http://geronimo.apache.org/xml/ns/security-2.0"
xmlns:ns8="http://java.sun.com/xml/ns/p [...]
<environment>
<moduleId>
diff --git
a/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar-expected.xml
b/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar-expected.xml
index a53124a..5d58493 100644
---
a/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar-expected.xml
+++
b/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar-expected.xml
@@ -1,4 +1,21 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?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.
+-->
+
<openejb-jar xmlns="http://www.openejb.org/openejb-jar/1.1">
<properties>module.property.a=valuea
module.property.b=valueb
@@ -12,4 +29,4 @@ module.property.b=valueb
bean.property.b=valueb
</properties>
</ejb-deployment>
-</openejb-jar>
\ No newline at end of file
+</openejb-jar>
diff --git
a/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar.xml
b/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar.xml
index 172d4ba..b415d8f 100644
---
a/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar.xml
+++
b/container/openejb-core/src/test/resources/convert/oej2/simple/openejb-jar.xml
@@ -1,4 +1,21 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<?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.
+-->
+
<openejb-jar xmlns="http://tomee.apache.org/xml/ns/openejb-jar-2.2"
xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.2">
<dep:environment>
<dep:moduleId>
diff --git
a/container/openejb-core/src/test/resources/mixedcase/mEta-iNf/ejb-jar.xml
b/container/openejb-core/src/test/resources/mixedcase/mEta-iNf/ejb-jar.xml
index 7a1137a..99632ad 100644
--- a/container/openejb-core/src/test/resources/mixedcase/mEta-iNf/ejb-jar.xml
+++ b/container/openejb-core/src/test/resources/mixedcase/mEta-iNf/ejb-jar.xml
@@ -1,3 +1,21 @@
+<?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.
+-->
+
<ejb-jar>
<enterprise-beans>
<session id="OrangeBean">
diff --git
a/examples/alternate-descriptors/src/main/resources/META-INF/ejb-jar.xml
b/examples/alternate-descriptors/src/main/resources/META-INF/ejb-jar.xml
index 91be4f8..c003277 100644
--- a/examples/alternate-descriptors/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/alternate-descriptors/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
+<?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.
+-->
+
<ejb-jar/>
diff --git
a/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml
b/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml
index 9f40ae3..d557cd7 100644
---
a/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml
+++
b/examples/alternate-descriptors/src/main/resources/META-INF/test.ejb-jar.xml
@@ -1,4 +1,21 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?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.
+-->
+
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee">
<assembly-descriptor>
<interceptor-binding>
diff --git
a/examples/applicationexception/src/main/resources/META-INF/ejb-jar.xml
b/examples/applicationexception/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/examples/applicationexception/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/applicationexception/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/datasource-ciphered-password/src/test/resources/META-INF/beans.xml
b/examples/datasource-ciphered-password/src/test/resources/META-INF/beans.xml
index c4955f0..4dfa6a2 100644
---
a/examples/datasource-ciphered-password/src/test/resources/META-INF/beans.xml
+++
b/examples/datasource-ciphered-password/src/test/resources/META-INF/beans.xml
@@ -1 +1,19 @@
+<?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/>
diff --git a/examples/decorators/src/main/resources/META-INF/beans.xml
b/examples/decorators/src/main/resources/META-INF/beans.xml
index 57fe3f3..11f6923 100644
--- a/examples/decorators/src/main/resources/META-INF/beans.xml
+++ b/examples/decorators/src/main/resources/META-INF/beans.xml
@@ -1,3 +1,21 @@
+<?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>
<!--
Explicitly declaring decorators is required by the CDI specification.
diff --git
a/examples/ear-testing/business-logic/src/main/resources/META-INF/ejb-jar.xml
b/examples/ear-testing/business-logic/src/main/resources/META-INF/ejb-jar.xml
index 91be4f8..c003277 100644
---
a/examples/ear-testing/business-logic/src/main/resources/META-INF/ejb-jar.xml
+++
b/examples/ear-testing/business-logic/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
+<?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.
+-->
+
<ejb-jar/>
diff --git
a/examples/helloworld-weblogic/src/main/resources/META-INF/ejb-jar.xml
b/examples/helloworld-weblogic/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/examples/helloworld-weblogic/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/helloworld-weblogic/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/lookup-of-ejbs-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
b/examples/lookup-of-ejbs-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
index e989693..3209679 100644
---
a/examples/lookup-of-ejbs-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
+++
b/examples/lookup-of-ejbs-with-descriptor/src/main/resources/META-INF/ejb-jar.xml
@@ -1,4 +1,21 @@
-<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
+<?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.
+-->
+
<ejb-jar xmlns="http://java.sun.com/xml/ns/javaee">
<!-- Notice this changes the global jndi name -->
diff --git
a/examples/moviefun-rest/src/test/resources/META-INF/application-client.xml
b/examples/moviefun-rest/src/test/resources/META-INF/application-client.xml
index 1e91dca..2ce910f 100644
--- a/examples/moviefun-rest/src/test/resources/META-INF/application-client.xml
+++ b/examples/moviefun-rest/src/test/resources/META-INF/application-client.xml
@@ -1 +1,19 @@
-<application-client/>
\ No newline at end of file
+<?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.
+-->
+
+<application-client/>
diff --git
a/examples/moviefun/src/test/resources/META-INF/application-client.xml
b/examples/moviefun/src/test/resources/META-INF/application-client.xml
index 1e91dca..2ce910f 100644
--- a/examples/moviefun/src/test/resources/META-INF/application-client.xml
+++ b/examples/moviefun/src/test/resources/META-INF/application-client.xml
@@ -1 +1,19 @@
-<application-client/>
\ No newline at end of file
+<?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.
+-->
+
+<application-client/>
diff --git
a/examples/quartz-app/quartz-beans/src/main/resources/META-INF/ejb-jar.xml
b/examples/quartz-app/quartz-beans/src/main/resources/META-INF/ejb-jar.xml
index 91be4f8..c003277 100644
--- a/examples/quartz-app/quartz-beans/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/quartz-app/quartz-beans/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
+<?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.
+-->
+
<ejb-jar/>
diff --git a/examples/server-events/src/test/resources/META-INF/ejb-jar.xml
b/examples/server-events/src/test/resources/META-INF/ejb-jar.xml
index e69de29..dd0ab75 100644
--- a/examples/server-events/src/test/resources/META-INF/ejb-jar.xml
+++ b/examples/server-events/src/test/resources/META-INF/ejb-jar.xml
@@ -0,0 +1,18 @@
+<?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.
+-->
+
diff --git a/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml
b/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml
index d55e23f..886b121 100644
--- a/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml
+++ b/examples/simple-cmp2/src/main/resources/META-INF/openejb-jar.xml
@@ -1,4 +1,21 @@
<?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.
+-->
+
<openejb-jar xmlns="http://www.openejb.org/xml/ns/openejb-jar-2.1">
<enterprise-beans>
<entity>
diff --git
a/examples/simple-ear/moviefun-business-logic/src/main/resources/META-INF/ejb-jar.xml
b/examples/simple-ear/moviefun-business-logic/src/main/resources/META-INF/ejb-jar.xml
index 91be4f8..c003277 100644
---
a/examples/simple-ear/moviefun-business-logic/src/main/resources/META-INF/ejb-jar.xml
+++
b/examples/simple-ear/moviefun-business-logic/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
+<?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.
+-->
+
<ejb-jar/>
diff --git
a/examples/simple-ear/moviefun-functional-tests/src/test/resources/META-INF/application-client.xml
b/examples/simple-ear/moviefun-functional-tests/src/test/resources/META-INF/application-client.xml
index 1e91dca..2ce910f 100644
---
a/examples/simple-ear/moviefun-functional-tests/src/test/resources/META-INF/application-client.xml
+++
b/examples/simple-ear/moviefun-functional-tests/src/test/resources/META-INF/application-client.xml
@@ -1 +1,19 @@
-<application-client/>
\ No newline at end of file
+<?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.
+-->
+
+<application-client/>
diff --git
a/examples/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
b/examples/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
---
a/examples/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
+++
b/examples/simple-webservice-without-interface/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
b/examples/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
---
a/examples/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
+++
b/examples/simple-webservice-without-interface/src/test/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/telephone-stateful/src/main/resources/META-INF/ejb-jar.xml
b/examples/telephone-stateful/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/examples/telephone-stateful/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/telephone-stateful/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/webservice-attachments/src/main/resources/META-INF/ejb-jar.xml
b/examples/webservice-attachments/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/examples/webservice-attachments/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/webservice-attachments/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git
a/examples/webservice-inheritance/src/main/resources/META-INF/ejb-jar.xml
b/examples/webservice-inheritance/src/main/resources/META-INF/ejb-jar.xml
index 91be4f8..c003277 100644
--- a/examples/webservice-inheritance/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/webservice-inheritance/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
+<?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.
+-->
+
<ejb-jar/>
diff --git
a/examples/webservice-security/src/main/resources/META-INF/ejb-jar.xml
b/examples/webservice-security/src/main/resources/META-INF/ejb-jar.xml
index 433757b..c003277 100644
--- a/examples/webservice-security/src/main/resources/META-INF/ejb-jar.xml
+++ b/examples/webservice-security/src/main/resources/META-INF/ejb-jar.xml
@@ -1 +1,19 @@
-<ejb-jar/>
\ No newline at end of file
+<?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.
+-->
+
+<ejb-jar/>
diff --git a/owasp-dc-suppression.xml b/owasp-dc-suppression.xml
index 04b5050..2faaa83 100644
--- a/owasp-dc-suppression.xml
+++ b/owasp-dc-suppression.xml
@@ -1,4 +1,21 @@
<?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[
@@ -77,4 +94,4 @@
<gav regex="true">^org\.eclipse\.persistence:commonj\.sdo:.*$</gav>
<cpe>cpe:/a:git_project:git</cpe>
</suppress>
-</suppressions>
\ No newline at end of file
+</suppressions>