You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Angel Andres Fungueiro <fu...@gmail.com> on 2005/10/21 22:19:56 UTC
m1 - Problems with checkstyle
Hi.
I'm generating checkstyle reports with Maven 1.0 and works fine.
But when using the property maven.checkstyle.properties ( or
maven.checkstyle.propertiesURL) to specify a custom check set, it
fails giving the next error message:
>..........
>checkstyle:report:
>checkstyle:run:
> [echo] Using file:/opt/maven-1.0.2/esidif_checks.xml for checkstyle ...>
>
>BUILD FAILED
>File...... /home/webmaster/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>Element... maven:reactor
>Line...... 103
>Column.... 9
>Unable to obtain goal [site] --
/home/webmaster/.maven/cache/maven-checkstyle-plugin-2.5/plugin.jelly:144:63:
><ant:checkstyle> Unable to create a Checker: unable to find
file:/opt/maven-1.0.2/esidif_checks.xml
>Total time: 12 seconds
Can anyone help me?
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
Re: m1 - Problems with checkstyle
Posted by Lukas Theussl <lt...@apache.org>.
Probably the file /opt/maven-1.0.2/esidif_checks.xml does not exist? How
did you specify the maven.checkstyle.properties prop? Try prepending
${basedir}, that should work.
-Lukas
Angel Andres Fungueiro wrote:
> Hi.
>
> I'm generating checkstyle reports with Maven 1.0 and works fine.
> But when using the property maven.checkstyle.properties ( or
> maven.checkstyle.propertiesURL) to specify a custom check set, it
> fails giving the next error message:
>
>
>>..........
>>checkstyle:report:
>>checkstyle:run:
>> [echo] Using file:/opt/maven-1.0.2/esidif_checks.xml for checkstyle ...>
>>
>>BUILD FAILED
>>File...... /home/webmaster/.maven/cache/maven-multiproject-plugin-1.3.1/plugin.jelly
>>Element... maven:reactor
>>Line...... 103
>>Column.... 9
>>Unable to obtain goal [site] --
>
> /home/webmaster/.maven/cache/maven-checkstyle-plugin-2.5/plugin.jelly:144:63:
>
>><ant:checkstyle> Unable to create a Checker: unable to find
>
> file:/opt/maven-1.0.2/esidif_checks.xml
>
>>Total time: 12 seconds
>
>
> Can anyone help me?
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org