Author: rombert
Date: Thu Jun 25 18:53:07 2015
New Revision: 1687609

URL: http://svn.apache.org/r1687609
Log:
Fix rat checks for the Sling Explorer

Modified:
    sling/trunk/bundles/extensions/explorer/pom.xml
    
sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit/sling_redirect.esp

Modified: sling/trunk/bundles/extensions/explorer/pom.xml
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/explorer/pom.xml?rev=1687609&r1=1687608&r2=1687609&view=diff
==============================================================================
--- sling/trunk/bundles/extensions/explorer/pom.xml (original)
+++ sling/trunk/bundles/extensions/explorer/pom.xml Thu Jun 25 18:53:07 2015
@@ -57,6 +57,19 @@
                     </instructions>
                 </configuration>
             </plugin>
+          <plugin>
+              <groupId>org.apache.rat</groupId>
+              <artifactId>apache-rat-plugin</artifactId>
+              <configuration>
+                <excludes>
+                    
<exclude>src/main/resources/libs/sling/explorer/css/jquery-ui.css</exclude>
+                    
<exclude>src/main/resources/libs/sling/explorer/css/ui.theme.css</exclude>
+                    
<exclude>src/main/resources/libs/sling/explorer/js/jquery-1.4.2.min.js</exclude>
+                    
<exclude>src/main/resources/libs/sling/explorer/js/jquery-ui.min.js</exclude>
+                    
<exclude>src/main/resources/libs/sling/explorer/js/ui.datetimebox.js</exclude>
+                </excludes>
+              </configuration>
+            </plugin>
         </plugins>
     </build>
     <dependencies>

Modified: 
sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit/sling_redirect.esp
URL: 
http://svn.apache.org/viewvc/sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit/sling_redirect.esp?rev=1687609&r1=1687608&r2=1687609&view=diff
==============================================================================
--- 
sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit/sling_redirect.esp
 (original)
+++ 
sling/trunk/bundles/extensions/explorer/src/main/resources/libs/sling/servlet/default/explorer/edit/sling_redirect.esp
 Thu Jun 25 18:53:07 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.
+ */
+%>
 You are about to redirect to
 <% 
 var target = '!! sling:target property missing !!';
@@ -6,4 +24,4 @@ if ( currentNode.hasProperty('sling:targ
     target = currentNode.getProperty('sling:target'); 
 }
 %>
-<%= target %>
\ No newline at end of file
+<%= target %>


Reply via email to