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/27 15:30:44 UTC

svn commit: r1676259 - in /sling/trunk/bundles/jcr/contentloader: pom.xml src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java src/test/resources/reader/datefallbacksample.xml src/test/resources/reader/filesample.xml

Author: cziegeler
Date: Mon Apr 27 13:30:44 2015
New Revision: 1676259

URL: http://svn.apache.org/r1676259
Log:
Add missing licence header and excludes for rat

Modified:
    sling/trunk/bundles/jcr/contentloader/pom.xml
    sling/trunk/bundles/jcr/contentloader/src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java
    sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/datefallbacksample.xml
    sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/filesample.xml

Modified: sling/trunk/bundles/jcr/contentloader/pom.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/pom.xml?rev=1676259&r1=1676258&r2=1676259&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/pom.xml (original)
+++ sling/trunk/bundles/jcr/contentloader/pom.xml Mon Apr 27 13:30:44 2015
@@ -69,6 +69,15 @@
           </instructions>
         </configuration>
       </plugin>
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/test/resources/reader/testfile.txt</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
     </plugins>
   </build>
 

Modified: sling/trunk/bundles/jcr/contentloader/src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java?rev=1676259&r1=1676258&r2=1676259&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java (original)
+++ sling/trunk/bundles/jcr/contentloader/src/test/java/org/apache/sling/jcr/contentloader/internal/DefaultContentCreatorTest.java Mon Apr 27 13:30:44 2015
@@ -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.
+ */
 package org.apache.sling.jcr.contentloader.internal;
 
 import java.util.HashMap;

Modified: sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/datefallbacksample.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/datefallbacksample.xml?rev=1676259&r1=1676258&r2=1676259&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/datefallbacksample.xml (original)
+++ sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/datefallbacksample.xml Mon Apr 27 13:30:44 2015
@@ -1,3 +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.
+-->
 <node xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
     <name>nodeName</name>
     <primaryNodeType>type</primaryNodeType>

Modified: sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/filesample.xml
URL: http://svn.apache.org/viewvc/sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/filesample.xml?rev=1676259&r1=1676258&r2=1676259&view=diff
==============================================================================
--- sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/filesample.xml (original)
+++ sling/trunk/bundles/jcr/contentloader/src/test/resources/reader/filesample.xml Mon Apr 27 13:30:44 2015
@@ -1,3 +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.
+-->
 <node xmlns:nt="http://www.jcp.org/jcr/nt/1.0">
     <name>nodeName</name>
     <primaryNodeType>type</primaryNodeType>