Artem Barger wrote:

> On Wed, Oct 26, 2016 at 6:30 PM, Jörg Schaible <
> joerg.schai...@bpm-inspire.com> wrote:
> 
>>
>> The reactor of Maven does not consider plugins itself or dependencies to
>> plugins for its build order (by design). To support something like this,
>> you
>> will have to produce a released artifact first.
> 
> 
> ​In that case I guess following tutorial has a bug:
> https://maven.apache.org/plugins/maven-checkstyle-plugin/examples/multi-module-config.html


No, it uses a released version as dependency. You're currently using a 
SNAPSHOT version that is part of the same reactor and should be build first 
(apart from the fact that the dependencies of a plugin are resolved at a 
completely different stage).

When you've built the subproject once (i.e. you have such a SNAPSHOT version 
in your local repo), the situation is slightly different, but you will 
probably not using the correct SNAPSHOT version.

Cheers,
Jörg


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@commons.apache.org
For additional commands, e-mail: dev-h...@commons.apache.org

Reply via email to