You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by ro...@apache.org on 2017/10/18 23:26:51 UTC

[sling-org-apache-sling-scripting-console] 16/23: Add missing headers and excludes for rat

This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-scripting-console.git

commit 358a9188e229dc9235328f4fc2b7e178905fa49f
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Tue Apr 28 07:54:23 2015 +0000

    Add missing headers and excludes for rat
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1676425 13f79535-47bb-0310-9956-ffa450edef68
---
 pom.xml                                      | 13 +++++++++++--
 src/main/resources/res/ui/script-console.css | 16 ++++++++++++++++
 src/main/resources/res/ui/script-console.js  | 16 ++++++++++++++++
 3 files changed, 43 insertions(+), 2 deletions(-)

diff --git a/pom.xml b/pom.xml
index 1ff276e..3f285fa 100644
--- a/pom.xml
+++ b/pom.xml
@@ -56,9 +56,18 @@
                 <groupId>org.apache.felix</groupId>
                 <artifactId>maven-bundle-plugin</artifactId>
                 <extensions>true</extensions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
                 <configuration>
-                    <instructions>
-                    </instructions>
+                    <excludes>
+                        <exclude>src/main/resources/res/ui/codemirror/**</exclude>
+                        <exclude>src/main/resources/res/ui/codemirror/lib/util/runmode.js</exclude>
+                        <exclude>src/main/resources/templates/script-console.html</exclude>
+                        <exclude>src/test/resources/test.groovy</exclude>
+                        <exclude>src/test/resources/test.js</exclude>
+                    </excludes>
                 </configuration>
             </plugin>
         </plugins>
diff --git a/src/main/resources/res/ui/script-console.css b/src/main/resources/res/ui/script-console.css
index b007df8..3805c19 100644
--- a/src/main/resources/res/ui/script-console.css
+++ b/src/main/resources/res/ui/script-console.css
@@ -1,3 +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.
+ */
 .CodeMirror {
     /*border-top: 1px solid black;*/
     border-bottom: 1px solid black;
diff --git a/src/main/resources/res/ui/script-console.js b/src/main/resources/res/ui/script-console.js
index 45883ad..3e40a4a 100644
--- a/src/main/resources/res/ui/script-console.js
+++ b/src/main/resources/res/ui/script-console.js
@@ -1,3 +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.
+ */
 //Codemirror editor
 var inputEditor
 var outputEditor

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <co...@sling.apache.org>.