jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tri...@apache.org
Subject svn commit: r1682096 - in /jackrabbit/commons/filevault/trunk: ./ parent/ vault-cli/ vault-core/src/test/java/org/apache/jackrabbit/vault/util/ vault-davex/src/main/resources/META-INF/services/ vault-diff/ vault-hook-example/src/main/content/META-INF/v...
Date Wed, 27 May 2015 18:41:13 GMT
Author: tripod
Date: Wed May 27 18:41:13 2015
New Revision: 1682096

URL: http://svn.apache.org/r1682096
Log:
JCRVLT-93 Install apache-rat-plugin for license header checks

Modified:
    jackrabbit/commons/filevault/trunk/parent/pom.xml
    jackrabbit/commons/filevault/trunk/pom.xml
    jackrabbit/commons/filevault/trunk/vault-cli/pom.xml
    jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/util/RCPTest.java
    jackrabbit/commons/filevault/trunk/vault-davex/src/main/resources/META-INF/services/org.apache.jackrabbit.vault.fs.api.RepositoryFactory
    jackrabbit/commons/filevault/trunk/vault-diff/pom.xml
    jackrabbit/commons/filevault/trunk/vault-hook-example/src/main/content/META-INF/vault/nodetypes.cnd
    jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test/src/main/content/META-INF/vault/nodetypes.cnd
    jackrabbit/commons/filevault/trunk/vault-rcp/pom.xml
    jackrabbit/commons/filevault/trunk/vault-rcp/readme.md
    jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/list_tasks.sh
    jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/send_cmd.sh

Modified: jackrabbit/commons/filevault/trunk/parent/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/parent/pom.xml?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/parent/pom.xml (original)
+++ jackrabbit/commons/filevault/trunk/parent/pom.xml Wed May 27 18:41:13 2015
@@ -168,6 +168,23 @@
                     <version>2.4.2</version>
                 </plugin>
                 <!-- ======================================================================
-->
+                <!-- R A T   P L U G I N                                             
      -->
