You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Daniel Flesner <df...@rsasecurity.com> on 2004/02/18 00:59:04 UTC
maven jar:deploy and cygwin
when trying to deploy a jar from my windows box via cygwin the deploy
just hangs forever at the following line, any idea why jar:deploy via
cygwin isn't compatible with maven? i can do an scp manually to the same
machine and it works fine.
--------------
jar:jar:
[echo]
Moving target/maven-rsa-ext-1.0.jar to the
/export/repository/IMS/jars on merlot
Re: maven jar:deploy and cygwin
Posted by Daniel Flesner <df...@rsasecurity.com>.
thanks, this is the issue. i ran the ssh inside maven with verbose on
and it is trying to prompt for the remote password but maven has
redirect stdio.
Heiko Kundlacz wrote:
> Please use ssh-agent. Maven don't accepts input. I configured maven
> (start file) for use of ssh-agent. There is another posting with this
> subject.
>
> I have added following to maven (be sure to have put the certificates
> on the right place):
>
> echo "Starting SSH-Agent"
> if [ -z $SSH_AGENT_PID ]
> then
> echo " Starting SSH-Agent: "
> eval `ssh-agent`
> else
> echo "SSH_Agent already started!"
> echo "SSH Agent ID is $SSH_AGENT_PID"
> fi
>
> and after finished the start command:
>
> if [ ! -z $SSH_AGENT_PID ] ; then
> ssh-agent -k
> fi
>
>
>
>
> Daniel Flesner wrote:
>
>> when trying to deploy a jar from my windows box via cygwin the deploy
>> just hangs forever at the following line, any idea why jar:deploy via
>> cygwin isn't compatible with maven? i can do an scp manually to the
>> same machine and it works fine.
>>
>> --------------
>> jar:jar:
>>
>> [echo]
>> Moving target/maven-rsa-ext-1.0.jar to the
>> /export/repository/IMS/jars on merlot
>
>
>
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
Re: maven jar:deploy and cygwin
Posted by Heiko Kundlacz <he...@qnamic.com>.
Please use ssh-agent. Maven don't accepts input. I configured maven
(start file) for use of ssh-agent. There is another posting with this
subject.
I have added following to maven (be sure to have put the certificates on
the right place):
echo "Starting SSH-Agent"
if [ -z $SSH_AGENT_PID ]
then
echo " Starting SSH-Agent: "
eval `ssh-agent`
else
echo "SSH_Agent already started!"
echo "SSH Agent ID is $SSH_AGENT_PID"
fi
and after finished the start command:
if [ ! -z $SSH_AGENT_PID ] ; then
ssh-agent -k
fi
Daniel Flesner wrote:
> when trying to deploy a jar from my windows box via cygwin the deploy
> just hangs forever at the following line, any idea why jar:deploy via
> cygwin isn't compatible with maven? i can do an scp manually to the
> same machine and it works fine.
>
> --------------
> jar:jar:
>
> [echo]
> Moving target/maven-rsa-ext-1.0.jar to the
> /export/repository/IMS/jars on merlot
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org