Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Dependency of feature on Maven artifact doesn't work in m2e PDE (but Tycho works)

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?)

Am 19.05.21 um 14:17 schrieb Andreas Sewe:

I want to use a Maven Artifact in my target platform, as described here
[1]. Unfortunately, this doesn't work for me in m2e PDE 1.17.2; when I
resolve the target platform, I get the following error:

Problems occurred while resolving the target contents
	Cannot complete the install because one or more required items could not be found.
		Missing requirement: SVNKit Client Adapter ( requires 'org.eclipse.equinox.p2.iu; org.tmatesoft.svnkit [1.8.0,2.0.0)' but it could not be found
		Software being installed: SVNKit Client Adapter (

My Tycho-based build works, however (using Tycho 2.3.0).

The .target file itself is rather simple, using the defaults everywhere
except for the Bundle-SymbolicName:

<target name="Test" sequenceNumber="2">
		<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
			<!-- 2021-03 release build -->
			<repository location=""/>
			<unit id="" version="0.0.0"/>
		<location includeAllPlatforms="false" includeConfigurePhase="true" includeMode="planner" includeSource="true" type="InstallableUnit">
			<repository location=""/>
			<unit id="" version="0.0.0"/>
			<unit id="" version="0.0.0"/>
		<location missingManifest="generate" type="Maven">
			<instructions><![CDATA[Bundle-Name:           Bundle derived from maven artifact ${mvnGroupId}:${mvnArtifactId}:${mvnVersion}
version:               ${version_cleanup;${mvnVersion}}
Bundle-SymbolicName:   ${mvnGroupId}
Bundle-Version:        ${version}
Import-Package:        *;resolution:=optional
Export-Package:        *;version="${version}";-noimport:=true
DynamicImport-Package: *]]></instructions>
	<targetJRE path="org.eclipse.jdt.launching.JRE_CONTAINER/org.eclipse.jdt.internal.debug.ui.launcher.StandardVMType/JavaSE-11"/>

Can anyone spot what I am doing wrong?

Best wishes,

Andreas Sewe


m2e-users mailing list
To unsubscribe from this list, visit

Back to the top