Description
Feature Config Installer throws an exception when it does not recognize the prefix, for example "mvn:".
With this change, stacktrace has more information to poinpoint what is the problem.
Will create PR at the GitHub.
Changes made to the class org.apache.karaf.features.internal.service.FeatureConfigInstaller located at:
karaf/features/core/src/main/java/org/apache/karaf/features/internal/service/FeatureConfigInstaller.java
Changes ( at around line 102):
if (config.isExternal()) { try { props.load(new URL(val)); } catch (java.net.MalformedURLException e) { throw new IOException("Failed to load config info from URL [" + val + "] for feature [" + feature.getName() + "/" + feature.getVersion() + "]."); } } else { props.load(new StringReader(val)); }