From 6422d89a10f5984a6a800aff19d34acd5e0b4a2b Mon Sep 17 00:00:00 2001 From: vmassol Date: Wed, 12 Nov 2003 19:09:07 +0000 Subject: [PATCH] Prevent projects who do not use the head check from failing if they don't provide a license file. git-svn-id: https://svn.apache.org/repos/asf/maven/maven-1/plugins/trunk@114315 13f79535-47bb-0310-9956-ffa450edef68 --- checkstyle/plugin.jelly | 188 +++++++++++++++++------------------ checkstyle/xdocs/changes.xml | 4 + 2 files changed, 94 insertions(+), 98 deletions(-) diff --git a/checkstyle/plugin.jelly b/checkstyle/plugin.jelly index 4bcab851..102fe3de 100644 --- a/checkstyle/plugin.jelly +++ b/checkstyle/plugin.jelly @@ -65,45 +65,6 @@ - - - - - - - - - - - ================================================================= - = W A R N I N G = - ================================================================= - = Your project doesn't contain a header file specified as: = - = ${header} - = 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. = - = A temporary solution is to create an empty LICENSE.txt file. = - = Though, we recommend that you edit this License. = - ================================================================= - - - - - - - - - - - + prereqs="checkstyle:init"> - + - - - - - Using ${checkstyleProperties} for checkstyle ... - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + - - + + + ================================================================= + = W A R N I N G = + ================================================================= + = Your project doesn't contain a header file specified as: = + = ${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. = + = A temporary solution is to create an empty LICENSE.txt file. = + = Though, we recommend that you edit this License. = + ================================================================= + - + - - - - + + + + + + + + + + + Using ${checkstyleProperties} for checkstyle ... + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/checkstyle/xdocs/changes.xml b/checkstyle/xdocs/changes.xml index 83bfb250..5cdf7c1d 100644 --- a/checkstyle/xdocs/changes.xml +++ b/checkstyle/xdocs/changes.xml @@ -9,6 +9,10 @@ + + Prevent projects who do not use the head check from failing if they + don't provide a license file. + Upgraded to Checkstyle 3.2.