[ 
http://jira.codehaus.org/browse/MCHANGES-79?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Dennis Lundberg updated MCHANGES-79:
------------------------------------

    Component/s: announcement

> Allow for overriding the announcement email from address
> --------------------------------------------------------
>
>                 Key: MCHANGES-79
>                 URL: http://jira.codehaus.org/browse/MCHANGES-79
>             Project: Maven 2.x Changes Plugin
>          Issue Type: New Feature
>          Components: announcement
>            Reporter: Alexander Schwartz
>
> Currently the goal {{changes:announcement-mail}} uses the email address of 
> the first developer found in the pom as the from address of the announcement 
> email. Very often a project is released by a developer that is not the first 
> on in the list of developers in the pom -- which results is an announcement 
> email with awron, confusing from address. (Of course one can change the list 
> of developers for each release, or add a dummy developer "buildmaster" as the 
> first one in the developer list, but this is not my preferred option).
> The maven1 announcement plugin has a parameter {{from}} which allows to 
> specify a different from address.
> I suggest to add an optional parameter {{fromAdress}} to the goal 
> {{changes:announcement-mail}}  of the {{maven-changes-plugin}} such that one
> can specify the sender as follows:
> {noformat}
> <project>
>   ...
>   <build>
>     <plugins>
>       <plugin>
>         <groupId>org.apache.maven.plugins</groupId>
>         <artifactId>maven-changes-plugin</artifactId>
>         <configuration>
>             <fromAddress>
>                  [EMAIL PROTECTED]
>            </fromAddress>
>         </configuration>
>       </plugin>
>     </plugins>
>   </build>
>   ...
> </project>
> {noformat}
>  If the paremter {{fromAdress}}  is given its content is taken as the the 
> sender address of the announcement mail. If the option is not specified, the 
> fallback is the email address of the first developer in the POM. 

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to