Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[m2e-users] tycho eclipe-plugin and m2e: where to specify dependencies

The tycho eclipse plugin on the eclipse wiki
 http://wiki.eclipse.org/Tycho/Packaging_Types#eclipse-plugin
says:
  "Since Tycho uses OSGi bundle manifest to determine project
   dependencies, pom.xml file should NOT contain <dependency> section,
   and any dependencies inherited from parent project will be ignored by
   the build."

This feels kind of wrong to me.  One big pro with eclipse is how
dependencies are handled uniformly.

And after learning how to fix problems with dependencies in a complex
eclipse build, here I suddenly get to a place where there is a java
project, but dependencies aren't in the POM but are instead in a
different form in a manifest file (I assume that's where they are...?).

In addition this project will not see any of the inherited
dependencies. 

Why couldn't the dependencies have been in the POM in a normal fashion,
and m2e or the bundle plugin could have generated the manifest?



Back to the top