On Jan 14, 2008 11:01 AM, Labanca, Rick <[EMAIL PROTECTED]> wrote: > In maven1 I could change to the particular directory and build there, > but in maven2 I don't think that will work. The driving issue is the > <version> tag in each of these. I want these to be globally set, and the > only way to do this is run from the top. > > In old maven, the <extend>../project.xml</extend> let me derive stuff > from the top level even if from from a subdir. I can't seem to do that > in maven2, and led me to this idea.
If the parent pom is not located in the directory just above, you can use <parent><relativePath> to point to it. This is not going to change the fact that you need to specify the parent version in every child pom, though. The release plugin is designed to help with updating those version numbers. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
