Hello

I have some problems about the maven checkstyle plugin.
I am using maven-checkstyle-plugin2.1. I have issued maven checkstyle command at my 
project home directory. First I got a warning like this.

__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

checkstyle:init:

checkstyle:license:
    [echo]
            =================================================================
            =                             W A R N I N G                     =
            =================================================================
            =  Your project doesn't contain a header file specified as:     =
            =  D:\Rep\myProject\LICENSE.txt
            =  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.             =
            =================================================================

BUILD SUCCESSFUL 

After that I have created an empty LICENSE.txt file and issued the same command again. 
This time I got an error not warning. It is shown below.
__  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0-rc1-SNAPSHOT

checkstyle:init:

checkstyle:license:

checkstyle:report:
    [echo] Using C:\Documents and Settings\myuser\.maven\plugins\maven-checks
tyle-plugin-2.1\plugin-resources/sun_checks.xml for checkstyle ...

BUILD FAILED
File...... file:/C:/Documents and Settings/myuser/.maven/plugins/maven-checks
tyle-plugin-2.1/
Element... ant:checkstyle
Line...... 127
Column.... 65
antlr/TokenStreamException

Am I doing something wrong?
I will be very pleased if you help me.
Best Regards,

        Serkan Güneş
        Software Specialist
        
        iNNOVA BiLİŞİM ÇÖZÜMLERİ A.Ş.
        İTÜ Ayazağa Kampüsü, ARI 1 Teknokent Binası
        34469   Maslak Istanbul-Turkey
        T: +90 (212) 286 44 10
        F: +90 (212) 286 44 02
        
        ODTÜ İkizleri Ar-Ge Binası
        06531 ODTÜ Teknokent Ankara-Turkey
        T: +90 (312) 210 16 86
        F: +90 (312) 210 16 96
        
        [EMAIL PROTECTED]
        www.innova.com.tr


--------------------------------------------------------------------------------

GIZLILIK NOTU
Bu e-posta mesaji gizli, hassas bilgi ve/ya da ekler icerebilir. Bu mesaj, mesajin 
alici kisminda belirtilen kullanici/kullanicilara gonderilmistir. Eger mesaji 
yanlislikla almissaniz lutfen gondereni acilen bilgilendiriniz, mesaji ve tum 
kopyalarini siliniz.
Bu mesaj bilinen tüm viruslere karsi Symantec Antivirus ile taranmistir.

 
CONFIDENTIALITY NOTICE
This email may contain confidential information and/or attachments. This email is 
intended for the use of the addressee only. If you receive this email by mistake, 
please advise the sender immediately and delete the email and any copies of it.
This e-mail has been scanned by Symantec Antivirus for all known viruses. 

Reply via email to