Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-dev] Duplicate bundle versions with different checksums


I just stumbled over an odd which I would like to understand better.

When creating a composite P2 repository (with Package Drone) out of
different P2 XML Fragments for Eclipse SCADA/openSCADA build artifacts
(same for other builds artifacts) I got a "MD5 hash is not as expected"
error when using P2 to access the repository.

Now this is simply caused by the fact that there are two full builds in
the same channel, providing OSGI bundles built by Maven Tycho, which
have the same bundle ID and the same version, but different content.

The duplicate bundles are not in the same build, but in two successive
builds! With no apparent change in the SCM (git).

Tycho is configured to provide build timestamps using the jgit plugin.

            <!-- build qualifier -->

Now the actual change in the bundles is the line
"Eclipse-SourceReferences" which is:


and for the second


resulting in the same version:

    Bundle-Version: 1.2.0.v20141105-0956

Now I would expect that a different MANIFEST.MF also produces a
different version?!

Thanks for helping


Back to the top