You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@aries.apache.org by ti...@apache.org on 2018/04/25 10:26:19 UTC

aries-jpa git commit: Add missing licence headers to files throughout the Aries JPA codebase

Repository: aries-jpa
Updated Branches:
  refs/heads/master f52eb5210 -> 6d855c8a3


Add missing licence headers to files throughout the Aries JPA codebase


Project: http://git-wip-us.apache.org/repos/asf/aries-jpa/repo
Commit: http://git-wip-us.apache.org/repos/asf/aries-jpa/commit/6d855c8a
Tree: http://git-wip-us.apache.org/repos/asf/aries-jpa/tree/6d855c8a
Diff: http://git-wip-us.apache.org/repos/asf/aries-jpa/diff/6d855c8a

Branch: refs/heads/master
Commit: 6d855c8a31abf3a4307b1c9c840c29698bf12f9d
Parents: f52eb52
Author: Tim Ward <ti...@apache.org>
Authored: Wed Apr 25 11:26:01 2018 +0100
Committer: Tim Ward <ti...@apache.org>
Committed: Wed Apr 25 11:26:01 2018 +0100

----------------------------------------------------------------------
 examples/org.ops4j.datasource-tasklist.cfg      | 17 ++++++++++++++++
 examples/tasklist-blueprint/osgi.bnd            | 17 ++++++++++++++++
 examples/tasklist-cdi/osgi.bnd                  | 17 ++++++++++++++++
 .../src/main/resources/META-INF/beans.xml       |  7 +++++++
 examples/tasklist-ds/osgi.bnd                   | 17 ++++++++++++++++
 examples/tasklist-model/osgi.bnd                | 17 ++++++++++++++++
 .../jpa-container-blueprint-testbundle/osgi.bnd | 17 ++++++++++++++++
 .../test/resources/org.ops4j.pax.logging.cfg    | 17 ++++++++++++++++
 .../config/org.ops4j.datasource-testds.cfg      | 17 ++++++++++++++++
 .../config/org.ops4j.datasource-testdsxa.cfg    | 18 +++++++++++++++++
 .../resources/config/org.ops4j.pax.logging.cfg  | 18 +++++++++++++++++
 .../osgi.bnd                                    | 17 ++++++++++++++++
 .../src/main/resources/META-INF/sql/create.sql  | 19 ++++++++++++++++++
 .../src/main/resources/META-INF/sql/data.sql    | 21 +++++++++++++++++++-
 .../src/main/resources/META-INF/sql/drop.sql    | 19 ++++++++++++++++++
 itests/jpa-container-testbundle/osgi.bnd        | 17 ++++++++++++++++
 .../main/resources/META-INF/custom-mapping.xml  | 18 +++++++++++++++++
 javax-persistence/2_0/osgi.bnd                  | 17 ++++++++++++++++
 javax-persistence/2_1/osgi.bnd                  | 17 ++++++++++++++++
 jpa-api/osgi.bnd                                | 17 ++++++++++++++++
 jpa-blueprint/osgi.bnd                          | 17 ++++++++++++++++
 .../blueprint/impl/BlueprintContainerStub.java  | 18 +++++++++++++++++
 .../jpa/blueprint/impl/CoordinatorStub.java     | 18 +++++++++++++++++
 .../jpa/blueprint/impl/EntityManagerStub.java   | 18 +++++++++++++++++
 .../jpa/blueprint/impl/JpaInterceptorTest.java  | 18 +++++++++++++++++
 .../aries/jpa/blueprint/impl/TestInterface.java | 18 +++++++++++++++++
 jpa-cdi/osgi.bnd                                | 17 ++++++++++++++++
 jpa-cdi/src/main/resources/META-INF/beans.xml   | 18 +++++++++++++++++
 .../javax.enterprise.inject.spi.Extension       | 17 ++++++++++++++++
 jpa-container-eclipselink-adapter/osgi.bnd      | 17 ++++++++++++++++
 jpa-container/osgi.bnd                          | 17 ++++++++++++++++
 jpa-support/osgi.bnd                            | 17 ++++++++++++++++
 .../jpa/support/impl/XAJpaTemplateTest.java     | 18 +++++++++++++++++
 33 files changed, 568 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/org.ops4j.datasource-tasklist.cfg
