Repository: cayenne
Updated Branches:
  refs/heads/master 3ac0046b4 -> c110454f1


fix rat plugin config, fix rat violations


Project: http://git-wip-us.apache.org/repos/asf/cayenne/repo
Commit: http://git-wip-us.apache.org/repos/asf/cayenne/commit/c110454f
Tree: http://git-wip-us.apache.org/repos/asf/cayenne/tree/c110454f
Diff: http://git-wip-us.apache.org/repos/asf/cayenne/diff/c110454f

Branch: refs/heads/master
Commit: c110454f1445a46260a1da2a2bdae633faf56c75
Parents: 3ac0046
Author: kolonitsky <alex.kolonit...@gmail.com>
Authored: Tue Feb 17 16:32:13 2015 +0300
Committer: kolonitsky <alex.kolonit...@gmail.com>
Committed: Tue Feb 17 16:32:13 2015 +0300

----------------------------------------------------------------------
 .../cayenne/tools/dbimport/DbImportAction.java  | 18 ++++++++++++
 pom.xml                                         | 31 +++++++++++++++-----
 2 files changed, 41 insertions(+), 8 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cayenne/blob/c110454f/cayenne-tools/src/main/java/org/apache/cayenne/tools/dbimport/DbImportAction.java
----------------------------------------------------------------------
diff --git 
a/cayenne-tools/src/main/java/org/apache/cayenne/tools/dbimport/DbImportAction.java
 
b/cayenne-tools/src/main/java/org/apache/cayenne/tools/dbimport/DbImportAction.java
index c795e34..ea4c459 100644
--- 
a/cayenne-tools/src/main/java/org/apache/cayenne/tools/dbimport/DbImportAction.java
+++ 
b/cayenne-tools/src/main/java/org/apache/cayenne/tools/dbimport/DbImportAction.java
@@ -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.cayenne.tools.dbimport;
 
 import org.apache.cayenne.access.DbLoader;

http://git-wip-us.apache.org/repos/asf/cayenne/blob/c110454f/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index d6cdbdd..f63f1df 100644
--- a/pom.xml
+++ b/pom.xml
@@ -923,19 +923,34 @@
                                </configuration>
                        </plugin>
                        <plugin>
+                <!-- TOOD move to release plugin -->
                                <groupId>org.apache.rat</groupId>
                                <artifactId>apache-rat-plugin</artifactId>
                                <configuration>
                                        <excludes>
                                                <exclude>**/target</exclude>
-                                               
<exclude>**/MANIFEST.MF</exclude>
-                                               <exclude>**/*.plist</exclude>
-                                               <exclude>**/*.graffle</exclude>
-                                               <exclude>**/.*</exclude>
-                                               <exclude>**/.*/**</exclude>
-                                               <exclude>**/*.map.xml</exclude>
-                                               <exclude>**/*.css</exclude>
-                                               
<exclude>**/*.properties</exclude>
+                        <exclude>**/.*</exclude>
+                        <exclude>**/.*/**</exclude>
+
+                        <exclude>**/cayenne-*.xml</exclude>
+                        <exclude>**/cayenne.xml</exclude>
+                        <exclude>**/*.map.xml</exclude>
+                        <exclude>**/_*.java</exclude>
+                        <exclude>**/*.html</exclude>
+                        <exclude>**/*.css</exclude>
+                        <exclude>**/*.driver.xml</exclude>
+                        <exclude>**/testdo/**</exclude>
+                        <exclude>**/test/**/*.sql</exclude>
+
+                        <exclude>**/test/**/ks1.jceks</exclude>
+                        <exclude>**/test/**/plain.txt</exclude>
+
+                        <exclude>**/DiagramLayout</exclude>
+                        <exclude>**/*.plist</exclude>
+                        <exclude>**/*.eomodeld</exclude>
+                        <exclude>**/*.fspec</exclude>
+
+                        <exclude>derby.log</exclude>
                                        </excludes>
                                </configuration>
                        </plugin>

Reply via email to