Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [linuxtools-dev] Syncing pom.xml and feature.xml/MANIFEST.MF (was Re: Build failed in Hudson: linuxtools-master #483)

On 08:50:01 Saturday 20 August 2011 Andrew Overholt wrote:
> * Andrew Overholt <overholt@xxxxxxxxxx> [2011-08-19 16:33]:
> > * Alexander Kurtakov <akurtako@xxxxxxxxxx> [2011-08-19 16:31]:
> > > On 23:29:56 Friday 19 August 2011 Andrew Overholt wrote:
> > > > > > > > > mvn tycho-versions:set-version -DnewVersion=YOUR_VERSION
> > > > > > > > > will do the
> > > > > 
> > > > > Please note that if you run it in valgrind directory it will change
> > > > > the valgrind parent pom and all references to it but it will not
> > > > > change the versions of the bundles and features.
> > > > 
> > > > Ah.  But if we want the source tarballs [1] to match the overall
> > > > release version, we have to change the parent POM versions, right?
> > > 
> > > Yup, that's why rpm has the correct version in the tarball :P
> > 
> > I'll make all of them 0.8.1 on stable-0.8 and 0.9.0 on master.  This
> > won't affect the feature or plugin versions in any way.
> 
> Should it be 0.8.1-SNAPSHOT and 0.9.0-SNAPSHOT? 
Yes, SNAPSHOT has a special meaning in Maven land. If you have a dependency on 
snapshot Maven will try to update it even if there is a matching version in 
Maven repo already. Also if you have a dependency on snanpshot maven-release-
plugin will not work at all until you move all snapshot dependencies to be 
some released version. Effectively making it impossible for pure Maven-based 
release to happen with snapshot dependencies.
There is one thing I haven't checked - whether tycho will keep qualifier when 
you remove snapshot with tycho versions plugin. Ideally it would replace 
qualifier with the real timestamp value so everyone building from given tag 
will always get the exactly same result.

Alex
> Then when we do an
> actual release we can make it without the snapshot and tag that commit?
> 
> Andrew
> _______________________________________________
> linuxtools-dev mailing list
> linuxtools-dev@xxxxxxxxxxx
> https://dev.eclipse.org/mailman/listinfo/linuxtools-dev


Back to the top