Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] m2e dependency management?

This is PDE limitation, it does not provide a way to configure
per-project build target platform, at least it did not last time I
looked. Until this is implemented in PDE, you need to manage workspace
build target platform manually.

--
Regards,
Igor

On 12-05-23 3:09 PM, Peter Murray wrote:

I'm a bit confused about dependency management in a maven/tycho
manifest-first environment with some dependencies hosted in a p2
repository.  It seems that if I declare a p2 repository like this:

<repository>
<id>snaps</id>
<name>SnapshotRepo</name>
<url>http://machine:8085/job/dependency-feature/lastSuccessfulBuild/artifact/output</url>
<layout>p2</layout>
</repository>

I can then build a manifest-first bundle which depends on a bundle
available from that repo using maven/tycho from the command line.
However, when I import that project into eclipse, the dependencies are
not discovered from that repository.  In other maven-based eclipse
projects (non-plugin), m2e inserts a Maven Dependencies node into the
project that contains the dependencies discovered through maven.

Why doesn't tycho-m2e do that as well?  Wouldn't that simplify the
dependency discovery configuration between maven and eclipse environments?

Cheers,
--
-pete
peter m. murray
pete@xxxxxxxxxxx <mailto:pete@xxxxxxxxxxx>


_______________________________________________
tycho-user mailing list
tycho-user@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/tycho-user


Back to the top