You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by ha...@apache.org on 2010/09/18 03:34:27 UTC

svn commit: r998388 - in /activemq/trunk: ./ activemq-core/src/main/java/org/apache/activemq/util/ activemq-web-console/src/main/webapp/styles/ activemq-web/src/main/java/org/apache/activemq/web/ activemq-xmpp/

Author: hadrian
Date: Sat Sep 18 01:34:26 2010
New Revision: 998388

URL: http://svn.apache.org/viewvc?rev=998388&view=rev
Log:
refined rat exclusions

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JettisonMappedXmlDriver.java
    activemq/trunk/activemq-web-console/src/main/webapp/styles/prettify.css
    activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionListener.java
    activemq/trunk/activemq-xmpp/pom.xml
    activemq/trunk/pom.xml

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JettisonMappedXmlDriver.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JettisonMappedXmlDriver.java?rev=998388&r1=998387&r2=998388&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JettisonMappedXmlDriver.java (original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/util/JettisonMappedXmlDriver.java Sat Sep 18 01:34:26 2010
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
+
 /*
  * Copyright (c) 2007, 2008 XStream Committers.
  * All rights reserved.
@@ -99,4 +116,4 @@ public class JettisonMappedXmlDriver imp
         }
     }
 
-}
\ No newline at end of file
+}

Modified: activemq/trunk/activemq-web-console/src/main/webapp/styles/prettify.css
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web-console/src/main/webapp/styles/prettify.css?rev=998388&r1=998387&r2=998388&view=diff
==============================================================================
--- activemq/trunk/activemq-web-console/src/main/webapp/styles/prettify.css (original)
+++ activemq/trunk/activemq-web-console/src/main/webapp/styles/prettify.css Sat Sep 18 01:34:26 2010
@@ -1,3 +1,20 @@
+/**
+ * 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.
+ */
+
 /* Pretty printing styles. Used with prettify.js. */
 
 .str { color: #080; }

Modified: activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionListener.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionListener.java?rev=998388&r1=998387&r2=998388&view=diff
==============================================================================
--- activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionListener.java (original)
+++ activemq/trunk/activemq-web/src/main/java/org/apache/activemq/web/SessionListener.java Sat Sep 18 01:34:26 2010
@@ -1,3 +1,20 @@
+/**
+ * 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.activemq.web;
 
 import org.apache.commons.logging.Log;

Modified: activemq/trunk/activemq-xmpp/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-xmpp/pom.xml?rev=998388&r1=998387&r2=998388&view=diff
==============================================================================
--- activemq/trunk/activemq-xmpp/pom.xml (original)
+++ activemq/trunk/activemq-xmpp/pom.xml Sat Sep 18 01:34:26 2010
@@ -157,15 +157,6 @@
           </excludes>
         </configuration>
       </plugin>
-      <plugin>
-        <groupId>org.apache.rat</groupId>
-        <artifactId>apache-rat-plugin</artifactId>
-        <configuration>
-          <excludes>
-            <exclude>**/resources/*.xsd</exclude>
-          </excludes>
-        </configuration>
-      </plugin>
 
       <plugin>
         <groupId>org.jvnet.jaxb2.maven2</groupId>

Modified: activemq/trunk/pom.xml
URL: http://svn.apache.org/viewvc/activemq/trunk/pom.xml?rev=998388&r1=998387&r2=998388&view=diff
==============================================================================
--- activemq/trunk/pom.xml (original)
+++ activemq/trunk/pom.xml Sat Sep 18 01:34:26 2010
@@ -1046,14 +1046,6 @@
           <groupId>org.apache.rat</groupId>
           <artifactId>apache-rat-plugin</artifactId>
           <version>0.7</version>
-          <configuration>
-            <excludeSubProjects>false</excludeSubProjects>
-            <excludes>
-              <!-- Eclipse files -->
-              <exclude>**/.*</exclude>
-              <exclude>**/eclipse-classes/**/*</exclude>
-            </excludes>
-          </configuration>
         </plugin>
         <plugin>
           <groupId>org.eclipse.jetty</groupId>
@@ -1134,7 +1126,7 @@
         <groupId>org.apache.felix</groupId>
         <artifactId>maven-bundle-plugin</artifactId>
         <extensions>true</extensions>
-		<inherited>true</inherited>
+        <inherited>true</inherited>
         <configuration>
           <instructions>
             <Bundle-Name>${project.artifactId}</Bundle-Name>
@@ -1151,7 +1143,7 @@
             <_failok>${servicemix.osgi.failok}</_failok>
           </instructions>
         </configuration>
-		<executions>
+        <executions>
           <execution>
             <id>cleanVersions</id>
             <phase>generate-sources</phase>
@@ -1166,32 +1158,64 @@
           </execution>
         </executions>
       </plugin>
+
+      <plugin>
+        <groupId>org.apache.rat</groupId>
+        <artifactId>apache-rat-plugin</artifactId>
+        <configuration>
+          <excludeSubProjects>false</excludeSubProjects>
+          <excludes>
+            <exclude>**/*.bin</exclude>
+            <exclude>**/*.log</exclude>
+            <exclude>**/*README.txt</exclude>
+            <exclude>**/store/amq/help.txt</exclude>
+            <exclude>**/kahadb/**/*.data</exclude>
+            <!-- activemq-xmpp schemas -->
+            <exclude>**/resources/*.xsd</exclude>
+            <!-- web, web-console, web-demo files -->
+            <exclude>**/webapps/camel/js/dojo/dojo.js</exclude>
+            <exclude>**/webapp/js/dojo.js</exclude>
+            <exclude>**/webapp/js/jquery-*.js</exclude>
+            <exclude>**/webapp/js/prototype.js</exclude>
+            <exclude>**/web/behaviour.js</exclude>
+            <exclude>**/webapp/js/common.js</exclude>
+            <exclude>**/webapp/js/css.js</exclude>
+            <exclude>**/webapp/js/standardista-table-sorting.js</exclude>
+            <exclude>**/webapp/test/assets/*</exclude>
+            <!-- plotkit -->
+            <exclude>**/webapp/js/plotkit/**/*</exclude>
+            <!-- Eclipse files -->
+            <exclude>**/.*</exclude>
+            <exclude>**/eclipse-classes/**/*</exclude>
+          </excludes>
+        </configuration>
+      </plugin>
     </plugins>
   </build>
   <reporting>
     <plugins>
       <!--
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-jxr-plugin</artifactId>
-            </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-jxr-plugin</artifactId>
+      </plugin>
       <plugin>
         <groupId>org.apache.maven.plugins</groupId>
         <artifactId>maven-surefire-report-plugin</artifactId>
         <version>${maven-surefire-plugin-version}</version>
       </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-checkstyle-plugin</artifactId>
-            </plugin>
-            <plugin>
-              <groupId>org.apache.maven.plugins</groupId>
-              <artifactId>maven-pmd-plugin</artifactId>
-            </plugin>
-            <plugin>
-              <groupId>org.codehaus.mojo</groupId>
-              <artifactId>cobertura-maven-plugin</artifactId>
-            </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-checkstyle-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.apache.maven.plugins</groupId>
+        <artifactId>maven-pmd-plugin</artifactId>
+      </plugin>
+      <plugin>
+        <groupId>org.codehaus.mojo</groupId>
+        <artifactId>cobertura-maven-plugin</artifactId>
+      </plugin>
       -->
       <plugin>
         <groupId>org.codehaus.mojo</groupId>