You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by Vincent Massol <vm...@pivolis.com> on 2003/05/26 14:06:28 UTC
Is someone working towards supporting checkstyle 3.1?
The subject says it all...
Anyone?
-Vincent
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
RE: Is someone working towards supporting checkstyle 3.1?
Posted by Vincent Massol <vm...@pivolis.com>.
> -----Original Message-----
> From: Ben Walding [mailto:default0001@walding.com]
> Sent: 26 May 2003 14:24
> To: Maven Developers List
> Subject: Re: Is someone working towards supporting checkstyle 3.1?
>
> DO IT NOW!
>
> The VM Think Tank is on the job!
Hey, I was just asking! :-)
Not sure I'll find the time but I'll try as I'm interested in running
checkstyle through maven for my current project... :-)
Thanks for the support!
-Vincent
>
>
> Vincent Massol wrote:
>
> >The subject says it all...
> >
> >Anyone?
> >
> >-Vincent
> >
> >
> >---------------------------------------------------------------------
> >To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> >For additional commands, e-mail: dev-help@maven.apache.org
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Is someone working towards supporting checkstyle 3.1?
Posted by Ben Walding <de...@walding.com>.
DO IT NOW!
The VM Think Tank is on the job!
Vincent Massol wrote:
>The subject says it all...
>
>Anyone?
>
>-Vincent
>
>
>---------------------------------------------------------------------
>To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
>For additional commands, e-mail: dev-help@maven.apache.org
>
>
>
>
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org
Re: Is someone working towards supporting checkstyle 3.1?
Posted by Alexey Demakov <de...@ispras.ru>.
See my issue
http://jira.codehaus.org/secure/ViewIssue.jspa?key=MAVEN-398
hope it'll work with 3.1 (need to change dependency)
See below about improvements made by GONNOT boris
Best regards,
Alexey
---
Alexey Demakov, ISP RAS
www: http://redverst.ispras.ru
e-mail: demakov@ispras.ru
ICQ 740187
----- Original Message -----
From: "Vincent Massol" <vm...@pivolis.com>
To: <de...@maven.apache.org>
Sent: Monday, May 26, 2003 4:06 PM
Subject: Is someone working towards supporting checkstyle 3.1?
> The subject says it all...
>
> Anyone?
>
> -Vincent
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
> For additional commands, e-mail: dev-help@maven.apache.org
>
>
----- Original Message -----
From: "GONNOT boris" <bo...@agf.fr>
To: "Maven Users List" <us...@maven.apache.org>
Sent: Friday, April 18, 2003 11:17 AM
Subject: [checkstyle-plugin-1.1-checkstyle-3.0] - Problems
> Hello,
>
> First of all, thanks to Alexey Demakov for the updated plugin.
> In using it, I have encountered 2 problems (maybe it comes
> from me)
>
> FIRST PROBLEM : When I ran "maven checkstyle:report xdoc", it failed with
> **************
> > xdoc:jelly-transform:
> > [echo] Generating ${Basedir}/target/docs/checkstyle-report.html
> > from ${Basedir}\target\generated-xdocs\checkstyle-report.xml
> > BUILD FAILED
> > null:304:43: <x:parse> Invalid byte 2 of 3-byte UTF-8 sequence.
> > Nested exception: Invalid byte 2 of 3-byte UTF-8 sequence.
> > Total time: 4 seconds
>
> To correct this, I have updated the Jelly plugin's file by removing the
> omitXmlDeclaration attribute of the <doc:jsl...> tag :
>
> <doc:jsl
> input="${maven.build.dir}/checkstyle-raw-report.xml"
> output="checkstyle-report.xml"
> stylesheet="${plugin.resources}/checkstyle.jsl"
> --> omitXmlDeclaration="true" <-- REMOVED
> outputMode="xml"
> prettyPrint="true"
> />
>
>
> SECOND PROBLEM : After that, i ran the same command, but it failed with :
> ***************
> > -->checkstyle:report:
> > checkstyle:determine-properties:
> > [echo] Using ${Basedir}\conf\style\checkstyle.xml for checkstyl
> > BUILD FAILED
> > Unable to create a Checker:
> > Could not find Properties file '${Basedir}'
>
> To correct this, I have found 2 solutions
> 1 - Update my project.properties by adding
> maven.checkstyle.properties=${basedir}/no.properties
> 2- Or, By removing the properties attribute of the ant:checkstyle
> Tag in the plugin's Jelly file :
> <ant:checkstyle
> config="${checkstyleConfig}"
> --> properties="${checkstyleProperties}" <-- REMOVED
> failOnViolation="${maven.checkstyle.fail.on.violation}"
>
>
> PS : I attached the updated jelly's plugin file.
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org