Hi,
If you do, mvn deploy:deploy-file with scp, Karaf scp can create folder
in the system folder (it's not ssh, it's scp).
So, it should work with scp, not with sshexe.
Regards
JB
On 02/27/2017 01:02 PM, zeiss wrote:
Hi Jean-Baptiste,
Maybe you could clarify one thing for me. Maven Deploy Plugin works with
files through Wagon providers. During deployment it has to create
directories as per standard Maven repository layout -
groupId/artifactId/version. If deployment is performed to remote host via
SCP, mkdir command is issued for that.
Now the thing that I don't understand. Karaf shell exposed through SSH is
not a POSIX-like shell. It does not provide commands like mkdir. Due to this
I cannot get deployment using Maven Deploy Plugin working - it simply fails
on attempt to create a directory.
I am curious how that deployment example from the documentation could
possibly work.
Thanks.
--
View this message in context:
http://karaf.922171.n3.nabble.com/Maven-deploy-direct-to-Karaf-instance-tp4042149p4049676.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