Hello,
In the process of the migration of my application from karaf 2.3.x to karaf
2.4.x, i have an issue with the local maven settings, which are now ignored.
Karaf 2.4 use pax-url-aether, which resolve the file settings.xml with
something like this :
String fileName = System.getProperty("user.home") + "/.m2/settings.xml";
URL url = new File(fileName).toURI().toURL().toExternalForm();
String filePath = url.getPath();
File settingsFile = new File(filePath);
url.getPath() doesn't work (at least on my system) : space are quoted with
'%20', which is not interpreted correctly by the filesystem api.
I have to update my startup.properties to move from pax-url-aether to the
old one pax-url-mvn to make it works. I haven't found a similar issue in
jira (karaf, or ops4j). Unfortunaly, i can't impose the location of the
localrepo or settings.xml in my target environment.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Karaf-2-4-0-Maven-settings-and-space-in-folder-tp4035538.html
Sent from the Karaf - User mailing list archive at Nabble.com.