From 12becbbd4dc6185266c48ba6f8a61da29f2fca4e Mon Sep 17 00:00:00 2001 From: evenisse Date: Fri, 23 Apr 2004 15:48:47 +0000 Subject: [PATCH] MPCHECKSTYLE-7. Allow Checkstyle plugin to access checks file from a URL. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@115033 13f79535-47bb-0310-9956-ffa450edef68 --- checkstyle/plugin.jelly | 26 +++++++++++++++++--------- checkstyle/xdocs/changes.xml | 1 + checkstyle/xdocs/properties.xml | 10 ++++++++++ 3 files changed, 28 insertions(+), 9 deletions(-) diff --git a/checkstyle/plugin.jelly b/checkstyle/plugin.jelly index face0104..9f258895 100644 --- a/checkstyle/plugin.jelly +++ b/checkstyle/plugin.jelly @@ -46,20 +46,28 @@ - + - + + + + + - + + @@ -104,7 +112,7 @@ = ${maven.checkstyle.header.file} = Checkstyle needs it to check the existence of the License in = = your source files. If it can't find this file, it throws an = - = error. = + = error. = = A temporary solution is to create an empty LICENSE.txt file. = = Though, we recommend that you edit this License. = ================================================================= @@ -129,7 +137,7 @@ Using ${checkstyleProperties} for checkstyle ... + Allow Checkstyle plugin to access checks file from a URL. Upgraded to Checkstyle 3.4. diff --git a/checkstyle/xdocs/properties.xml b/checkstyle/xdocs/properties.xml index 45a38cd1..60100e3c 100644 --- a/checkstyle/xdocs/properties.xml +++ b/checkstyle/xdocs/properties.xml @@ -70,6 +70,16 @@ formats (see maven.checkstyle.format). + + maven.checkstyle.propertiesURL + Yes + + Specifies the URL of the checkstyle properties that will be + used to check the source. Note that you will need to use this + property only if you don't want to use any of the predefined + formats (see maven.checkstyle.format). + + maven.checkstyle.header.file Yes