From beae2e989199154cce87e222efd26447dc2a8f02 Mon Sep 17 00:00:00 2001 From: Niall Pemberton Date: Fri, 23 May 2008 06:14:37 +0000 Subject: [PATCH] COMMONSSITE-30 - fix the checkstyle configuration to work for multi-module and review/update plugin version numbers for the poms being changed. - pom's need to use ${basedir} for configuration files as the multi-module profile is run from commons-parent, so if not specified it can't find those files - the checkstyle configuration file needs to use ${checkstyle.header.file} for the headerFile property and element added to the plugin config in the pom.xml - fix m1 checkstyle config to reflect the above where appropriate (specify header file property) git-svn-id: https://svn.apache.org/repos/asf/commons/proper/math/branches/MATH_2_0@659441 13f79535-47bb-0310-9956-ffa450edef68 --- checkstyle.xml | 3 +-- pom.xml | 7 ++++--- project.properties | 1 + 3 files changed, 6 insertions(+), 5 deletions(-) diff --git a/checkstyle.xml b/checkstyle.xml index 4c39a7f94..db1e638ef 100644 --- a/checkstyle.xml +++ b/checkstyle.xml @@ -27,8 +27,7 @@ - - + diff --git a/pom.xml b/pom.xml index fa5f85cbf..a50780c4d 100644 --- a/pom.xml +++ b/pom.xml @@ -253,7 +253,7 @@ org.apache.maven.plugins maven-changes-plugin - 2.0-beta-2 + 2.0 ${basedir}/src/site/xdoc/changes.xml %URL%/%ISSUE% @@ -271,8 +271,9 @@ maven-checkstyle-plugin 2.1 - checkstyle.xml + ${basedir}/checkstyle.xml false + ${basedir}/license-header.txt @@ -290,7 +291,7 @@ org.codehaus.mojo clirr-maven-plugin - 2.1.1 + 2.2 info diff --git a/project.properties b/project.properties index 6c00c155b..772a6a08b 100644 --- a/project.properties +++ b/project.properties @@ -27,6 +27,7 @@ maven.repo.remote=http://repo1.maven.org/maven maven.changelog.factory=org.apache.maven.svnlib.SvnChangeLogFactory maven.checkstyle.properties=${basedir}/checkstyle.xml +maven.checkstyle.header.file=${basedir}/license-header.txt maven.xdoc.poweredby.image=maven-feather.png #If you wish to skip tests when doing builds, uncomment