You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by bwonch <bi...@gmail.com> on 2009/02/06 04:29:56 UTC
Checkstyle report failing
Hi everyone -
I'm not sure if this is the appropriate place for this posting or not.
We have a Maven build, using Hudson as the CI server. We're running the
Checkstyle maven plugin. When I call checkstyle, it runs as expected and I
see the resulting output in Hudson through the Checkstyle plugin, but when I
run mvn site, it's not showing any results.
Here's the checkstyle call, if that helps:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
Any ideas what I'm doing wrong here?
Thanks!
Bill
--
View this message in context: http://www.nabble.com/Checkstyle-report-failing-tp21865980p21865980.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Checkstyle report failing
Posted by bwonch <bi...@gmail.com>.
Hi Brian -
Thanks for the reply.
I am specifying it in both places. In build, I'm using this snippet:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
<configuration>
<configLocation>checks.xml</configLocation>
</configuration>
</plugin>
In reporting I'm using the snippet specified earlier.
Bill
--
View this message in context: http://www.nabble.com/Checkstyle-report-failing-tp21865980p21882563.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org
RE: Checkstyle report failing
Posted by "Brian E. Fox" <br...@reply.infinity.nu>.
You need to put it in the reportingPlugins section of you pom.
-----Original Message-----
From: bwonch [mailto:bill.wonch@gmail.com]
Sent: Thursday, February 05, 2009 10:30 PM
To: users@maven.apache.org
Subject: Checkstyle report failing
Hi everyone -
I'm not sure if this is the appropriate place for this posting or not.
We have a Maven build, using Hudson as the CI server. We're running the
Checkstyle maven plugin. When I call checkstyle, it runs as expected
and I
see the resulting output in Hudson through the Checkstyle plugin, but
when I
run mvn site, it's not showing any results.
Here's the checkstyle call, if that helps:
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-checkstyle-plugin</artifactId>
</plugin>
Any ideas what I'm doing wrong here?
Thanks!
Bill
--
View this message in context:
http://www.nabble.com/Checkstyle-report-failing-tp21865980p21865980.html
Sent from the Maven - Users mailing list archive at Nabble.com.
---------------------------------------------------------------------
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