You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@maven.apache.org by Dennis Lundberg <de...@apache.org> on 2007/07/08 14:52:39 UTC

Re: [m2] changes-maven-plugin - announcement-mail

Hi

I'm going through the issues for maven-changes-plugin and found this old 
mail, marked as something to have look at.

The reason that your configuration is not working, is that the elements 
in the from List are complex objects. They are actually 
project.developers.developer object. From this the e-mail address and 
name is extracted and used when sending the announcement mail.

Have a look at this JIRA issue which deals with this:
   http://jira.codehaus.org/browse/MCHANGES-79

Please make any comment you might have on that issue so that it is 
preserved for future reference.


Fred.Hauschel@KabelDeutschland.de wrote:
> Hi, 
> how can I configure the 'from' ?
> 
> Do it like this:
> 
> 				<configuration>
> 					<xmlPath>${basedir}/src/changes</xmlPath>
> 					<smtpHost>xx.xx.xx.xx</smtpHost>
> 					<smtpPort implementation="java.lang.Integer">
> 						xx
> 					</smtpPort>
> 
> 					<from>
> 						<item implementation="java.lang.String">xyz@xx.de</item>
> 					</from>
> 					
> 					<toAddresses>
> 						<toAddress implementation="java.lang.String">
> 							xyz@xx.de
> 						</toAddress>
> 						<toAddress implementation="java.lang.String">
> 							xyz2@xx.de
> 						</toAddress>
> 					</toAddresses>
> 				</configuration>
> 
> doesn't works ;-(
> It takes always the first developert from ${project.developers}
> 
> Fredy
>  
> 
> Kabel Deutschland bietet Ihnen Internet, Telefonieren und Fernsehen aus einer Hand. Informieren Sie sich über unsere Produkte unter 
> 
> www.kabeldeutschland.de
>  
> Diese E-Mail und etwaige Anhänge enthalten vertrauliche und/oder rechtlich geschützte Informationen. Wenn Sie nicht der richtige Adressat sind, benachrichtigen Sie bitte den Absender und vernichten Sie anschließend diese Mail und die Anlagen.
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@maven.apache.org
> For additional commands, e-mail: users-help@maven.apache.org
> 


-- 
Dennis Lundberg


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