Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [m2e-users] Bundles as dependencies in m2eclipse-tycho

Have you looked at [1] that shows how to mix and match pom-first and
manifest-first projects both inside IDE and during command line build?



On 11-05-25 05:21 AM, Ricardo Gladwell wrote:
Hi guys

I'm trying to use the Tycho m2eclipse extension, and I'd like to add a
OSGi bundle as a dependency. However, I can't seem to get them to
build them.

I created the following POM for my OSGi bundle dependency:

<project xmlns="";

I also created a META-INF/MANIFEST.MF and it seems to compile in my Eclipse.

In my eclipse-test-plugin project I added the following line to my


However, when I actually execute the build in my unit tests I get a
missing dependency exception:

Failed to execute runnable (java.lang.IllegalArgumentException: Bundle
"" not found. Possible causes
include missing dependencies, too restrictive version ranges, or a
non-matching required execution environment.)

Is there something else I should be doing to add bundle dependencies
to my eclipse-test-plugin project?


Ricardo Gladwell<ricardo.gladwell@xxxxxxxxx>
Twitter: @rgladwell - MSN: axonrg@xxxxxxxxx
m2e-users mailing list

Back to the top