You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@shiro.apache.org by ka...@apache.org on 2010/08/12 08:04:15 UTC

svn commit: r984647 - in /incubator/shiro/trunk: core/src/main/java/org/apache/shiro/authz/annotation/Logical.java core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java pom.xml

Author: kaosko
Date: Thu Aug 12 06:04:14 2010
New Revision: 984647

URL: http://svn.apache.org/viewvc?rev=984647&view=rev
Log:
Configure apache-rat and add missing ASF headers as needed

Modified:
    incubator/shiro/trunk/core/src/main/java/org/apache/shiro/authz/annotation/Logical.java
    incubator/shiro/trunk/core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java
    incubator/shiro/trunk/pom.xml

Modified: incubator/shiro/trunk/core/src/main/java/org/apache/shiro/authz/annotation/Logical.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/main/java/org/apache/shiro/authz/annotation/Logical.java?rev=984647&r1=984646&r2=984647&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/main/java/org/apache/shiro/authz/annotation/Logical.java (original)
+++ incubator/shiro/trunk/core/src/main/java/org/apache/shiro/authz/annotation/Logical.java Thu Aug 12 06:04:14 2010
@@ -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.shiro.authz.annotation;
 
 /**

Modified: incubator/shiro/trunk/core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java?rev=984647&r1=984646&r2=984647&view=diff
==============================================================================
--- incubator/shiro/trunk/core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java (original)
+++ incubator/shiro/trunk/core/src/test/java/org/apache/shiro/aop/AnnotationResolverTest.java Thu Aug 12 06:04:14 2010
@@ -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.shiro.aop;
 
 import static org.easymock.EasyMock.createMock;

Modified: incubator/shiro/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/shiro/trunk/pom.xml?rev=984647&r1=984646&r2=984647&view=diff
==============================================================================
--- incubator/shiro/trunk/pom.xml (original)
+++ incubator/shiro/trunk/pom.xml Thu Aug 12 06:04:14 2010
@@ -164,10 +164,28 @@
                     <artifactId>maven-site-plugin</artifactId>
                     <version>2.1.1</version>
                 </plugin>
+                <plugin>
+                    <groupId>org.apache.rat</groupId>
+                    <artifactId>apache-rat-plugin</artifactId>
+                    <version>0.7</version>
+                    <configuration>
+                    		<!-- note that this configuration needs to be maintain both in pluginManagement and reporting sections -->
+                        <excludes>
+                            <exclude>README-runtime-requirements.txt</exclude>
+                            <exclude>**/.externalToolBuilders/*</exclude>
+                            <!-- Apparently some test in samples/spring-client generates velocity log - would better to reconfigure to output to target/ -->
+                            <exclude>velocity.log</exclude>
+                        </excludes>
+                    </configuration>
+                </plugin>
             </plugins>    
         </pluginManagement>
         <plugins>
             <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+            </plugin>
+            <plugin>
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-compiler-plugin</artifactId>
                 <version>2.0.2</version>
@@ -559,6 +577,20 @@
                 </configuration>
             </plugin>
             <plugin>
+                <groupId>org.apache.rat</groupId>
+                <artifactId>apache-rat-plugin</artifactId>
+                <version>0.7</version>
+                <configuration>
+                		<!-- note that this configuration needs to be maintain both in pluginManagement and reporting sections -->
+                    <excludes>
+                        <exclude>README-runtime-requirements.txt</exclude>
+                        <exclude>**/.externalToolBuilders/*</exclude>
+                        <!-- Apparently some test in samples/spring-client generates velocity log - would better to reconfigure to output to target/ -->
+                        <exclude>velocity.log</exclude>
+                    </excludes>
+                </configuration>
+            </plugin>
+            <plugin>
                 <artifactId>maven-surefire-report-plugin</artifactId>
                 <version>2.5</version>
             </plugin>