Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [tycho-user] Consuming OSGi bundles produced by Tycho in Maven

What do you mean by "install dependencies"?

Artifacts built and installed by Tycho can be addressed by their
groupId/artifactId/version coordinates, but the consumer of these
artifacts will have to list all required indirect dependencies
explicitly. The latter part is indeed by design as I still do not
believe there is a universally correct way to convert OSGi/P2 dependency
information to Maven, especially if the conversion is done at artifact
level.

--
Regards,
Igor

On 11-11-29 9:05 AM, Aaron Digulla wrote:
Hello,

I've just noticed that Tycho doesn't modify the POM files when it
installs the dependencies in my local m2 repo.

Which means that the bundles aren't directly consumable by Maven. I
guess this is by design (don't touch the POM) probably since it's unsure
that all dependencies can be found by Maven (without Tycho).

What do you do when you have to mix PDE/Tycho and pure Maven builds?
(not in the same invocation of mvn :-)

Regards,



Back to the top