Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[tycho-user] Best practice: How to refer to build-time-only dependencies?


I was wondering what the best practice is when refering to
build-time-only dependencies, e.g., org.eclipse.jdt.annotation.

You can of course have an *optional* Import-Package or Require-Bundle,
but this is not completely free of runtime effects like installing and
loading an unnecessary bundle.

Now Tycho also supports various keys [1] which may
achieve a similar effect. And then there is <extraClasspathElements> [2].

So, what do you think consitutes the best practice (if any) and how
compatible is it with other tooling (PDE, maven-dependency-plugin, etc.)?

Best wishes,


[1] <>

Codetrails GmbH
The knowledge transfer company

Robert-Bosch-Str. 7, 64293 Darmstadt
Phone: +49-6151-276-7092
Mobile: +49-170-811-3791

Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940

Back to the top