I don't know exactly what causes this problem, but I suspect it is the old properties file format. I eliminated this problem by removing all checkstyle.properties files from subprojects, putting an xml-formatted checkstyle.xml file in the top level project directory and setting maven.checkstyle.properties=checkstyle.xml in the top level project.xml and maven.checkstyle.properties=${basedir}/../checkstyle.xml in the subprojects project.xml files.

Phil

Eric Pugh wrote:
Hi all,

when running the maven multiproject plugin, any project with checkstyle as a
report fails:
BUILD FAILED
File......
file:/c:/java/maven/plugins/maven-multiproject-plugin-1.1-SNAPSHOT/
Element... maven:reactor
Line...... 69
Column.... 7
Unable to obtain goal [site] --
file:/c:/java/maven/plugins/maven-checkstyle-plu
gin-2.1-SNAPSHOT/:127:65: <ant:checkstyle> Unable to create a Checker:
unable to
 parse C:\clients\Upstate\catalog\project.properties - Content is not
allowed in
 prolog.:1:1
Total time: 22 seconds
Finished at: Sun Sep 28 17:35:00 CEST 2003

What is this content is not allowed in prolog error that I keep getting?

ERic Pugh


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





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



Reply via email to