I want to deploy my jar into the remote repository. The jar plugin uses
a deploy task to do that. This task seems not to use ssh as compared to
the site:sshdeploy.
Can I get around it without changing the jar plugin?

Thx for any help,
Dominik


On Mon, 2003-09-15 at 16:18, khote wrote:
> just deploy the JAR the same as the WAR.  If you wan't it deployed in JBoss
> that is, if I'm understanding right.
> If you just want to push it into your remote repository that's a different
> story.
> 
> I found this: http://cwrulug.cwru.edu/docs/ssh-agent.html
> 
> and it seems to have worked for me.  Some of the other links don't do it
> right, I couldn't get the ssh-add to work.
> 
> ----- Original Message ----- 
> From: "Dominik Dahlem" <[EMAIL PROTECTED]>
> To: "Maven Users List" <[EMAIL PROTECTED]>
> Sent: Monday, September 15, 2003 8:17 AM
> Subject: Re: Making CVS Repostory Connection
> 
> 
> > 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]
> >
> 
> 
> ---------------------------------------------------------------------
> 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]

Reply via email to