2009/4/1 Jorg Heymans <[email protected]> > Hi, > > I'm trying to use the versions plugin to update the parent version of > all modules in my project to the latest snapshot version, but the > plugin does not update any of the child pom files. > > Could it be that my physical project layout is interfering, for > example my root pom is located 2 directories down from project root > and contains things like > > <module>../../modules</module> > <module>../../examples</module> > > ../../modules and ../../examples each time contain another > intermediate aggregator pom pointing to the different module and > example directories. >
Should not be a problem > > Also, none of these intermediate aggregator poms have a <parent> > section declared, mainly because i found it too much maintenance. > Maybe this can be problematic ? If you don't have a <parent> section then there is nothing to update. update-child-modules is designed to update the <parent> section of the child modules.... if you don't have a <parent> section, then you don't need it! In fact update-child-modules is more designed to fix issues where the parent's version in the reactor is not the same as the version you reference (which prevents the reactor from running) If the parent is outside the reactor then try update-parent If you have no parent... what are you trying to update -Stephen > > > Thanks, > Jorg > > --------------------------------------------------------------------- > To unsubscribe from this list, please visit: > > http://xircles.codehaus.org/manage_email > > >
