You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Adrian Herscu <ad...@gmail.com> on 2009/10/10 08:50:29 UTC

[m2] multi-project with plugin dependencies fails to build

Hi all,

I am trying to set up a multi-project build in which one module depends 
on the Maven plugin created by other module.

So far, the only way I could build the project is by building the Maven 
plugin module and then activate the multi-project build.

Is there any possibility to define the plugin dependency?

Adrian.


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


Re: [m2] multi-project with plugin dependencies fails to build

Posted by Stephen Connolly <st...@gmail.com>.
afaik, no

you can use a previous version of the plugin, but not the same version  
as is built in your reactor.

the reason is that maven needs do determine the build plan before it  
starts, and your (as yet uncompiled) plugin in the reactor therefore  
has an unknown effect on the build, resulting in a circular reference  
at which point maven bombs out

Sent from my [rhymes with tryPod] ;-)

On 10 Oct 2009, at 07:50, Adrian Herscu <ad...@gmail.com> wrote:

> Hi all,
>
> I am trying to set up a multi-project build in which one module  
> depends on the Maven plugin created by other module.
>
> So far, the only way I could build the project is by building the  
> Maven plugin module and then activate the multi-project build.
>
> Is there any possibility to define the plugin dependency?
>
> Adrian.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

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