OPENJPA-1015. Moving checkstyle config file to openjpa-project.

git-svn-id: https://svn.apache.org/repos/asf/openjpa/trunk@761799 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Michael Dick 2009-04-03 21:15:01 +00:00
parent bb2c50ee43
commit b6f8f0f4ec
2 changed files with 3 additions and 2 deletions

View File

@ -39,6 +39,7 @@
<properties> <properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<openjpa.version>${pom.version}</openjpa.version> <openjpa.version>${pom.version}</openjpa.version>
<checkstyle.config.location>../openjpa-project/checkstyle.xml</checkstyle.config.location>
</properties> </properties>
<!-- <!--
@ -675,7 +676,7 @@
<goal>checkstyle</goal> <goal>checkstyle</goal>
</goals> </goals>
<configuration> <configuration>
<configLocation>checkstyle.xml</configLocation> <configLocation>${checkstyle.config.location}</configLocation>
<failsOnError>true</failsOnError> <failsOnError>true</failsOnError>
<consoleOutput>true</consoleOutput> <consoleOutput>true</consoleOutput>
</configuration> </configuration>
@ -715,7 +716,7 @@
<groupId>org.apache.maven.plugins</groupId> <groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId> <artifactId>maven-checkstyle-plugin</artifactId>
<configuration> <configuration>
<configLocation>checkstyle.xml</configLocation> <configLocation>${checkstyle.config.location}</configLocation>
</configuration> </configuration>
</plugin> </plugin>
</plugins> </plugins>