On Mon, Sep 10, 2012 at 5:30 PM, Benson Margulies <bimargul...@gmail.com>wrote:

> On Mon, Sep 10, 2012 at 11:25 AM, Daniel Kulp <dk...@apache.org> wrote:
> >
> > On Sep 10, 2012, at 11:14 AM, Benson Margulies <bimargul...@gmail.com>
> wrote:
> >
> >> In Maven 2.x, the following was true; the reactor could not apply a
> >> plugin it had just built. So, if a particular problem required a
> >> plugin (e.g., for generating code), the plugin has to be an
> >> independent project that is built in advance. Is this still true in
> >> 3.x?
> >
> > I don't think this is/was true.   CXF has always used it's own codegen
> plugins within its reactor build, even with Maven 2.x.
>
> Dan, I'll try it again, but I could have sworn that this only works by
> running 'mvn' twice, so that there's a SNAPSHOT in ~/.m2/repository.
>


I'm almost sure I had the same experience like Benson.
It doesn't work in one step because maven reads all projects in the
reactor, then tries to resolve the plugin where you are using it and cannot
because it was built.

Arnaud

Reply via email to