[jboss-as7-dev] So how do I update the build version?

Rich Midwinter rich.midwinter at gmail.com
Thu May 26 01:55:00 EDT 2011


With maven 3, can you not remove the version declaration in the child module
pom.xml and it will inherit the version from the parent (if that's the
desired behaviour)?

Regards
Rich

On 26 May 2011 00:05, Jason T. Greene <jason.greene at redhat.com> wrote:

> Yeah that's a really annoying maven problem.
>
> I do:
>
> for i in `find . -name pom.xml | xargs`; do sed 's/oldver/newver/g' $i >
> $i.new; mv $i.new $i; done
>
> On 5/25/11 5:52 PM, Scott Stark wrote:
> > I thought I might just have to change the jboss-as/pom.xml version to
> > affect the overall build version, but it seems I need to update all 108
> > pom.xml/*<version>7.0.0.Beta4-SNAPSHOT</version>  references in order for
> > the build to work. Is that correct?
> >
> >
> > _______________________________________________
> > jboss-as7-dev mailing list
> > jboss-as7-dev at lists.jboss.org
> > https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
>
> --
> Jason T. Greene
> JBoss, a division of Red Hat
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-as7-dev/attachments/20110526/0de8ab49/attachment.html 


More information about the jboss-as7-dev mailing list