|Re: [tycho-user] WAR-packaged project depending on JAR from p2 repo?|
I have a couple of OSGi bundles (eclipse-plugin packaging) and a web
application (war packaging) and would like to build them in the same
Now, the WAR depends on OSGi bundles built earlier in the reactor (for
the Webapp these are considered to be plain JARs, of course, without any
OSGi magic); this works fine and the bundle JARs end up in the WAR.
However, I now want the WAR to depend on an OSGi bundle that is only
available in an external p2 repository; in other words, the JAR is
neither available from a Maven repository nor build in the current reactor.
Is this possible? I toyed around with repository/layout of "p2" and
pomDependencies == "consider", but to no avail. Is it possible to get
Tycho to do its thing and insert system-scoped dependencies into
projects with a non-Tycho packaging (e.g., WAR)?
Codetrails UG (haftungsbeschränkt)
The knowledge transfer company
Robert-Bosch-Str. 7, 64293 Darmstadt
Managing Director: Dr. Marcel Bruch
Handelsregister: Darmstadt HRB 91940
tycho-user mailing list
Back to the top