I'm using Maven 1.1 on some Java 5 source. Checkstyle appeared to be having
problems with the generic syntax. I discovered that Checkstyle 4.0-beta4
have Java 5 support and so I want maven to use that. I wasn't sure how to
get maven to download the new version of checkstyle. After looking around 
the .maven directory, I noticed that 

.maven/cache/maven-checkstyle-plugin-2.5/project.xml 

had dependency information for version 3.4 of checkstyle. I changed these
versions to 4.0-beta4 and maven appeared to download the appropriate jars.
Unfortunately now I get the following error

 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.1-beta-1

build:start:

checkstyle:init:

checkstyle:report:
checkstyle:run:
    [echo] Using file:C:/Documents and 
Settings/Administrator/.maven/cache/maven-checkstyle-plugin-2.5/plugin-resources/sun_checks.xml
 for checkstyle ...

BUILD FAILED
File...... C:\Documents and 
Settings\Administrator\.maven\cache\maven-checkstyle-plugin-2.5\plugin.jelly
Element... ant:checkstyle
Line...... 144
Column.... 63
org/apache/commons/beanutils/ConvertUtilsBean
Total time   : 2 seconds
Finished at  : Wednesday, August 3, 2005 12:54:54 PM PDT


Here are my questions:

Did I do the proper thing to get maven to use a newer version of checkstyle?

Does anyone know what might be going wrong here?

Thanks,

Aaron

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to