From: Jorn A H. <Jo...@pe...> - 2002-09-18 16:48:31
|
Hi, From: "Stéphane MOR" <ste...@ya...> > Jorn A Hansen wrote: > > Good idea ! > > Though, it appears that right now, the Reactor doesn't take extended > projects into account... > With the reactor, "../project.xml" is considered to be from the current > dir, ie from the top > dir. > > If you set it to "${basedir}/../project.xml", it is not transformed and > throws an error. > > I'll have a look at all that, and apply the patch as soon as I can > generate the site with it. Hmmm after some debugging it appears that The Real Reason for the unwanted behaviour is that the project.xml file for installed plugins is read when Maven initialize. When the plugin initializes the relative lookup will start from your current working dir/the ${basedir} Hence this bug will appear from the moment where you deploy a plugin having a relative <extends> path and try to use Maven afterwards :-( I guess this means that using the extend mechanism isn't practical for plugin development until someone come up with a clever solution to this. Jørn -- Perfection is achieved, not when there is nothing more to add, but when there is nothing left to take away. - Antoine de Saint-Exupery |