Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Automatically keeping version numbers in sync


Is it possible to run the tycho-versions-plugin:update-pom goal automatically as part of the build so that the poms are always updated with the version from the manifest? I imagined that this would do the trick in the top-level pom:

            <plugin>
                <groupId>org.eclipse.tycho</groupId>
                <artifactId>tycho-versions-plugin</artifactId>
                <version>${tycho-version}</version>
                <executions>
                    <execution>
                        <goals>
                            <goal>update-pom</goal>
                        </goals>
                        <phase>validate</phase>
                    </execution>
                </executions>
            </plugin>

But it does not work. My guess is that the goal modifies the pom.xml files, but the modified pom is never reloaded.

Is there a way to do this?

--

Jesper Eskilson Development Engineer
IAR Systems AB
Box 23051, Strandbodgatan 1
SE-750 23 Uppsala, SWEDEN
Phone: +46 18 16 78 00
E-mail: jesper.eskilson@xxxxxxx Website: www.iar.com
Twitter: www.twitter.com/iarsystems


Back to the top