From b086fe34662bd34c6b65f172a78af1269adf9ca0 Mon Sep 17 00:00:00 2001 From: ltheussl Date: Tue, 7 Feb 2006 22:22:42 +0000 Subject: [PATCH] PR: MPCHECKSTYLE-9 maven.checkstyle.header.file now defaults to maven.license.licenseFile git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@375749 13f79535-47bb-0310-9956-ffa450edef68 --- checkstyle/plugin.properties | 2 +- checkstyle/xdocs/changes.xml | 1 + checkstyle/xdocs/properties.xml | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/checkstyle/plugin.properties b/checkstyle/plugin.properties index 6f69e3f1..16289745 100644 --- a/checkstyle/plugin.properties +++ b/checkstyle/plugin.properties @@ -26,7 +26,7 @@ maven.checkstyle.excludes = maven.checkstyle.fail.on.violation = false maven.checkstyle.cache.file = ${maven.checkstyle.dir}/checkstyle-cachefile maven.checkstyle.format = sun -maven.checkstyle.header.file = ${basedir}/LICENSE.txt +maven.checkstyle.header.file = ${maven.license.licenseFile} maven.checkstyle.check.tests=true # If useFile is false then the checkstyle task will display violations diff --git a/checkstyle/xdocs/changes.xml b/checkstyle/xdocs/changes.xml index 3b8ecb03..d049cf8b 100644 --- a/checkstyle/xdocs/changes.xml +++ b/checkstyle/xdocs/changes.xml @@ -25,6 +25,7 @@ + maven.checkstyle.header.file now defaults to ${maven.license.licenseFile}. ClassCastException when moving from 2.5 to 3.0. Xalan is used for ant's style task. diff --git a/checkstyle/xdocs/properties.xml b/checkstyle/xdocs/properties.xml index a6eadf12..ccd6045c 100644 --- a/checkstyle/xdocs/properties.xml +++ b/checkstyle/xdocs/properties.xml @@ -103,7 +103,7 @@ Specifies the location of the License file (a.k.a the header file) that is used by Checkstyle to verify that source code has the correct copyright. Default value is - ${basedir}/LICENSE.txt + ${maven.license.licenseFile}.