On Wed, Apr 29, 2009 at 12:53 PM, Jeffrey N Hagelberg <[email protected]> wrote:
> I guess my first question is whether anyone has been able to to successfully > get a child project to inherit the version of its parent project and if so, > how they made it work. What we have defined is a little wierd, since we're > attempting to use a variable defined in the parent pom.xml to resolve the > parent itself. That may be the root cause of this error. However, it's the > best we have been able to do so far. We do not want to have to duplicate > the version in all of our pom.xmls. You can't use a property for the parent version. It has to be specified, and yes, duplicated, however the release plugin will update all the versions for you. Also take a look at the 'versions' plugin which has some goals to help update the versions. If you search the dev list and JIRA you'll find a long discussion about 'auto parent versioning' which I believe is what you want here, but it's difficult to get right and hasn't been implemented. -- Wendy --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
