[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [tycho-user] Updating target version number in parent pom
|
For PTP, we use M.N.S-SNAPSHOT so that the version is appended with the build qualifier. We only change the the feature versions for a release, so that all the features and their poms are at the same version. Plugin version numbers are only updated if the the plugin is actually modified.
For a release, I update the feature version first (via a shell script), then I run:
mvn versions:set -DnewVersion=“M.N.S-SNAPSHOT”
which updates the paren pom version and all references to the parent, then
mvn org.eclipse.tycho:tycho-versions-plugin:0.19.0:update-pom
which updates the pom version to the Eclipse/OSGi version (only features and plugins that have been modified).
HTH,
Greg
> On Feb 22, 2016, at 3:30 PM, Jay Jay Billings <jayjaybillings@xxxxxxxxx> wrote:
>
> Everyone,
>
> I've been using the following in my parent pom to specify the Eclipse target:
>
> <target>
> <artifact>
> <groupId>org.eclipse.ice</groupId>
> <artifactId>org.eclipse.ice.target.mars</artifactId> <version>2.1.8.20160208</version> <classifier>mars</classifier>
> </artifact>
> </target>
>
> When I run Tycho set-version plugin, every version in the entire source tree is updated except that version clause in the parent pom. Any suggestions?
>
> I noticed that Lars' tutorial also includes that version tag and my build breaks if I remove it. Any tips would be appreciated!
>
> Jay
>
> --
> Jay Jay Billings
> Oak Ridge National Laboratory
> Twitter Handle: @jayjaybillings
> _______________________________________________
> tycho-user mailing list
> tycho-user@xxxxxxxxxxx
> To change your delivery options, retrieve your password, or unsubscribe from this list, visit
> https://dev.eclipse.org/mailman/listinfo/tycho-user