Description
The reference to the featuresRepositories generated by the karaf-maven-plugin is invalid on Windows in org.apache.karaf.features.cfg.
The backslashes in karaf.home should be converted to forward slashes.
featuresRepositories = file:${karaf.home}/etc/0d05ff05-4208-4e0a-95e7-6b41bca544e7.xml
2015-08-27 16:33:01,031 ERROR [org.apache.karaf.features.internal.service.BootFeaturesInstaller] (pool-1-thread-1) Error installing boot feature repository file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml java.lang.IllegalArgumentException: Illegal character in opaque part at index 7: file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml at java.net.URI.create(URI.java:859)[:1.7.0_65] at org.apache.karaf.features.internal.service.BootFeaturesInstaller.installBootFeatures(BootFeaturesInstaller.java:86)[6:org.apache.karaf.features.core:4.0.1] at org.apache.karaf.features.internal.service.BootFeaturesInstaller.start(BootFeaturesInstaller.java:76)[6:org.apache.karaf.features.core:4.0.1] at org.apache.karaf.features.internal.osgi.Activator.doStart(Activator.java:257)[6:org.apache.karaf.features.core:4.0.1] at org.apache.karaf.util.tracker.BaseActivator.run(BaseActivator.java:233)[6:org.apache.karaf.features.core:4.0.1] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)[:1.7.0_65] at java.util.concurrent.FutureTask.run(FutureTask.java:262)[:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)[:1.7.0_65] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)[:1.7.0_65] at java.lang.Thread.run(Thread.java:745)[:1.7.0_65] Caused by: java.net.URISyntaxException: Illegal character in opaque part at index 7: file:D:\sample-karaf/etc/0fef08a9-7cfd-48ff-ac51-22669230cb44.xml at java.net.URI$Parser.fail(URI.java:2829)[:1.7.0_65] at java.net.URI$Parser.checkChars(URI.java:3002)[:1.7.0_65] at java.net.URI$Parser.parse(URI.java:3039)[:1.7.0_65] at java.net.URI.<init>(URI.java:595)[:1.7.0_65] at java.net.URI.create(URI.java:857)[:1.7.0_65] ... 9 more