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:05:12 UTC
svn commit: r1676429 - in /sling/trunk/contrib/scripting/jst: pom.xml
src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java
src/main/resources/META-INF/services/javax.script.ScriptEngineFactory
Author: cziegeler
Date: Tue Apr 28 08:05:11 2015
New Revision: 1676429
URL: http://svn.apache.org/r1676429
Log:
Add missing licence header and rat excludes
Modified:
sling/trunk/contrib/scripting/jst/pom.xml
sling/trunk/contrib/scripting/jst/src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java
sling/trunk/contrib/scripting/jst/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory
Modified: sling/trunk/contrib/scripting/jst/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/jst/pom.xml?rev=1676429&r1=1676428&r2=1676429&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/jst/pom.xml (original)
+++ sling/trunk/contrib/scripting/jst/pom.xml Tue Apr 28 08:05:11 2015
@@ -88,6 +88,20 @@
</instructions>
</configuration>
</plugin>
+ <plugin>
+ <groupId>org.apache.rat</groupId>
+ <artifactId>apache-rat-plugin</artifactId>
+ <configuration>
+ <excludes>
+ <exclude>src/test/resources/htmlcode/htmlcode1.expected.html</exclude>
+ <exclude>src/test/resources/htmlcode/htmlcode1.input.jst</exclude>
+ <exclude>src/test/resources/jscode/jscode1.expected.js</exclude>
+ <exclude>src/test/resources/jscode/jscode1.input.jst</exclude>
+ <exclude>src/test/resources/jscode/jscode2.expected.js</exclude>
+ <exclude>src/test/resources/jscode/jscode2.input.jst</exclude>
+ </excludes>
+ </configuration>
+ </plugin>
</plugins>
</build>
<reporting>
Modified: sling/trunk/contrib/scripting/jst/src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/jst/src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java?rev=1676429&r1=1676428&r2=1676429&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/jst/src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java (original)
+++ sling/trunk/contrib/scripting/jst/src/main/java/org/apache/sling/scripting/jst/HtmlContentRenderer.java Tue Apr 28 08:05:11 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.
+ */
package org.apache.sling.scripting.jst;
import java.io.PrintWriter;
Modified: sling/trunk/contrib/scripting/jst/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory
URL: http://svn.apache.org/viewvc/sling/trunk/contrib/scripting/jst/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory?rev=1676429&r1=1676428&r2=1676429&view=diff
==============================================================================
--- sling/trunk/contrib/scripting/jst/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory (original)
+++ sling/trunk/contrib/scripting/jst/src/main/resources/META-INF/services/javax.script.ScriptEngineFactory Tue Apr 28 08:05:11 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.jst.JstScriptEngineFactory
\ No newline at end of file