----------------------------------------------------------------------
diff --git a/examples/org.ops4j.datasource-tasklist.cfg b/examples/org.ops4j.datasource-tasklist.cfg
index 6887c29..19c848d 100644
--- a/examples/org.ops4j.datasource-tasklist.cfg
+++ b/examples/org.ops4j.datasource-tasklist.cfg
@@ -1,3 +1,20 @@
+#    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.
+
 osgi.jdbc.driver.name = H2-pool-xa
 databaseName = tasklist;create=true
 dataSourceName = tasklist

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/tasklist-blueprint/osgi.bnd
----------------------------------------------------------------------
diff --git a/examples/tasklist-blueprint/osgi.bnd b/examples/tasklist-blueprint/osgi.bnd
index bfa7dd6..13eb520 100644
--- a/examples/tasklist-blueprint/osgi.bnd
+++ b/examples/tasklist-blueprint/osgi.bnd
@@ -1 +1,18 @@
+#    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.
+
 -contract: JavaJPA
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/tasklist-cdi/osgi.bnd
----------------------------------------------------------------------
diff --git a/examples/tasklist-cdi/osgi.bnd b/examples/tasklist-cdi/osgi.bnd
index 1c76259..93c7c8f 100644
--- a/examples/tasklist-cdi/osgi.bnd
+++ b/examples/tasklist-cdi/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Require-Capability: \
     osgi.extender; filter:="(osgi.extender=pax.cdi)", \
         org.ops4j.pax.cdi.extension; filter:="(extension=pax-cdi-extension2)", \

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/tasklist-cdi/src/main/resources/META-INF/beans.xml
----------------------------------------------------------------------
diff --git a/examples/tasklist-cdi/src/main/resources/META-INF/beans.xml b/examples/tasklist-cdi/src/main/resources/META-INF/beans.xml
index e69de29..72f620a 100644
--- a/examples/tasklist-cdi/src/main/resources/META-INF/beans.xml
+++ b/examples/tasklist-cdi/src/main/resources/META-INF/beans.xml
@@ -0,0 +1,7 @@
+<?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. -->
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/tasklist-ds/osgi.bnd
----------------------------------------------------------------------
diff --git a/examples/tasklist-ds/osgi.bnd b/examples/tasklist-ds/osgi.bnd
index 21522c0..a7bc7a8 100644
--- a/examples/tasklist-ds/osgi.bnd
+++ b/examples/tasklist-ds/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 -dsannotations: *
 
 -contract: JavaJPA
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/examples/tasklist-model/osgi.bnd
----------------------------------------------------------------------
diff --git a/examples/tasklist-model/osgi.bnd b/examples/tasklist-model/osgi.bnd
index 426050d..777b2f7 100644
--- a/examples/tasklist-model/osgi.bnd
+++ b/examples/tasklist-model/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Meta-Persistence: \
     META-INF/persistence.xml
 

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-blueprint-testbundle/osgi.bnd
----------------------------------------------------------------------
diff --git a/itests/jpa-container-blueprint-testbundle/osgi.bnd b/itests/jpa-container-blueprint-testbundle/osgi.bnd
index bfa7dd6..13eb520 100644
--- a/itests/jpa-container-blueprint-testbundle/osgi.bnd
+++ b/itests/jpa-container-blueprint-testbundle/osgi.bnd
@@ -1 +1,18 @@
+#    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.
+
 -contract: JavaJPA
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-itest-karaf/src/test/resources/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git a/itests/jpa-container-itest-karaf/src/test/resources/org.ops4j.pax.logging.cfg b/itests/jpa-container-itest-karaf/src/test/resources/org.ops4j.pax.logging.cfg
index 38c577f..edb0278 100644
--- a/itests/jpa-container-itest-karaf/src/test/resources/org.ops4j.pax.logging.cfg
+++ b/itests/jpa-container-itest-karaf/src/test/resources/org.ops4j.pax.logging.cfg
@@ -1,3 +1,20 @@
+#    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.
+
 log4j.rootLogger=INFO, stdout
 log4j.logger.org.apache.aries.transaction=DEBUG
 log4j.logger.org.apache.aries.transaction.parsing=DEBUG

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testds.cfg
----------------------------------------------------------------------
diff --git a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testds.cfg b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testds.cfg
index af4bce9..fc6d478 100644
--- a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testds.cfg
+++ b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testds.cfg
@@ -1,3 +1,20 @@
+#    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.
+
 osgi.jdbc.driver.class=org.apache.derby.jdbc.EmbeddedDriver
 url=jdbc:derby:memory:TEST1;create=true
 dataSourceName=testds

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testdsxa.cfg
----------------------------------------------------------------------
diff --git a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testdsxa.cfg b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testdsxa.cfg
index 9d3b0eb..441ff20 100644
--- a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testdsxa.cfg
+++ b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.datasource-testdsxa.cfg
@@ -1,3 +1,21 @@
+#    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.
+
+
 osgi.jdbc.driver.class=org.apache.derby.jdbc.EmbeddedDriver
 pool=dbcp2
 xa=true

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.pax.logging.cfg
----------------------------------------------------------------------
diff --git a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.pax.logging.cfg b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.pax.logging.cfg
index ebbf43b..3c0f0c7 100644
--- a/itests/jpa-container-itest/src/test/resources/config/org.ops4j.pax.logging.cfg
+++ b/itests/jpa-container-itest/src/test/resources/config/org.ops4j.pax.logging.cfg
@@ -1,3 +1,21 @@
+#    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.
+
+
 log4j.rootLogger=INFO, stdout
 #log4j.logger.org.apache.aries.transaction=DEBUG
 #log4j.logger.org.apache.aries.transaction.parsing=DEBUG

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle-eclipselink/osgi.bnd
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle-eclipselink/osgi.bnd b/itests/jpa-container-testbundle-eclipselink/osgi.bnd
index de9c8d2..40a29bb 100644
--- a/itests/jpa-container-testbundle-eclipselink/osgi.bnd
+++ b/itests/jpa-container-testbundle-eclipselink/osgi.bnd
@@ -1,2 +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.
+
 -contract: JavaJPA
 Meta-Persistence: META-INF/persistence.xml

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/create.sql
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/create.sql b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/create.sql
index 13a3395..293cc37 100644
--- a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/create.sql
+++ b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/create.sql
@@ -1,2 +1,21 @@
+/*
+ *    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.
+ */
+
 CREATE SCHEMA test_script
 CREATE TABLE CAR (NUMBERPLATE VARCHAR(50) PRIMARY KEY, COLOUR VARCHAR(50), ENGINESIZE INT, NUMBEROFSEATS INT)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/data.sql
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/data.sql b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/data.sql
index fa041da..b5966c3 100644
--- a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/data.sql
+++ b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/data.sql
@@ -1 +1,20 @@
-INSERT INTO CAR (NUMBERPLATE, COLOUR, ENGINESIZE, NUMBEROFSEATS) VALUES ('AB11CDE', 'Blue', 1300, 5)
\ No newline at end of file
+/*
+ *    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.
+ */
+ 
+ INSERT INTO CAR (NUMBERPLATE, COLOUR, ENGINESIZE, NUMBEROFSEATS) VALUES ('AB11CDE', 'Blue', 1300, 5)
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/drop.sql
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/drop.sql b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/drop.sql
index e69de29..ab6a9c9 100644
--- a/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/drop.sql
+++ b/itests/jpa-container-testbundle-eclipselink/src/main/resources/META-INF/sql/drop.sql
@@ -0,0 +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.
+ */
+ 
\ No newline at end of file

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle/osgi.bnd
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle/osgi.bnd b/itests/jpa-container-testbundle/osgi.bnd
index fd76fc3..6f14891 100644
--- a/itests/jpa-container-testbundle/osgi.bnd
+++ b/itests/jpa-container-testbundle/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Import-Package: \
     org.hibernate.proxy;resolution:=optional, \
     javassist.util.proxy;resolution:=optional, \

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/itests/jpa-container-testbundle/src/main/resources/META-INF/custom-mapping.xml
----------------------------------------------------------------------
diff --git a/itests/jpa-container-testbundle/src/main/resources/META-INF/custom-mapping.xml b/itests/jpa-container-testbundle/src/main/resources/META-INF/custom-mapping.xml
index 7b8d8e2..dc66dd7 100644
--- a/itests/jpa-container-testbundle/src/main/resources/META-INF/custom-mapping.xml
+++ b/itests/jpa-container-testbundle/src/main/resources/META-INF/custom-mapping.xml
@@ -1,4 +1,22 @@
 <?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.
