Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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


Back to the top