openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mik...@apache.org
Subject svn commit: r761799 - in /openjpa/trunk: checkstyle.xml openjpa-project/checkstyle.xml pom.xml
Date Fri, 03 Apr 2009 21:15:01 GMT
Author: mikedd
Date: Fri Apr  3 21:15:01 2009
New Revision: 761799

URL: http://svn.apache.org/viewvc?rev=761799&view=rev
Log:
OPENJPA-1015. Moving checkstyle config file to openjpa-project.

Added:
    openjpa/trunk/openjpa-project/checkstyle.xml   (with props)
Removed:
    openjpa/trunk/checkstyle.xml
Modified:
    openjpa/trunk/pom.xml

Added: openjpa/trunk/openjpa-project/checkstyle.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-project/checkstyle.xml?rev=761799&view=auto
==============================================================================
--- openjpa/trunk/openjpa-project/checkstyle.xml (added)
+++ openjpa/trunk/openjpa-project/checkstyle.xml Fri Apr  3 21:15:01 2009
@@ -0,0 +1,34 @@
+<?xml version="1.0" ?>
+<!--
+ 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.   
+-->
+<!DOCTYPE module PUBLIC
+  "-//Puppy Crawl//DTD Check Configuration 1.2//EN"
+  "http://www.puppycrawl.com/dtds/configuration_1_2.dtd">
+
+<!-- This is a temporary file.
+     As we get closer to enforcing the OpenJPA style to be like the 
+     default Sun Microsystems Definition default file, then
+     we can remove this file and remove the reference from the
+     pom.xml -->
+
+<module name="Checker">
+    <module name="TreeWalker">
+        <module name="LineLength"/>
+    </module>
+</module>

Propchange: openjpa/trunk/openjpa-project/checkstyle.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Modified: openjpa/trunk/pom.xml
URL: http://svn.apache.org/viewvc/openjpa/trunk/pom.xml?rev=761799&r1=761798&r2=761799&view=diff
==============================================================================
--- openjpa/trunk/pom.xml (original)
+++ openjpa/trunk/pom.xml Fri Apr  3 21:15:01 2009
@@ -39,6 +39,7 @@
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
         <openjpa.version>${pom.version}</openjpa.version>
+        <checkstyle.config.location>../openjpa-project/checkstyle.xml</checkstyle.config.location>
     </properties>
 
     <!--
@@ -675,7 +676,7 @@
                             <goal>checkstyle</goal>
                         </goals>
                         <configuration>
-                            <configLocation>checkstyle.xml</configLocation>
+                            <configLocation>${checkstyle.config.location}</configLocation>
                             <failsOnError>true</failsOnError>
                             <consoleOutput>true</consoleOutput>
                         </configuration>
@@ -715,7 +716,7 @@
                 <groupId>org.apache.maven.plugins</groupId>
                 <artifactId>maven-checkstyle-plugin</artifactId>
                 <configuration>
-                    <configLocation>checkstyle.xml</configLocation>
+                    <configLocation>${checkstyle.config.location}</configLocation>
                 </configuration>
             </plugin>
         </plugins>



Mime
View raw message