[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [equinox-dev] Maven snapshot repository available ?

Let me directly add some words of caution:

When pushing Eclipse artifacts to Maven Central we convert
OSGi 4 part versions to 3 part versions as suitable for a Maven Release.

When anybody starts to publish snapshots they should be very
careful in testing that snapshots don't interfere with builds
requesting a release version. Example: [4.6.0,4.7.0) should
select any of 4.6.1, 4.6.2 ... but *not* 4.7.0.
As soon as a snapshot exists, e.g., as 4.7.0.v2017040112000
then this version would be considered (by some maven versions)
as < 4.7.0 and thus be picked via the above version range.
Client builds using Maven may not customarily use such version
ranges, but dependencies among Eclipse artifacts do make use
of semantic versioning and thus could be wired in incompatible
ways.

One way around this, *might* be to publish / consume snapshots
only via repo.eclipse.org, not Maven Central. This would leave
the due diligence to consumers, who only have to ensure that
artifacts from repo.eclipse.org don't accidentally creep into
release builds via their local maven repository.

Another way, might be to enhance the aggregator to create literally
4.7.0-SNAPSHOT versions (no qualifier expansion). So far, however,
I don't see huge demand for this.

Yep, there's plenty of ways how Maven can get confused (to say
the least) about mavenized OSGi artifacts.

cheers,
Stephan


On 11.04.2017 10:50, Jonah Graham wrote:
Hi Cristiano,

AFAIK the bundles are being pushed as part of the Platform release
cycle, after aggregation rather than from the equinox builds
themselves.

Stephan Herrmann has been doing that work and has written it up on the
mailing list[1], wiki[2] and did a blog post[3] about it.

However that does not answer your snapshot question, perhaps it will
give you the information on where to obtain the information?

[1] https://dev.eclipse.org/mhonarc/lists/eclipse-dev/msg10352.html
[2] https://wiki.eclipse.org/Platform-releng/Publish_To_Maven_Central
[3] https://objectteams.wordpress.com/2017/01/09/eclipse-neon-2-is-on-maven-central/

HTH
Jonah



~~~
Jonah Graham
Kichwa Coders Ltd.
www.kichwacoders.com


On 10 April 2017 at 12:52, Cristiano GaviÃo <cvgaviao@xxxxxxxxx> wrote:
Hello all,

recently I discovered that equinox and platform released bundles are finally
being deployed at maven central repository.

I got very happy to see that happen and would like to thank the responsible
for this !

Certainly this will bring a great improvement to my building process which
do not use tycho nor p2.

But I also need to build and test against the latest bundles. So, is a
snapshot repository being generated anywhere ?


thanks,

Cristiano


_______________________________________________ equinox-dev mailing list equinox-dev@xxxxxxxxxxx To change your delivery options, retrieve your password, or unsubscribe from this list, visit https://dev.eclipse.org/mailman/listinfo/equinox-dev
_______________________________________________
equinox-dev mailing list
equinox-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://dev.eclipse.org/mailman/listinfo/equinox-dev