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

2009-10-10 Thread Adrian Herscu

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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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

2009-10-10 Thread Stephen Connolly

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 adrian.her...@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-unsubscr...@maven.apache.org
For additional commands, e-mail: users-h...@maven.apache.org



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