You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@karaf.apache.org by Jean-Baptiste Onofré <jb...@nanthrax.net> on 2017/03/01 10:05:13 UTC

Re: Maven deploy direct to Karaf instance?

Weird, I already did it AFAIR (but maybe upload to deploy and not system).

Let me improve that.

Regards
JB

On 02/28/2017 11:16 PM, zeiss wrote:
> 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.
>

-- 
Jean-Baptiste Onofr
jbonofre@apache.org
http://blog.nanthrax.net
Talend - http://www.talend.com

Re: Maven deploy direct to Karaf instance?

Posted by zeiss <ze...@tut.by>.
It does not matter which directory once creation of additional directories is
required, does it? scp directly to system works just fine.


jbonofre wrote
> Weird, I already did it AFAIR (but maybe upload to deploy and not system).





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