camel-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Fredrik Jönsson <>
Subject Camel testing with embedded dependencies in bundle
Date Mon, 25 Apr 2016 10:50:35 GMT

I’ve got a Camel project which is to be deployed into servicemix as an OSGi-bundle where
I’ve embedded a couple of third-party jars in the bundle. This works nicely.

However, the class path to these bundles is set in MANIFEST.MF which is not generated until
*after* tests are run if I do a
mvn clean package or similar, causing camel tests in the project to fail waiting for unresolved

I can work around this by adding an explicit generation of MANIFEST.MF to felix-bundle-plugin


However, Eclipse then complains about duplicate manifest executions: "Duplicate manifest executions
found. Please remove any explicitly defined manifest executions in your pom.xml"

Maven has no complaints when running from the command line.

Should I just ignore this as FUD from Eclipse, or is there a more appropriate way to achieve
this, generate the MANIFEST.MF before running tests?

Best regards,

Fredrik Jönsson, M.Sc.
System Architect

KTH Royal Institute of Technology 
University Administration
Drottning Kristinas väg 48, SE-100 44 Stockholm, Sweden
Phone: +46-8-790 66 03
Mobile: +46-73-595 66 03


View raw message