You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by "S. Radhakrishnan" <ra...@bsil.com> on 2003/09/04 12:15:52 UTC

FW: Regarding Maven Enhancements.

Hi,

I am using Maven beta 10. In that I had the following requirements.

1. Sending email if build fails.
2. Apply custom filters. say for e.g if I say @CVS@index.html it will
filtered as <a href="www.viewcvs.com/index.html">index.html</a>.

When I refer the project documentation, I came to know that, the
nagEmailAddress in project.xml is to notify the build. I don't think its
working.(or I don't know how to make it to work?) Thats why I have modified
the plugin maven-java-plugin to send an email if build fails. Mail
information like from address, to address, subject, message, host and port
can be set in project.properties. Can I upload to Maven community????

Also, I have modififed maven-xdoc-plugin in order to have custom filters (as
I said already).

Please sugggest me the way to upload the things to maven community and I
want to be the part of Maven contributors......


Looking forward to hear from you..

Regards,
Radhakrishnan, (RK).
Software Engineer,
Blue Star Infotech Ltd,
Mumbai - 400096.
Maharastra State.
INDIA.


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by jeff grant <ma...@jeffgrant.com>.
Depending on your security requirements, you might try what I've 
done, which is set it up so that my account uses certificate 
authentication instead of password when connecting into the remote 
box, which allows rsynch, ssh, and scp to connect in without 
requiring any user input.

This is particularly handy for taking the nightly builds (as well as 
reporting output from Together and Maven) and deploying them to our 
development web server via a cron job, or as the result of a CVS or 
Cruise Control action.

You can find out more about how to configure it (for *nix, anyway) at 
http://www.asitis.org/archives/000063.html  (turned up from a quick 
Google search, and appears to be "all there")


We've even got our Maven repository (http) being kept in CVS, so that 
whenever a change is made to that repository, a new rsynch is done to 
the web server (they can only write files or create directories that 
aren't already there).  This means that our (distributed) development 
team has control over the remote repository using their CVS access, 
without having to worry about any kind of special or additional 
access to our web server boxes.  It also stops them from bugging me 
in order to put up new jars all the time.  ;)


$0.02



...jeff




At 05:54 -0700 9/15/03, 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="
>root@web1.ias.csusb.edu:/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.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
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" <Do...@cs.tcd.ie>
> To: "Maven Users List" <us...@maven.apache.org>
> 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="
> > >
> root@web1.ias.csusb.edu:/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" <ba...@generationjava.com>
> > > To: "Maven Users List" <us...@maven.apache.org>;
> <ra...@bsil.com>
> > > 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:user@host:/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: users-unsubscribe@maven.apache.org
> > > > > For additional commands, e-mail: users-help@maven.apache.org
> > > > >
> > > >
> > > >
> > > > ---------------------------------------------------------------------
> > > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by khote <kh...@mminternet.com>.
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" <Do...@cs.tcd.ie>
To: "Maven Users List" <us...@maven.apache.org>
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="
> >
root@web1.ias.csusb.edu:/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" <ba...@generationjava.com>
> > To: "Maven Users List" <us...@maven.apache.org>;
<ra...@bsil.com>
> > 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:user@host:/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: users-unsubscribe@maven.apache.org
> > > > For additional commands, e-mail: users-help@maven.apache.org
> > > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by Dominik Dahlem <Do...@cs.tcd.ie>.
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="
> root@web1.ias.csusb.edu:/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" <ba...@generationjava.com>
> To: "Maven Users List" <us...@maven.apache.org>; <ra...@bsil.com>
> 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:user@host:/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: users-unsubscribe@maven.apache.org
> > > For additional commands, e-mail: users-help@maven.apache.org
> > >
> >
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by Hagelski <ha...@hotmail.com>.
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="
root@web1.ias.csusb.edu:/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" <ba...@generationjava.com>
To: "Maven Users List" <us...@maven.apache.org>; <ra...@bsil.com>
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:user@host:/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: users-unsubscribe@maven.apache.org
> > For additional commands, e-mail: users-help@maven.apache.org
> >
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Making CVS Repostory Connection

Posted by Henri Yandell <ba...@generationjava.com>.
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:user@host:/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: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Making CVS Repostory Connection

Posted by "S. Radhakrishnan" <ra...@bsil.com>.
Hi all,

I just wanted to have changelog report. I have mentioned the connection
parameter
as,

scm:cvs:ext:user@host:/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: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org


Re: Regarding Maven Enhancements.

Posted by Emmanuel Venisse <ev...@ifrance.com>.
----- Original Message ----- 
From: "S. Radhakrishnan" <ra...@bsil.com>
To: <us...@maven.apache.org>
Sent: Thursday, September 04, 2003 12:15 PM
Subject: FW: Regarding Maven Enhancements.


> Hi,
>
> I am using Maven beta 10. In that I had the following requirements.
>
> 1. Sending email if build fails.
> 2. Apply custom filters. say for e.g if I say @CVS@index.html it will
> filtered as <a href="www.viewcvs.com/index.html">index.html</a>.
>
> When I refer the project documentation, I came to know that, the
> nagEmailAddress in project.xml is to notify the build. I don't think its
> working.(or I don't know how to make it to work?) Thats why I have
modified
> the plugin maven-java-plugin to send an email if build fails. Mail
> information like from address, to address, subject, message, host and port
> can be set in project.properties. Can I upload to Maven community????

nagEmailAddress is used by gump and cruisecontrol plugins.
Maven doesn't send mail because it's the work of a continuous integration
tool like CruiseControl (http://cruisecontrol.sourceforge.net/,
http://maven.apache.org/reference/plugins/cruisecontrol/index.html)

>
> Also, I have modififed maven-xdoc-plugin in order to have custom filters
(as
> I said already).
>
> Please sugggest me the way to upload the things to maven community and I
> want to be the part of Maven contributors......

You can create issues on Jira


_____________________________________________________________________
Envie de discuter en "live" avec vos amis ? Télécharger MSN Messenger
http://www.ifrance.com/_reloc/m la 1ère messagerie instantanée de France


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
For additional commands, e-mail: users-help@maven.apache.org