Author: cziegeler
Date: Mon Apr 27 13:58:19 2015
New Revision: 1676268

URL: http://svn.apache.org/r1676268
Log:
Add missing licence header and exclude file from rat

Modified:
    sling/trunk/bundles/scripting/jsp-taglib/pom.xml
    
sling/trunk/bundles/scripting/jsp-taglib/src/main/resources/validation.properties
    
sling/trunk/bundles/scripting/jsp-taglib/src/test/java/org/apache/sling/scripting/jsp/taglib/MockPageContext.java

Modified: sling/trunk/bundles/scripting/jsp-taglib/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp-taglib/pom.xml?rev=1676268&r1=1676267&r2=1676268&view=diff
==============================================================================
--- sling/trunk/bundles/scripting/jsp-taglib/pom.xml (original)
+++ sling/trunk/bundles/scripting/jsp-taglib/pom.xml Mon Apr 27 13:58:19 2015
@@ -60,6 +60,15 @@
                                        </instructions>
                                </configuration>
                        </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/main/resources/ESAPI.properties</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
                        <plugin>
                                <groupId>org.apache.maven.plugins</groupId>
                                <artifactId>maven-surefire-plugin</artifactId>

Modified: 
sling/trunk/bundles/scripting/jsp-taglib/src/main/resources/validation.properties
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp-taglib/src/main/resources/validation.properties?rev=1676268&r1=1676267&r2=1676268&view=diff
==============================================================================
--- 
sling/trunk/bundles/scripting/jsp-taglib/src/main/resources/validation.properties
 (original)
+++ 
sling/trunk/bundles/scripting/jsp-taglib/src/main/resources/validation.properties
 Mon Apr 27 13:58:19 2015
@@ -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.
+#
 # The ESAPI validator does many security checks on input, such as 
canonicalization
 # and whitelist validation. Note that all of these validation rules are 
applied *after*
 # canonicalization. Double-encoded characters (even with different encodings 
involved,

Modified: 
sling/trunk/bundles/scripting/jsp-taglib/src/test/java/org/apache/sling/scripting/jsp/taglib/MockPageContext.java
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/scripting/jsp-taglib/src/test/java/org/apache/sling/scripting/jsp/taglib/MockPageContext.java?rev=1676268&r1=1676267&r2=1676268&view=diff
==============================================================================
--- 
sling/trunk/bundles/scripting/jsp-taglib/src/test/java/org/apache/sling/scripting/jsp/taglib/MockPageContext.java
 (original)
+++ 
sling/trunk/bundles/scripting/jsp-taglib/src/test/java/org/apache/sling/scripting/jsp/taglib/MockPageContext.java
 Mon Apr 27 13:58:19 2015
@@ -1,4 +1,20 @@
-package org.apache.sling.scripting.jsp.taglib;
+/*
+ * 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.sling.scripting.jsp.taglib;
 
 import java.io.IOException;
 import java.util.Enumeration;


Reply via email to