I'm wondering how to deploy a jar-file with ssh though?
The mechanism to deploy jars appears to be different to deploying sites.
Is there a way to use ssh with jar:deploy?
Thx,
Dominik
On Mon, 2003-09-15 at 13:54, Hagelski wrote:
> I was having similar problems with that, so I resorted to some interaction
> with the system:
>
> <goal name="web1-deploy">
> <j:set var="project.contextroot" value="/"/>
> <attainGoal name="web1-init"/>
> <attainGoal name="war"/>
>
> <exec dir="${maven.build.dir}" executable="scp">
> <arg line="${maven.war.final.name}"/>
> <arg line="
> [EMAIL PROTECTED]:/usr/java/jboss/server/default/deploy/${maven.war.fi
> nal.name}"/>
> </exec>
> </goal>
>
> when the exec occurs, I get prompted for my password.
>
> the ssh-agent idea looks good too, think I'll check that out myself.
>
> ----- Original Message -----
> From: "Henri Yandell" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 5:42 AM
> Subject: Re: Making CVS Repostory Connection
>
>
> >
> > Use an ssh-agent. If on Windows, look into PAgent, from the makers of
> > Putty.
> >
> > Hen
> >
> > On Mon, 15 Sep 2003, S. Radhakrishnan wrote:
> >
> > > Hi all,
> > >
> > > I just wanted to have changelog report. I have mentioned the connection
> > > parameter
> > > as,
> > >
> > > scm:cvs:ext:[EMAIL PROTECTED]:/cvs/root:module-name
> > >
> > > Now, it requires password to be entered for user whenver I am executing
> > > "maven site".
> > >
> > > Can we pass the password with the command or Can the password be stored
> in
> > > some files??
> > >
> > > Please help me out.
> > >
> > > RK.
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]