RE: AddressException in notifying with multiple email addresses
Jonathan, I tried to follow your example but it does not work for me. What is your experience? You talked about some problems with parent poms. I have a definition in the parent pom for ciManagement and that works with a single mailing list for all sendOns. After reading your email I tried to re-define the ciManagement notification in a child pom. That did not work as hoped. Do you think re-defining give problems? Should I remove the ciManagement from the parent pom in total and define it in every single child pom? Thanks for sharing any experience with that matter. Regards, Andreas -Original Message- From: Johnson, Jonathan [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 10:48 AM To: continuum-users@maven.apache.org Subject: RE: AddressException in notifying with multiple email addresses Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly since. (A comma separate list is really not a good idea since it circumvents the advantages of well-formed and repeatable XML elements.) ciManagement systemContinuum/system urlhttp://yourcontinuumservermachine:8080/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccesstrue/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier /notifiers /ciManagement I tried adding this notifiers list to the parent POM.XML but that did not work. I had to add it to each sub-module pom.xml. I also tried referencing the list of the developers ids in my parent pom to get their emails but that did not work either. From what I have experienced the developers list and the notifiers lists are separate even though some of the information is duplicated and cannot be connected. Good luck/ - Jonathan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:34 PM To: continuum-users@maven.apache.org Subject: AddressException in notifying with multiple email addresses Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua [EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve [EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera @no.com Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinu umNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/rol e /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name
Re: AddressException in notifying with multiple email addresses
OK, here it is. http://jira.codehaus.org/browse/CONTINUUM-860 I hope this doesn't seem a rude question, but what is the plan regarding the Maven Repository Manager? Is it competition, a replacement, a substitute? There are a couple of questions I have about possible functionality enhancements. Regards Adam Emmanuel Venisse wrote: Please, file an issue. Emmanuel Johnson, Jonathan a écrit : Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly since. (A comma separate list is really not a good idea since it circumvents the advantages of well-formed and repeatable XML elements.) ciManagement systemContinuum/system urlhttp://yourcontinuumservermachine:8080/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccesstrue/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier /notifiers /ciManagement I tried adding this notifiers list to the parent POM.XML but that did not work. I had to add it to each sub-module pom.xml. I also tried referencing the list of the developers ids in my parent pom to get their emails but that did not work either. From what I have experienced the developers list and the notifiers lists are separate even though some of the information is duplicated and cannot be connected. Good luck/ - Jonathan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:34 PM To: continuum-users@maven.apache.org Subject: AddressException in notifying with multiple email addresses Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua [EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve [EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera @no.com Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinu umNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/rol e /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component roleorg.codehaus.plexus.notification.RecipientSource/role implementationorg.apache.maven.continuum.notification.ContinuumRecipie ntSource/implementation configuration !-- Setting this propery will make Continuum send all
Re: AddressException in notifying with multiple email addresses
Adam Hardy a écrit : OK, here it is. http://jira.codehaus.org/browse/CONTINUUM-860 Thanks. I hope this doesn't seem a rude question, but what is the plan regarding the Maven Repository Manager? Is it competition, a replacement, a substitute? There are a couple of questions I have about possible functionality enhancements. The new name of MAven Repository Manager is Archiva. If you have questions about it, you can send a mail to archiva-users@maven.apache.org Emmanuel Regards Adam Emmanuel Venisse wrote: Please, file an issue. Emmanuel Johnson, Jonathan a écrit : Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly since. (A comma separate list is really not a good idea since it circumvents the advantages of well-formed and repeatable XML elements.) ciManagement systemContinuum/system urlhttp://yourcontinuumservermachine:8080/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccesstrue/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier /notifiers /ciManagement I tried adding this notifiers list to the parent POM.XML but that did not work. I had to add it to each sub-module pom.xml. I also tried referencing the list of the developers ids in my parent pom to get their emails but that did not work either. From what I have experienced the developers list and the notifiers lists are separate even though some of the information is duplicated and cannot be connected. Good luck/ - Jonathan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:34 PM To: continuum-users@maven.apache.org Subject: AddressException in notifying with multiple email addresses Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua [EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve [EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera @no.com Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinu umNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/rol e /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component
AddressException in notifying with multiple email addresses
Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED] Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinuumNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/role /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component roleorg.codehaus.plexus.notification.RecipientSource/role implementationorg.apache.maven.continuum.notification.ContinuumRecipientSource/implementation configuration !-- Setting this propery will make Continuum send all emails to this address instead the address specified in the project configuration -- to-override/to-override /configuration /component component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSender/implementation configuration smtp-hostlocalhost/smtp-host smtp-port25/smtp-port sslProvidercom.sun.net.ssl.internal.ssl.Provider/sslProvider usernamesoa/username passwordsoa1/password sslModefalse/sslMode /configuration /component jvm 1| 2006-09-08 17:44:17,616 [Thread-2] INFO ContinuumBuildExecutor:maven2 - Exit code: 1 jvm 1| 2006-09-08 17:44:17,920 [Thread-2] INFO Notifier:mail - Sending message: From '[EMAIL PROTECTED] [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,920 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,921 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail - Recipient: To '[EMAIL PROTECTED]'. jvm 1| DEBUG: JavaMail version 1.3.2 jvm 1| DEBUG: java.io.FileNotFoundException: /ctxtools/jdk1.5.0_06/jre/lib/javamail.providers (No such file or directory) jvm 1| DEBUG: !anyLoaded jvm 1| DEBUG: not loading resource: /META-INF/javamail.providers jvm 1| DEBUG: successfully loaded resource: /META-INF/javamail.default.providers jvm 1| DEBUG: Tables of loaded providers jvm 1| DEBUG: Providers Listed By Class Name: {com.sun.mail.smtp.SMTPSSLTransport=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc], com.sun.mail.smtp.SMTPTransport=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport,Sun Microsystems, Inc], com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun Microsystems, Inc], com.sun.mail.imap.IMAPStore=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], com.sun.mail.pop3.POP3Store=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun Microsystems, Inc]} jvm 1| DEBUG: Providers Listed By Protocol: {imaps=javax.mail.Provider[STORE,imaps,com.sun.mail.imap.IMAPSSLStore,Sun Microsystems, Inc], imap=javax.mail.Provider[STORE,imap,com.sun.mail.imap.IMAPStore,Sun Microsystems, Inc], smtps=javax.mail.Provider[TRANSPORT,smtps,com.sun.mail.smtp.SMTPSSLTransport,Sun Microsystems, Inc],
RE: AddressException in notifying with multiple email addresses
Adam, I had the same problem. I wanted to define the notifications in the POM and not through the Continuum admin screen. The whole comma (why not ';'?) separated list thing never worked for me. So in each of my sub module POM.XML files I added sections like this and it has worked perfectly since. (A comma separate list is really not a good idea since it circumvents the advantages of well-formed and repeatable XML elements.) ciManagement systemContinuum/system urlhttp://yourcontinuumservermachine:8080/continuum/url notifiers notifier typemail/type configuration address[EMAIL PROTECTED]/address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccessfalse/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier notifier typemail/type configuration address[EMAIL PROTECTED] /address /configuration sendOnErrortrue/sendOnError sendOnFailuretrue/sendOnFailure sendOnSuccesstrue/sendOnSuccess sendOnWarningtrue/sendOnWarning /notifier /notifiers /ciManagement I tried adding this notifiers list to the parent POM.XML but that did not work. I had to add it to each sub-module pom.xml. I also tried referencing the list of the developers ids in my parent pom to get their emails but that did not work either. From what I have experienced the developers list and the notifiers lists are separate even though some of the information is duplicated and cannot be connected. Good luck/ - Jonathan -Original Message- From: Adam Hardy [mailto:[EMAIL PROTECTED] Sent: Friday, September 08, 2006 1:34 PM To: continuum-users@maven.apache.org Subject: AddressException in notifying with multiple email addresses Hi Continuum People, I am looking at a problem whose solution has eluded me for the past couple of hours. I set up my continuum with a single notification address via the pom.xml and everything worked. I then added extra email addresses delimited by commas so: address[EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],jua [EMAIL PROTECTED]/address and continuum 1.0.3 seemed to like it and picked it up and displayed it in the project config. Javamail 1.3.2 though does not like it. I get the stack trace: javax.mail.internet.AddressException: Illegal route-addr in string [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cerve [EMAIL PROTECTED]'' (see more log output below). Interestingly sendmail on my linux box where continuum runs is quite happy with the format: [EMAIL PROTECTED]:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail [EMAIL PROTECTED],[EMAIL PROTECTED],[EMAIL PROTECTED],juan.cervera @no.com Lastly, here's the application.xml for the notification. Any help gratefully received. Adam !-- | The mail notifier |-- component roleorg.codehaus.plexus.notification.notifier.Notifier/role role-hintmail/role-hint implementationorg.apache.maven.continuum.notification.mail.MailContinu umNotifier/implementation requirements requirement roleorg.codehaus.plexus.velocity.VelocityComponent/role /requirement requirement roleorg.apache.maven.continuum.store.ContinuumStore/role /requirement requirement roleorg.codehaus.plexus.mailsender.MailSender/role /requirement requirement roleorg.apache.maven.continuum.configuration.ConfigurationService/rol e /requirement /requirements configuration from-mailbox/from-mailbox from-name/from-name timestamp-formatEEE, d MMM HH:mm:ss Z/timestamp-format includeBuildResulttrue/includeBuildResult alwaysSendtrue/alwaysSend /configuration /component component roleorg.codehaus.plexus.notification.RecipientSource/role implementationorg.apache.maven.continuum.notification.ContinuumRecipie ntSource/implementation configuration !-- Setting this propery will make Continuum send all emails to this address instead the address specified in the project configuration -- to-override/to-override /configuration /component component roleorg.codehaus.plexus.mailsender.MailSender/role implementationorg.codehaus.plexus.mailsender.javamail.JavamailMailSend er/implementation configuration smtp-hostlocalhost/smtp-host smtp-port25/smtp-port