add missing licence headers or autogenerated notices where needed

git-svn-id: https://svn.apache.org/repos/asf/tiles/framework/trunk/tiles-request@1332830 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/pom.xml b/pom.xml
index 2f25e82..cb10f74 100644
--- a/pom.xml
+++ b/pom.xml
@@ -25,7 +25,7 @@
     <parent>
         <artifactId>tiles-master</artifactId>
         <groupId>org.apache.tiles</groupId>
-        <version>4-SNAPSHOT</version>
+        <version>4</version>
         <relativePath/>
     </parent>
     <groupId>org.apache.tiles</groupId>
@@ -44,14 +44,6 @@
         <system>JIRA</system>
         <url>https://issues.apache.org/jira/browse/TREQ</url>
     </issueManagement>
-    <repositories>
-        <repository>
-            <id>apache.snapshots</id>
-            <url>https://repository.apache.org/snapshots</url>
-            <releases><enabled>false</enabled></releases>
-            <snapshots><enabled>true</enabled></snapshots>
-        </repository>
-    </repositories>
 
     <modules>
         <module>tiles-request-api</module>
@@ -349,6 +341,10 @@
                                         <include>pom.xml</include>
                                         <include>src/**</include>
                                     </includes>
+                                    <excludes>
+                                        <exclude>**/*LICENSE.txt</exclude>
+                                        <exclude>**/*MANIFEST.MF</exclude>
+                                    </excludes>
                                 </configuration>
                             </execution>
                         </executions>
diff --git a/tiles-request-jsp/src/test/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntimeTest.java b/tiles-request-jsp/src/test/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntimeTest.java
index 3cb093c..53baf2c 100644
--- a/tiles-request-jsp/src/test/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntimeTest.java
+++ b/tiles-request-jsp/src/test/java/org/apache/tiles/request/jsp/autotag/JspAutotagRuntimeTest.java
@@ -1,3 +1,23 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.tiles.request.jsp.autotag;
 
 import static org.easymock.EasyMock.*;
diff --git a/tiles-request-mustache/src/test/resources/test.html b/tiles-request-mustache/src/test/resources/test.html
index 3de397c..594cbb0 100644
--- a/tiles-request-mustache/src/test/resources/test.html
+++ b/tiles-request-mustache/src/test/resources/test.html
@@ -1 +1,20 @@
-test template with {{testKey}}
\ No newline at end of file
+{{!
+  ! $Id$
+  !
+  ! 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.
+}}test template with {{testKey}}
\ No newline at end of file
diff --git a/tiles-request-velocity/src/test/java/org/apache/tiles/request/velocity/autotag/VelocityAutotagRuntimeTest.java b/tiles-request-velocity/src/test/java/org/apache/tiles/request/velocity/autotag/VelocityAutotagRuntimeTest.java
index 3fa76fb..526c55d 100644
--- a/tiles-request-velocity/src/test/java/org/apache/tiles/request/velocity/autotag/VelocityAutotagRuntimeTest.java
+++ b/tiles-request-velocity/src/test/java/org/apache/tiles/request/velocity/autotag/VelocityAutotagRuntimeTest.java
@@ -1,3 +1,23 @@
+/*
+ * $Id$
+ *
+ * Licensed to the Apache Software Foundation (ASF) under one
+ * or more contributor license agreements.  See the NOTICE file
+ * distributed with this work for additional information
+ * regarding copyright ownership.  The ASF licenses this file
+ * to you under the Apache License, Version 2.0 (the
+ * "License"); you may not use this file except in compliance
+ * with the License.  You may obtain a copy of the License at
+ *
+ * http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing,
+ * software distributed under the License is distributed on an
+ * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ * KIND, either express or implied.  See the License for the
+ * specific language governing permissions and limitations
+ * under the License.
+ */
 package org.apache.tiles.request.velocity.autotag;
 
 import static org.easymock.EasyMock.*;