Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Resolve Maven plugin dependencies from target platform?

In case of bundle projects, dependency information comes from bundle
manifest and resolved dependencies are then reflected to MavenProject model.

In your case, you want dependency information come from MavenProject
model. You may be able to use custom scope or weird packaging type to
fake this, but I am not too sure if current maven versions support that.

--
Regards,
Igor

On 2014-11-07, 8:42, Andreas Sewe wrote:
Hi,

Tycho does not use system scope the way to describe. Tycho never
resolves system-scoped dependencies from the build target platform.

true. But AFAIK it internally represents bundle dependencies as
system-scoped dependencies, does it not? At least that's the way "mvn
dependency:tree" shows a eclipse-plugin project's dependencies:

[INFO] --- maven-dependency-plugin:2.8:tree (default-cli) @ org.eclipse.recommenders.utils ---
[INFO] org.eclipse.recommenders:org.eclipse.recommenders.utils:eclipse-plugin:2.1.11-SNAPSHOT
[INFO] +- p2.eclipse-plugin:com.google.guava:jar:15.0.0.v201403281430:system
[INFO] +- p2.eclipse-plugin:org.eclipse.osgi:jar:3.10.2.v20141103-1919:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.contenttype:jar:3.4.200.v20140207-1251:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.preferences:jar:3.5.200.v20140224-1527:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.registry:jar:3.5.400.v20140428-1507:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.common:jar:3.6.200.v20130402-1505:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.jobs:jar:3.6.1.v20141014-1248:system
[INFO] +- p2.eclipse-plugin:org.eclipse.core.runtime:jar:3.10.0.v20140318-2214:system
[INFO] +- p2.eclipse-plugin:org.eclipse.equinox.app:jar:1.3.200.v20130910-1609:system
[INFO] +- p2.eclipse-plugin:org.apache.commons.io:jar:2.0.1.v201105210651:system
[INFO] +- p2.eclipse-plugin:com.google.gson:jar:2.2.4.v201311231704:system
[INFO] \- p2.eclipse-plugin:org.apache.commons.lang3:jar:3.1.0.v201403281430:system

Best wishes,

Andreas



Back to the top