You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by John Menke <jm...@gmail.com> on 2006/02/18 04:55:37 UTC

how to customize the announce email generated from changes plugin

Does anyone know how to customize the email that is generated by the changes
plugin?

I am using Maven2.

Any help would be greatly appreciated.

-jm

Re: how to customize the announce email generated from changes plugin

Posted by Allan Ramirez <ar...@exist.com>.
If I recall correctly, you should create a .vm in your resource directory

for example
project
+--- src
       +---main
             +---resources
                    +---templateDir
                           +---mytemplate.vm

and configure changes plugin

<build>
    ...
    <plugins>
      <plugin>
            <groupId>org.codehaus.mojo</groupId>
            <artifactId>changes-maven-plugin</artifactId>
            <configuration>
                <templateDirectory>templateDir</templateDirectory>   
                <template>mytemplate.vm</template>
            </configuration>
       </plugin>
    </plugins>
</builld>

-allan


John Menke wrote:

>Does anyone know how to customize the email that is generated by the changes
>plugin?
>
>I am using Maven2.
>
>Any help would be greatly appreciated.
>
>-jm
>
>  
>