+-->
 <entity-mappings xmlns="http://java.sun.com/xml/ns/persistence/orm"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://java.sun.com/xml/ns/persistence/orm http://xmlns.jcp.org/xml/ns/persistence/orm_2_0.xsd"

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/javax-persistence/2_0/osgi.bnd
----------------------------------------------------------------------
diff --git a/javax-persistence/2_0/osgi.bnd b/javax-persistence/2_0/osgi.bnd
index 536e09f..1474407 100644
--- a/javax-persistence/2_0/osgi.bnd
+++ b/javax-persistence/2_0/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 # Double exports copied from Geronimo to ensure maximal 
 # compatibility with the mess of older implementations out there. 
 # The JavaJPA contract is recommended to avoid issues here.

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/javax-persistence/2_1/osgi.bnd
----------------------------------------------------------------------
diff --git a/javax-persistence/2_1/osgi.bnd b/javax-persistence/2_1/osgi.bnd
index 5f2c551..0d8edee 100644
--- a/javax-persistence/2_1/osgi.bnd
+++ b/javax-persistence/2_1/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 # Double exports copied from Geronimo to ensure maximal 
 # compatibility with the mess of older implementations out there. 
 # The JavaJPA contract is recommended to avoid issues here.

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-api/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-api/osgi.bnd b/jpa-api/osgi.bnd
index 4402915..da2febc 100644
--- a/jpa-api/osgi.bnd
+++ b/jpa-api/osgi.bnd
@@ -1 +1,18 @@
+#    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.
+
 -contract: JavaJPA

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-blueprint/osgi.bnd b/jpa-blueprint/osgi.bnd
index 864239d..8f3cafc 100644
--- a/jpa-blueprint/osgi.bnd
+++ b/jpa-blueprint/osgi.bnd
@@ -1,2 +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.
+
 -contract: JavaJPA
 Bundle-Activator: org.apache.aries.jpa.blueprint.impl.Activator

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/BlueprintContainerStub.java
----------------------------------------------------------------------
diff --git a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/BlueprintContainerStub.java b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/BlueprintContainerStub.java
index 85c20b5..2873982 100644
--- a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/BlueprintContainerStub.java
+++ b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/BlueprintContainerStub.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.blueprint.impl;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/CoordinatorStub.java
----------------------------------------------------------------------
diff --git a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/CoordinatorStub.java b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/CoordinatorStub.java
index fe7b40e..1d96611 100644
--- a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/CoordinatorStub.java
+++ b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/CoordinatorStub.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.blueprint.impl;
 
 import java.util.Collection;

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/EntityManagerStub.java
----------------------------------------------------------------------
diff --git a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/EntityManagerStub.java b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/EntityManagerStub.java
index ce51a33..e88f744 100644
--- a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/EntityManagerStub.java
+++ b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/EntityManagerStub.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.blueprint.impl;
 
 import java.util.HashMap;

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/JpaInterceptorTest.java
----------------------------------------------------------------------
diff --git a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/JpaInterceptorTest.java b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/JpaInterceptorTest.java
index 43f16de..82478d5 100644
--- a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/JpaInterceptorTest.java
+++ b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/JpaInterceptorTest.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.blueprint.impl;
 
 import java.lang.reflect.Method;

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/TestInterface.java
----------------------------------------------------------------------
diff --git a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/TestInterface.java b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/TestInterface.java
index 87303f8..7b02bdf 100644
--- a/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/TestInterface.java
+++ b/jpa-blueprint/src/test/java/org/apache/aries/jpa/blueprint/impl/TestInterface.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.blueprint.impl;
 
 public interface TestInterface {

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-cdi/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-cdi/osgi.bnd b/jpa-cdi/osgi.bnd
index 7b9b23f..d9d04ea 100644
--- a/jpa-cdi/osgi.bnd
+++ b/jpa-cdi/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Import-Package: \
     javax.persistence*;version=2.1, \
     *

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-cdi/src/main/resources/META-INF/beans.xml
----------------------------------------------------------------------
diff --git a/jpa-cdi/src/main/resources/META-INF/beans.xml b/jpa-cdi/src/main/resources/META-INF/beans.xml
index 5a535b3..93fd1df 100644
--- a/jpa-cdi/src/main/resources/META-INF/beans.xml
+++ b/jpa-cdi/src/main/resources/META-INF/beans.xml
@@ -1,4 +1,22 @@
 <?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="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/beans_1_0.xsd">

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
----------------------------------------------------------------------
diff --git a/jpa-cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension b/jpa-cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
index f5a449c..80168e2 100644
--- a/jpa-cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
+++ b/jpa-cdi/src/main/resources/META-INF/services/javax.enterprise.inject.spi.Extension
@@ -1,2 +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.
+
 org.apache.aries.jpa.cdi.TransactionExtension
 org.apache.aries.jpa.cdi.JpaExtension

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-container-eclipselink-adapter/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-container-eclipselink-adapter/osgi.bnd b/jpa-container-eclipselink-adapter/osgi.bnd
index afb1a15..de25476 100644
--- a/jpa-container-eclipselink-adapter/osgi.bnd
+++ b/jpa-container-eclipselink-adapter/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Export-Package: !*
 Bundle-Activator: org.apache.aries.jpa.eclipselink.adapter.Activator
 

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-container/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-container/osgi.bnd b/jpa-container/osgi.bnd
index ccbd507..f45562d 100644
--- a/jpa-container/osgi.bnd
+++ b/jpa-container/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 Export-Package: \
     org.osgi.service.jpa
 

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-support/osgi.bnd
----------------------------------------------------------------------
diff --git a/jpa-support/osgi.bnd b/jpa-support/osgi.bnd
index c30618d..c33bd57 100644
--- a/jpa-support/osgi.bnd
+++ b/jpa-support/osgi.bnd
@@ -1,3 +1,20 @@
+#    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.
+
 -contract: JavaJPA
 Bundle-Activator: org.apache.aries.jpa.support.osgi.impl.Activator
 Require-Capability:\

http://git-wip-us.apache.org/repos/asf/aries-jpa/blob/6d855c8a/jpa-support/src/test/java/org/apache/aries/jpa/support/impl/XAJpaTemplateTest.java
----------------------------------------------------------------------
diff --git a/jpa-support/src/test/java/org/apache/aries/jpa/support/impl/XAJpaTemplateTest.java b/jpa-support/src/test/java/org/apache/aries/jpa/support/impl/XAJpaTemplateTest.java
index 1a9ddb5..8ffb66c 100644
--- a/jpa-support/src/test/java/org/apache/aries/jpa/support/impl/XAJpaTemplateTest.java
+++ b/jpa-support/src/test/java/org/apache/aries/jpa/support/impl/XAJpaTemplateTest.java
@@ -1,3 +1,21 @@
+/*
+ * 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 WARRANTIESOR 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.aries.jpa.support.impl;
 
 import static org.mockito.Mockito.*;