Another suggestion would be the versions plugin [1] http://mojo.codehaus.org/versions-maven-plugin/update-child-modules-mojo.html
Jim On Tue, Oct 20, 2009 at 10:59 AM, Nick Stolwijk <[email protected]>wrote: > Take a look at the release plugin for changing version numbers and you'll > never have to change a version number by hand again. :) > > [1] http://maven.apache.org/plugins/maven-release-plugin/ > > Hth, > > Nick Stolwijk > ~Java Developer~ > > IPROFS BV. > Claus Sluterweg 125 > 2012 WS Haarlem > http://www.iprofs.nl > > > On Tue, Oct 20, 2009 at 4:53 PM, Mr Debasis <[email protected]> wrote: > > > > > Hi All, > > I am using pom inheritance.having 7 child project meaning 7 child pom. > > For every release i need to change the version no in every pom including > > parent. > > But I want to change only in the parent by which child should inherit by > > default. > > > > if all the child pom has to mention the partnt like below. > > > > <parent> > > <groupId>com.arisglobal.aglite</groupId> > > <artifactId>aglite-parent</artifactId> > > <version>3.0.0.0.RC9</version> > > <relativePath>../pom.xml</relativePath> > > </parent> > > > > i don't want the version tag to include there other wise i need 2 > change > > in all the child pom. > > is there any way by which we will write the parent section without the > > version in the child pom like > > > > <parent> > > <groupId>com.arisglobal.aglite</groupId> > > <artifactId>aglite-parent</artifactId> > > <relativePath>../pom.xml</relativePath> > > </parent> > > > > by which i can only change the version in parent pom.I tried but it is > not > > working. > > is there anything i am missing? > > > > Thanks, > > Debasis > > > > > > > > -- > > View this message in context: > > > http://www.nabble.com/Problem-in-Using-POM-inheritance-tp25976570p25976570.html > > Sent from the Maven - Users mailing list archive at Nabble.com. > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [email protected] > > For additional commands, e-mail: [email protected] > > > > >
