On 26 July 2013 00:18, sebb <[email protected]> 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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to