Sending mail through maven2 using ant.

2008-06-16 Thread Shikha.Somani
I need to send mail containing attachments through maven2. There is no plugin available so I made an ant plugin to send mails. The build script could send mails containing attachments but using the same build as plugin in maven could not send attachments. There is certaing exception because of

Re: Sending mail through maven2 using ant.

2008-06-16 Thread Shikha.Somani
. This is discussed (and answer given to solve it) in the following JIRA: http://jira.codehaus.org/browse/MANTRUN-53 Wayne On 6/16/08, Shikha.Somani [EMAIL PROTECTED] wrote: I need to send mail containing attachments through maven2. There is no plugin available so I made an ant plugin to send mails

To set a value written in a different file in the pom.xml, at runtime

2008-05-29 Thread Shikha.Somani
Hello, I need to set a particular value in a tag in pom.xml at runtime. I tried to set the value through the MavenProject object but that value is not accessed by other tags at runtime. I have written the following code. /** * @parameter default-value=${project} * @required */

To set a value written in a different file in the pom.xml, at runtime

2008-05-29 Thread Shikha.Somani
Hello, I need to set a particular value in a tag in pom.xml at runtime. I tried to set the value through the MavenProject object but that value is not accessed by other tags at runtime. I have written the following code. /** * @parameter default-value=${project} * @required */