On Tue, Feb 7, 2012 at 7:19 AM, Wayne Fay <wayne...@gmail.com> wrote: >> Jenkins CI. I don't need full site lifecycle. The reason why pmd is needed >> -- is to enforce coding style and standarts and fail build in case of some >> violations. There is no need of html/csv reports in my scenario at all. > > I don't use this plugin as a regular thing so I can't tell you why it > isn't working. I am simply going on the documentation that is > published. > > If you aren't using the site and just want to have PMD complain about > rule violations, you probably don't want to use the <reporting> > section but instead the <build> section of your pom. And you probably > want to use the "check" goal.
As Wayne says: http://maven.apache.org/plugins/maven-pmd-plugin/examples/violationChecking.html --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@maven.apache.org For additional commands, e-mail: users-h...@maven.apache.org