Hi Jérémie,
C****y Windows OS ;)
Which path contains space ? the Karaf installation folder or your user
home ?
You mean that you can't force the localRepo and settings.xml in
etc/org.ops4j.pax.url.mvn.cfg ?
I will create a Jira at ops4j.
Regards
JB
On 09/26/2014 10:51 AM, j3rem1e wrote:
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.
--
Jean-Baptiste Onofré
[email protected]
http://blog.nanthrax.net
Talend - http://www.talend.com