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

No, not possible either. major.minor.micro parts of the version are
expected to match between pom.xml and corresponding eclipse metadata,
and qualifier can either match exactly or be '-SNAPSHOT'/'.qualifier'. I
believe we plan to relax requirement for qualifier, but don't know when.

--
Regards,
Igor

On 12-06-21 1:01 PM, Craig Foote wrote:
What about the reverse, i.e. setting the manifest version to match the pom?

Craig Foote

On Thu 21 Jun 2012 09:43:18 AM EDT, Igor Fedorenko wrote:
No, not possible.

--
Regards,
Igor

On 12-06-21 7:56 AM, Jesper Eskilson wrote:

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 <mailto:jesper.eskilson@xxxxxxx>
Website: www.iar.com
<http://www.iar.com> Twitter: www.twitter.com/iarsystems
<http://www.twitter.com/iarsystems>



_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


_______________________________________________ tycho-user mailing list tycho-user@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/tycho-user
_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user