i'd do it in parent pom in initialize phase (hope it is early enough) then
something like :

    <plugins>
          <plugin>
            <groupId>org.codehaus.gmaven</groupId>
            <artifactId>gmaven-plugin</artifactId>
            <version>1.3</version>
            <executions>
              <execution>
                <id>configure-adapters</id>
                <phase>initialize</phase>
                <goals>
                  <goal>execute</goal>
                </goals>
              </execution>
            </executions>
            <configuration>
              <source>
                def props = project.properties
               project.properties['openejb.version'] = '4' +
project.properties['project.version'].substring(1)
              </source>
            </configuration>
          </plugin>

if it is too late not sure we can find something working

*Romain Manni-Bucau*
*Twitter: @rmannibucau <https://twitter.com/rmannibucau>*
*Blog: **http://rmannibucau.wordpress.com/*<http://rmannibucau.wordpress.com/>
*LinkedIn: **http://fr.linkedin.com/in/rmannibucau*
*Github: https://github.com/rmannibucau*



2013/5/24 AndyG <[email protected]>

> Is there already a maven module that can be used to search poms and change
> this value?
>
>
>
> --
> View this message in context:
> http://openejb.979440.n4.nabble.com/Fwd-svn-commit-r1485786-tomee-tomee-trunk-pom-xml-tp4663194p4663199.html
> Sent from the OpenEJB Dev mailing list archive at Nabble.com.
>

Reply via email to