On Sat, 2004-01-03 at 21:54, Michael A Melia wrote: > I'm looking at providing the capability for transitive dependencies in > Maven which would (in my eyes) rely on the pom files being installed in > the poms directory in the local repository. > I've noticed that only ejb, ear and war projects install the poms to the > local repository. Is there a reason for standard jar deployments not > installing the pom?
It's all in the works. There is actually code to deal with install POMs and transitive dependencies the primary problem, as noted in other messages, is the deployment of the POMs. I can definitely point you in the right direction if you want to do some work. > Also, I've notiiced that the poms that are installed in the local repo are > not interpolated. My solution would rely on the installed poms having been > interpolated already. That wouldn't be a good idea. One of the things I've been striving for in the new maven code is to keep the model untainted by interpolation and inheritance. The code we have doesn't require the interpolation and I don't think you could make it work generally. For example if a POM used an element that used a property that was interpolated and this property varied from machine to machine you be in trouble. I'm not sure how much this would affect dependencies but interpolation of installed POMs is not something that will happen as I don't think it's a good thing, or required. > I don't think that the current build should need to > interpolate a project for a dependency if it has no guarantee of having > the right context. Am on the right path or not? Not sure exactly what you mean. But I'm guessing that you mean that dependencies generally would not be affected by interpolation and to that I would probably say yes. > Give me a shout before I > go too far with incorrect assumptions :) If you want to do some transitive dependency stuff I can point you to bits in the new code but the first thing we need is a little bit of code that could package up an artifact with the POM and make a standard little bundle that we can process for uploads to ibiblio. > Cheers, > Mike > __________________________ > Mike Melia > ThoughtWorks Inc. > http://www.thoughtworks.com -- jvz. Jason van Zyl [EMAIL PROTECTED] http://tambora.zenplex.org In short, man creates for himself a new religion of a rational and technical order to justify his work and to be justified in it. -- Jacques Ellul, The Technological Society --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
