With Continuum 1.1, I have two build definitions for one project - one for hourly builds and the other for a daily full build. We want different email addresses for each build definition. We tried configuring the notifier address in the pom as a property ${smx.project.build.email} and then passing the value as an argument in the Continuum build definition. However, with no mail received we found the log indicates errors below. Is there a better way for Continuum to handle this?
INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Sending message: From '"[EMAIL PROTECTED]"<${smx.project.build.email}>'. INFO | jvm 1 | 2008/02/12 15:45:33 | 2008-02-12 15:45:33,265 [pool-1-thread-1] INFO org.codehaus.plexus.notification.notifier.Notifier:mail - Recipient: To '<${smx.project.build.email}>'. INFO | jvm 1 | 2008/02/12 15:45:33 | 2008-02-12 15:45:33,577 [pool-1-thread-1] ERROR org.apache.maven.continuum.notification.ContinuumNotificationDispatcher:default - Error while trying to use the mail notifier. INFO | jvm 1 | 2008/02/12 15:45:33 | org.codehaus.plexus.notification.NotificationException: Exception while sending message. INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:566) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.buildComplete(MailContinuumNotifier.java:387) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.no tification.mail.MailContinuumNotifier.sendNotification(MailContinuumNotifier.java:254) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:199) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.sendNotification(DefaultContinuumNotificationDispatcher.java:151) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.DefaultContinuumNotificationDispatcher.buildComplete(DefaultContinuumNotificationDispatcher.java:103) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.DefaultBuildController.endBuild(DefaultBuildController.java:221) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.DefaultBuildController.build(DefaultBuildController.java:175) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.executeTask(BuildProjectTaskExecutor.java:50) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$ExecutorRunnable$1.run(ThreadedTaskQueueExecutor.java:116) INFO | jvm 1 | 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:442) INFO | jvm 1 | 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.FutureTask.run(FutureTask.java:176) INFO | jvm 1 | 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:665) INFO | jvm 1 | 2008/02/12 15:45:33 | at edu.emory.mathcs.backport.java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:690) INFO | jvm 1 | 2008/02/12 15:45:33 | at java.lang.Thread.run(Thread.java:619) INFO | jvm 1 | 2008/02/12 15:45:33 | Caused by: org.codehaus.plexus.mailsender.MailSenderException: Error while sending the message. INFO | jvm 1 | 2008/02/12 15:45:33 | at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:221) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendMessage(MailContinuumNotifier.java:562) INFO | jvm 1 | 2008/02/12 15:45:33 | ... 14 more INFO | jvm 1 | 2008/02/12 15:45:33 | Caused by: com.sun.mail.smtp.SMTPSendFailedException: 553 5.5.4 <${smx.project.build.email}>... Domain name required for sender address ${smx.project.build.email} INFO | jvm 1 | 2008/02/12 15:45:33 | INFO | jvm 1 | 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.issueSendCommand(SMTPTransport.java:1388) INFO | jvm 1 | 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.mailFrom(SMTPTransport.java:959) INFO | jvm 1 | 2008/02/12 15:45:33 | at com.sun.mail.smtp.SMTPTransport.sendMessage(SMTPTransport.java:583) INFO | jvm 1 | 2008/02/12 15:45:33 | at org.codehaus.plexus.mailsender.javamail.AbstractJavamailMailSender.send(AbstractJavamailMailSender.java:214) -- View this message in context: http://www.nabble.com/notifier-email-address-as-property-giving-error-tp15471893p15471893.html Sent from the Continuum - Users mailing list archive at Nabble.com.