maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dennis Lundberg (JIRA)" <>
Subject [jira] Commented: (MCHECKSTYLE-54) checkstyle:check does not see provided scope dependencies
Date Sat, 03 Mar 2007 22:36:00 GMT


Dennis Lundberg commented on MCHECKSTYLE-54:

Do you have includeTestSourceDirectory set to true in your plugin configuration?

> checkstyle:check does not see provided scope dependencies
> ---------------------------------------------------------
>                 Key: MCHECKSTYLE-54
>                 URL:
>             Project: Maven 2.x Checkstyle Plugin
>          Issue Type: Bug
>    Affects Versions: 2.1
>            Reporter: Stephen Duncan Jr
>            Priority: Critical
> Running checkstyle:check against a project that uses Exceptions from dependencies that
are provided scope causes checktyle errors such as the following: 
> <file name="/share/duncans/workspace/eclipse/cdcie-webapp-feedreader/src/main/java/mil/jfcom/cie/portal/feedreader/converter/">
> <error line="0" severity="error" message="Got an exception - java.lang.RuntimeException:
Unable to get class information for ValidationException." source="com.puppyc
> These errors go away when the scope is changed to compile.  This does not happen for
checkstyle:checkstyle; the report correct indicates no checkstyle errors.  This is preventing
us from using the checkstyle plugin to enforce checkstyle rules.

This message is automatically generated by JIRA.
If you think it was sent incorrectly contact one of the administrators:
For more information on JIRA, see:


View raw message