Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] POM-less builds and non-SNAPSHOT parent POM releases

not sure I get the problem. A sample demonstrating the problem may help.

Note that "pom-less" only means no poms for features and plugins required.
Parent poms will always be there, they can't be derived from other metadata.
Also, the way versions are mapped from OSGi to maven for pom-less builds is exactly the same way it has always been validated with pom.xml, so no change here.

Jan

> -----Original Message-----
> From: tycho-user-bounces@xxxxxxxxxxx [mailto:tycho-user-bounces@xxxxxxxxxxx]
> On Behalf Of Andreas Sewe
> Sent: Mittwoch, 15. Juli 2015 18:20
> To: tycho-user@xxxxxxxxxxx
> Subject: [tycho-user] POM-less builds and non-SNAPSHOT parent POM releases
> 
> Hi all,
> 
> it looks like POM-less builds for plugins and features will be possible
> soon [1]. Although the tycho-versions-plugin still doesn't support
> POM-less builds [2] yet, I think now is a good time to discuss how
> version-bumps should happen in the POM-less world.
> 
> 1) On the one hand, every OSGi plugin should have a qualifier and Tycho
> requires the corresponding Maven project to be a SNAPSHOT.
> 
> 2) On the other hand, parent POMs, which others (e.g., your incubator
> projects) may consume, should be deployed to repo.eclipse.org with a
> non-SNAPSHOT version.
> 
> This has led to recipes like the following [3], which we (the Code
> Recommenders project) use during our releases: First,
> tycho-versions-plugin:set-version *everything* to a non-SNAPSHOT
> version, then set-version the plugins and features back to their
> SNAPSHOT version (but now with a non-SNAPSHOT parent).
> 
> If we were to switch to a POM-less build, I wonder how we can satisfy
> both 1) and 2). Suggestions?
> 
> Best wishes,
> 
> Andreas
> 
> [1] <https://wiki.eclipse.org/Tycho/Release_Notes/0.24>
> [2] <https://bugs.eclipse.org/bugs/show_bug.cgi?id=472579>
> [3]
> <https://git.eclipse.org/c/recommenders/org.eclipse.recommenders.git/about/>
> 
> --
> Codetrails GmbH
> The knowledge transfer company
> 
> Robert-Bosch-Str. 7, 64293 Darmstadt
> Phone: +49-6151-276-7092
> Mobile: +49-170-811-3791
> http://www.codetrails.com/
> 
> Managing Director: Dr. Marcel Bruch
> Handelsregister: Darmstadt HRB 91940
> _______________________________________________
> 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


Back to the top