You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by George Phimister <ge...@db.com> on 2003/02/19 20:21:21 UTC

Problem running checkstyle - CheckStyleTask cannot be found

Hi,

Could someone please help me with a problem I am having :

I am running : maven checkstyle

and am getting the output below :

checkstyle:generate-report:

[ERROR] BUILD FAILED
[ERROR] File...... /home/phimge/maven-1.0-beta-7/plugins/maven-checkstyle-plugin-1.1/plugin.jelly
[ERROR] Element... taskdef
[ERROR] Line...... 22
[ERROR] Column.... 66
[ERROR] taskdef class com.puppycrawl.tools.checkstyle.CheckStyleTask cannot be found
Total time:  12 seconds

I have the checkstyle jar downloaded from ibilio and it is in my maven repository but when I run the task it can't find the jar. I know I need to add it to the classpath but I can't figure out how to do it.

Thanks for any help,

------------------------------------------------
George Phimister

Global Markets Derivatives Technology
Deutsche Bank

Phone: +44 20 7545 8893
------------------------------------------------



--

This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and destroy this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.