Re: [m2e-users] Dependency of feature on Maven artifact doesn't work in m2e PDE (but Tycho works)
Christoph Läubrich wrote:
> PDE works slightly different when resolving targets than Tycho (here:
> Tycho searches 'everywhere' to resolve dependencies, PDE only searches
> other 'InstallableUnit' locations).
> Can you explain why you try to resolve the svnkit from maven rather than
> from the subclipse update-site (I would assume it is included there if
> the feature require it?)
Sure I can explain (although it may turn into a rant ;-):
I want to build against different versions of Subclipse, ranging from
4.2.0 to 4.3.3.
Unfortunately, the version specific update sites like
<https://subclipse.github.io/updates/subclipse/4.3.3/> contain only
Subclipse itself and not its downstream dependencies like SVNKit.
But at least the update sites from 4.2.x
<https://subclipse.github.io/updates/subclipse/4.2.x/> and 4.3.x
<https://subclipse.github.io/updates/subclipse/4.3.x/> do. So while this
does not allow me to build against the *precise* version of Subclipse, I
can at least build against some minor version range. Better than
Unfortunately, the org.tmatesoft.sqljet bundle included with
<https://subclipse.github.io/updates/subclipse/4.3.x/> is malformed and
causes an UnknownEnvironmentException in Tycho . I reported this
upstream with the SVNKit developers but haven't heard back from them yet
. (Someone else also reported this to the Subclipse developers )
But that is not the only problem with the update sites published by the
Subclipse project. The update site for 4.2.x
<https://subclipse.github.io/updates/subclipse/4.2.x/> includes the
wrong SVNKit version:
[ERROR] Software being installed:
[ERROR] Missing requirement:
188.8.131.52 requires 'org.eclipse.equinox.p2.iu; org.tmatesoft.svnkit
[1.8.0,1.9.0)' but it could not be found
For some reason it includes the same SVNKit version (1.10.2) as the
Subclipse 4.3.x update site.
But why get SVNKit from the Subclipse project at all? Why not go
straight to the source and get a 1.8.x SVNKit from
Turns out that the SVNKit still uses old-style update sites, so p2 and
hence Tycho cannot consume them. Again, this is something I have
reported upstream .
So it looks like that both the Subclipse and SVNKit projects are unable
to publish working update sites. Hence, I want to consume my SVNKit (and
SQLJet) from Maven Central.
Does this explain my situation (and frustration)?
Description: OpenPGP digital signature