In addition to the above: no, Karaf scp cannot create folder. Because scp by
design does not handle creation of directories. Karaf, surely, could have a
special scp implementation, but it does not. A simple test like 'scp -P 8101
~/test.txt karaf_host:/system/test/test.txt' demonstrates this. It fails
with 'Can not write to system/test/test.txt'. This is another confirmation
that maven-deploy-plugin cannot deploy to Karaf, even if it worked solely
via scp.

I am wondering what is the purpose of having invalid and obviously not
working example in the Karaf documentation.




--
View this message in context: 
http://karaf.922171.n3.nabble.com/Maven-deploy-direct-to-Karaf-instance-tp4042149p4049696.html
Sent from the Karaf - User mailing list archive at Nabble.com.

Reply via email to