hc-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sebb <seb...@gmail.com>
Subject Re: Checkstyle settings don't appear to work
Date Fri, 26 Jul 2013 09:43:58 GMT
On 26 July 2013 00:18, sebb <sebbaz@gmail.com> wrote:
> It does not look like the checkstyle settings in the parent pom are working.
> As far as I can tell, checkstyle defaults to using the default configuration.
> I think that is because the checkstyle config is under
> <build><pluginManagement> rather than <reporting>, where it belongs
> according to
> http://maven.apache.org/plugins/maven-checkstyle-plugin/usage.html
> It may be necessary to duplicate the config under <build> for
> command-line use with Maven 3, but it definitely needs to be under
> <reporting> for both M2 and M3.

I've since discovered that checkstyle does run as part of the validate phase.
However, this only works on trunk.
The 4.2.x branch reports:

$ mvn validate
No goals needed for project - skipping

This happens for all the modules.

To unsubscribe, e-mail: dev-unsubscribe@hc.apache.org
For additional commands, e-mail: dev-help@hc.apache.org

View raw message