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@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@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@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-as7-dev