refined rat exclusions

git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@998388 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Hadrian Zbarcea 2010-09-18 01:34:26 +00:00
parent a368127517
commit 1b3d4f805a
5 changed files with 102 additions and 36 deletions

View File

@ -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. * Copyright (c) 2007, 2008 XStream Committers.
* All rights reserved. * All rights reserved.
@ -99,4 +116,4 @@ public class JettisonMappedXmlDriver implements HierarchicalStreamDriver {
} }
} }
} }

View File

@ -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. */ /* Pretty printing styles. Used with prettify.js. */
.str { color: #080; } .str { color: #080; }

View File

@ -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; package org.apache.activemq.web;
import org.apache.commons.logging.Log; import org.apache.commons.logging.Log;

View File

@ -157,15 +157,6 @@
</excludes> </excludes>
</configuration> </configuration>
</plugin> </plugin>
<plugin>
<groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId>
<configuration>
<excludes>
<exclude>**/resources/*.xsd</exclude>
</excludes>
</configuration>
</plugin>
<plugin> <plugin>
<groupId>org.jvnet.jaxb2.maven2</groupId> <groupId>org.jvnet.jaxb2.maven2</groupId>

76
pom.xml
View File

@ -1046,14 +1046,6 @@
<groupId>org.apache.rat</groupId> <groupId>org.apache.rat</groupId>
<artifactId>apache-rat-plugin</artifactId> <artifactId>apache-rat-plugin</artifactId>
<version>0.7</version> <version>0.7</version>
<configuration>
<excludeSubProjects>false</excludeSubProjects>
<excludes>
<!-- Eclipse files -->
<exclude>**/.*</exclude>
<exclude>**/eclipse-classes/**/*</exclude>
</excludes>
</configuration>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.eclipse.jetty</groupId> <groupId>org.eclipse.jetty</groupId>
@ -1134,7 +1126,7 @@
<groupId>org.apache.felix</groupId> <groupId>org.apache.felix</groupId>
<artifactId>maven-bundle-plugin</artifactId> <artifactId>maven-bundle-plugin</artifactId>
<extensions>true</extensions> <extensions>true</extensions>
<inherited>true</inherited> <inherited>true</inherited>
<configuration> <configuration>
<instructions> <instructions>
<Bundle-Name>${project.artifactId}</Bundle-Name> <Bundle-Name>${project.artifactId}</Bundle-Name>
@ -1151,7 +1143,7 @@
<_failok>${servicemix.osgi.failok}</_failok> <_failok>${servicemix.osgi.failok}</_failok>
</instructions> </instructions>
</configuration> </configuration>
<executions> <executions>
<execution> <execution>
<id>cleanVersions</id> <id>cleanVersions</id>
<phase>generate-sources</phase> <phase>generate-sources</phase>
@ -1166,32 +1158,64 @@
</execution> </execution>
</executions> </executions>
</plugin> </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> </plugins>
</build> </build>
<reporting> <reporting>
<plugins> <plugins>
<!-- <!--
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jxr-plugin</artifactId> <artifactId>maven-jxr-plugin</artifactId>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-report-plugin</artifactId> <artifactId>maven-surefire-report-plugin</artifactId>
<version>${maven-surefire-plugin-version}</version> <version>${maven-surefire-plugin-version}</version>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-pmd-plugin</artifactId> <artifactId>maven-pmd-plugin</artifactId>
</plugin> </plugin>
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>
<artifactId>cobertura-maven-plugin</artifactId> <artifactId>cobertura-maven-plugin</artifactId>
</plugin> </plugin>
--> -->
<plugin> <plugin>
<groupId>org.codehaus.mojo</groupId> <groupId>org.codehaus.mojo</groupId>