<span class="Apple-style-span" style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 13px; background-color: rgb(255, 255, 255); ">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)?<div>
<br></div><div>Regards</div><div>Rich</div></span><br><div class="gmail_quote">On 26 May 2011 00:05, Jason T. Greene <span dir="ltr"><<a href="mailto:jason.greene@redhat.com">jason.greene@redhat.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Yeah that's a really annoying maven problem.<br>
<br>
I do:<br>
<br>
for i in `find . -name pom.xml | xargs`; do sed 's/oldver/newver/g' $i ><br>
$i.new; mv $i.new $i; done<br>
<div><div></div><div class="h5"><br>
On 5/25/11 5:52 PM, Scott Stark wrote:<br>
> I thought I might just have to change the jboss-as/pom.xml version to<br>
> affect the overall build version, but it seems I need to update all 108<br>
> pom.xml/*<version>7.0.0.Beta4-SNAPSHOT</version> references in order for<br>
> the build to work. Is that correct?<br>
><br>
><br>
> _______________________________________________<br>
> jboss-as7-dev mailing list<br>
> <a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
> <a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
<br>
<br>
</div></div><font color="#888888">--<br>
Jason T. Greene<br>
JBoss, a division of Red Hat<br>
</font><div><div></div><div class="h5">_______________________________________________<br>
jboss-as7-dev mailing list<br>
<a href="mailto:jboss-as7-dev@lists.jboss.org">jboss-as7-dev@lists.jboss.org</a><br>
<a href="https://lists.jboss.org/mailman/listinfo/jboss-as7-dev" target="_blank">https://lists.jboss.org/mailman/listinfo/jboss-as7-dev</a><br>
</div></div></blockquote></div><br>