You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by David Hoffer <dh...@gmail.com> on 2014/08/11 19:13:19 UTC

maven-checkstyle-plugin multi-module usage

Is it possible to configure the maven-checkstyle-plugin to fail the build
in a multi-module build before it compiles each module?  I'd like it to
scan the entire project in an early phase, e.g. validate, before it takes
the time to build each module.  We have the plugin configured in the top
level pom and currently it does the check on each module when the reactor
gets to it which takes a long time for later modules.  I'd like to move
this type of build failure to the front of the build if possible.

-Dave

Re: maven-checkstyle-plugin multi-module usage

Posted by David Hoffer <dh...@gmail.com>.
Okay thanks, I didn't think it was possible, thanks for the verification.
 Thanks for the link also...that would be very useful.

-Dave


On Mon, Aug 11, 2014 at 12:36 PM, Robert Scholte <rf...@apache.org>
wrote:

> Hi Dave,
>
> No, not yet. This depends on MNG-5666[1]
>
> thanks,
> Robert
>
> [1] https://jira.codehaus.org/browse/MNG-5666
>
> Op Mon, 11 Aug 2014 19:13:19 +0200 schreef David Hoffer <
> dhoffer6@gmail.com>:
>
>
>  Is it possible to configure the maven-checkstyle-plugin to fail the build
>> in a multi-module build before it compiles each module?  I'd like it to
>> scan the entire project in an early phase, e.g. validate, before it takes
>> the time to build each module.  We have the plugin configured in the top
>> level pom and currently it does the check on each module when the reactor
>> gets to it which takes a long time for later modules.  I'd like to move
>> this type of build failure to the front of the build if possible.
>>
>> -Dave
>>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>
>

Re: maven-checkstyle-plugin multi-module usage

Posted by Robert Scholte <rf...@apache.org>.
Hi Dave,

No, not yet. This depends on MNG-5666[1]

thanks,
Robert

[1] https://jira.codehaus.org/browse/MNG-5666

Op Mon, 11 Aug 2014 19:13:19 +0200 schreef David Hoffer  
<dh...@gmail.com>:

> Is it possible to configure the maven-checkstyle-plugin to fail the build
> in a multi-module build before it compiles each module?  I'd like it to
> scan the entire project in an early phase, e.g. validate, before it takes
> the time to build each module.  We have the plugin configured in the top
> level pom and currently it does the check on each module when the reactor
> gets to it which takes a long time for later modules.  I'd like to move
> this type of build failure to the front of the build if possible.
>
> -Dave

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org