+                <!-- ======================================================================
-->
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.11</version>
+                    <configuration>
+                        <excludes>
+                            <exclude>release.properties</exclude>
+                            <exclude>.git/**</exclude>
+                            <exclude>.idea/**</exclude>
+                            <exclude>.gitignore</exclude>
+                            <exclude>derby.log</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
+                <!-- ======================================================================
-->
                 <!-- S I T E    P L U G I N                                          
      -->
                 <!-- ======================================================================
-->
                 <plugin>
@@ -339,6 +356,31 @@
     <!-- P R O F I L E S                                                        -->
     <!-- ====================================================================== -->
     <profiles>
+        <profile>
+            <!-- ======================================================================
-->
+            <!-- R A T   P L U G I N                                                 
  -->
+            <!-- ======================================================================
-->
+            <id>rat-check</id>
+            <activation>
+                <activeByDefault>true</activeByDefault>
+            </activation>
+            <build>
+                <plugins>
+                    <plugin>
+                        <groupId>org.apache.rat</groupId>
+                        <artifactId>apache-rat-plugin</artifactId>
+                        <executions>
+                            <execution>
+                                <phase>verify</phase>
+                                <goals>
+                                    <goal>check</goal>
+                                </goals>
+                            </execution>
+                        </executions>
+                    </plugin>
+                </plugins>
+            </build>
+        </profile>
     </profiles>
 
 </project>

Modified: jackrabbit/commons/filevault/trunk/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/pom.xml?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/pom.xml (original)
+++ jackrabbit/commons/filevault/trunk/pom.xml Wed May 27 18:41:13 2015
@@ -61,10 +61,13 @@
     </modules>
 
     <!-- ====================================================================== -->
-    <!-- J A V A D O C   P L U G I N                                            -->
+    <!-- B U I L D                                                              -->
     <!-- ====================================================================== -->
     <build>
         <plugins>
+            <!-- ======================================================================
-->
+            <!-- J A V A D O C   P L U G I N                                         
  -->
+            <!-- ======================================================================
-->
             <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-javadoc-plugin</artifactId>

Modified: jackrabbit/commons/filevault/trunk/vault-cli/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-cli/pom.xml?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-cli/pom.xml (original)
+++ jackrabbit/commons/filevault/trunk/vault-cli/pom.xml Wed May 27 18:41:13 2015
@@ -107,6 +107,17 @@
                     <skip>true</skip>
                 </configuration>
             </plugin>
+            <!-- exclude appassembler resources from rat-check -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/main/appassembler/unix-template</exclude>
+                        <exclude>src/main/appassembler/windows-template</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Modified: jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/util/RCPTest.java
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/util/RCPTest.java?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/util/RCPTest.java
(original)
+++ jackrabbit/commons/filevault/trunk/vault-core/src/test/java/org/apache/jackrabbit/vault/util/RCPTest.java
Wed May 27 18:41:13 2015
@@ -1,21 +1,18 @@
-/**
- * **********************************************************************
- * <p/>
- * ADOBE CONFIDENTIAL
- * ___________________
- * <p/>
- * Copyright ${today.year} Adobe Systems Incorporated
- * All Rights Reserved.
- * <p/>
- * NOTICE:  All information contained herein is, and remains
- * the property of Adobe Systems Incorporated and its suppliers,
- * if any.  The intellectual and technical concepts contained
- * herein are proprietary to Adobe Systems Incorporated and its
- * suppliers and are protected by trade secret or copyright law.
- * Dissemination of this information or reproduction of this material
- * is strictly forbidden unless prior written permission is obtained
- * from Adobe Systems Incorporated.
- * ************************************************************************
+/*
+ * 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.jackrabbit.vault.util;
 

Modified: jackrabbit/commons/filevault/trunk/vault-davex/src/main/resources/META-INF/services/org.apache.jackrabbit.vault.fs.api.RepositoryFactory
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-davex/src/main/resources/META-INF/services/org.apache.jackrabbit.vault.fs.api.RepositoryFactory?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-davex/src/main/resources/META-INF/services/org.apache.jackrabbit.vault.fs.api.RepositoryFactory
(original)
+++ jackrabbit/commons/filevault/trunk/vault-davex/src/main/resources/META-INF/services/org.apache.jackrabbit.vault.fs.api.RepositoryFactory
Wed May 27 18:41:13 2015
@@ -1,4 +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.
+#
+
+#
 # registers the DAV Ex Repository Factory
 #
 org.apache.jackrabbit.vault.davex.DAVExRepositoryFactory
\ No newline at end of file

Modified: jackrabbit/commons/filevault/trunk/vault-diff/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-diff/pom.xml?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-diff/pom.xml (original)
+++ jackrabbit/commons/filevault/trunk/vault-diff/pom.xml Wed May 27 18:41:13 2015
@@ -114,6 +114,16 @@
                     <scmCommentPrefix>#4208 - [maven-release] (RTC ok) :</scmCommentPrefix>
                 </configuration>
             </plugin>
+            <!-- exclude test resources from rat-check -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/test/resources/**</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Modified: jackrabbit/commons/filevault/trunk/vault-hook-example/src/main/content/META-INF/vault/nodetypes.cnd
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-hook-example/src/main/content/META-INF/vault/nodetypes.cnd?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-hook-example/src/main/content/META-INF/vault/nodetypes.cnd
(original)
+++ jackrabbit/commons/filevault/trunk/vault-hook-example/src/main/content/META-INF/vault/nodetypes.cnd
Wed May 27 18:41:13 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.
+#
 <'rep'='internal'>
 <'nt'='http://www.jcp.org/jcr/nt/1.0'>
 

Modified: jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test/src/main/content/META-INF/vault/nodetypes.cnd
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test/src/main/content/META-INF/vault/nodetypes.cnd?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test/src/main/content/META-INF/vault/nodetypes.cnd
(original)
+++ jackrabbit/commons/filevault/trunk/vault-hook-externalclass-test/src/main/content/META-INF/vault/nodetypes.cnd
Wed May 27 18:41:13 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.
+#
 <'rep'='internal'>
 <'nt'='http://www.jcp.org/jcr/nt/1.0'>
 

Modified: jackrabbit/commons/filevault/trunk/vault-rcp/pom.xml
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-rcp/pom.xml?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-rcp/pom.xml (original)
+++ jackrabbit/commons/filevault/trunk/vault-rcp/pom.xml Wed May 27 18:41:13 2015
@@ -80,6 +80,16 @@
                     </instructions>
                 </configuration>
             </plugin>
+            <!-- exclude test resources from rat-check -->
+            <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <configuration>
+                    <excludes>
+                        <exclude>src/test/resources/*.json</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
         </plugins>
     </build>
 

Modified: jackrabbit/commons/filevault/trunk/vault-rcp/readme.md
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-rcp/readme.md?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-rcp/readme.md (original)
+++ jackrabbit/commons/filevault/trunk/vault-rcp/readme.md Wed May 27 18:41:13 2015
@@ -1 +1,17 @@
+<!--
+   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.
+  -->
 Please read [Vault Remote Copy](../vault-doc/src/site/markdown/rcp.md) for more details.
\ No newline at end of file

Modified: jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/list_tasks.sh
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/list_tasks.sh?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/list_tasks.sh (original)
+++ jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/list_tasks.sh Wed May
27 18:41:13 2015
@@ -1,4 +1,20 @@
 #!/bin/sh
+#
+#  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.
+#
 curl -u admin:admin http://localhost:4502/libs/granite/packaging/rcp
 echo ""
 

Modified: jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/send_cmd.sh
URL: http://svn.apache.org/viewvc/jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/send_cmd.sh?rev=1682096&r1=1682095&r2=1682096&view=diff
==============================================================================
--- jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/send_cmd.sh (original)
+++ jackrabbit/commons/filevault/trunk/vault-rcp/src/test/resources/send_cmd.sh Wed May 27
18:41:13 2015
@@ -1,4 +1,20 @@
 #!/bin/sh
+#
+#  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.
+#
 FILE=$1
 if [ "$FILE" == "" ]; then
     echo "usage: $0 payload"



Mime
View raw message