You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2015/04/28 10:29:56 UTC

svn commit: r1676439 - in /sling/trunk/contrib/scripting/scala/script: pom.xml src/main/resources/META-INF/services/javax.script.ScriptEngineFactory src/main/resources/OSGI-INF/serviceComponents.xml

Author: cziegeler
Date: Tue Apr 28 08:29:55 2015
New Revision: 1676439

URL: http://svn.apache.org/r1676439
Log:
Add missing licence headers and rat excludes

Modified:
    sling/trunk/contrib/scripting/scala/script/pom.xml
    sling/trunk/contrib/scripting/scala/script/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory
    sling/trunk/contrib/scripting/scala/script/src/main/resources/OSGI-INF/serviceComponents.xml

Modified: sling/trunk/contrib/scripting/scala/script/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/script/pom.xml?rev=1676439&r1=1676438&r2=1676439&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/script/pom.xml (original)
+++ sling/trunk/contrib/scripting/scala/script/pom.xml Tue Apr 28 08:29:55 2015
@@ -56,6 +56,16 @@
                     <scalaVersion>2.8.1</scalaVersion>
                 </configuration>
             </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>SCALA-LICENSE.txt</exclude>
+                        <exclude>src/main/resources/META-INF/SCALA-LICENSE.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
 
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>

Modified: sling/trunk/contrib/scripting/scala/script/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/script/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory?rev=1676439&r1=1676438&r2=1676439&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/script/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory (original)
+++ sling/trunk/contrib/scripting/scala/script/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory Tue Apr 28 08:29:55 2015
@@ -1 +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.sling.scripting.scala.ScalaScriptEngineFactory

Modified: sling/trunk/contrib/scripting/scala/script/src/main/resources/OSGI-INF/serviceComponents.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/scala/script/src/main/resources/OSGI-INF/serviceComponents.xml?rev=1676439&r1=1676438&r2=1676439&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/scala/script/src/main/resources/OSGI-INF/serviceComponents.xml (original)
+++ sling/trunk/contrib/scripting/scala/script/src/main/resources/OSGI-INF/serviceComponents.xml Tue Apr 28 08:29:55 2015
@@ -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.
+-->
 <components xmlns:scr="http://www.osgi.org/xmlns/scr/v1.0.0">
     <scr:component enabled="true" name="org.apache.sling.scripting.scala.ScalaScriptEngineFactory">
         <implementation class="org.apache.sling.scripting.scala.ScalaScriptEngineFactory"/>