When installing local bundles in pax-exam and useDeployFolder is set to false... It takes exactly 30 seconds to install each bundle...
If we used 'maven bundles', it doesn't take much time... If we install local bundles and use the deploy folder, it doesn't take much time... The issue is reproduced with local bundles and not using deploy folder... With tracing on, its clear each bundle takes 30 seconds..
We are now using the deploy folder.. However, there does seem to be an issue with local bundle install when not using deploy folder..
Please find the attached Eclipse Maven Project containing a JUnit test that only sets up the pax exam env to install 2 bundles and a POM that that will reproduce the issue under the profile "test".. In this project, it will try to install the 2 local eclipse bundles in "test-dependencies" -->> it will take 1 minute.
reproduced on Windows 7 and Ubuntu 12.04
This is a Karaf issue, see http://mail-archives.apache.org/mod_mbox/karaf-user/201402.mbox/%3C52F51294.firstname.lastname@example.org%3E.
I can reproduce the problem with standalone Karaf 3.0.2 (without Pax Exam) by adding a feature repository and installing the following feature:
Directly installing the bundle from a file URL is no problem, though: