Return-Path: Delivered-To: apmail-maven-continuum-users-archive@www.apache.org Received: (qmail 71144 invoked from network); 11 Sep 2006 11:43:45 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Sep 2006 11:43:45 -0000 Received: (qmail 17543 invoked by uid 500); 11 Sep 2006 11:43:42 -0000 Delivered-To: apmail-maven-continuum-users-archive@maven.apache.org Received: (qmail 17526 invoked by uid 500); 11 Sep 2006 11:43:42 -0000 Mailing-List: contact continuum-users-help@maven.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: continuum-users@maven.apache.org Delivered-To: mailing list continuum-users@maven.apache.org Received: (qmail 17515 invoked by uid 99); 11 Sep 2006 11:43:42 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Sep 2006 04:43:42 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [62.193.206.9] (HELO webmail9.amenworld.com) (62.193.206.9) by apache.org (qpsmtpd/0.29) with SMTP; Mon, 11 Sep 2006 04:43:41 -0700 Received: (qmail 4693 invoked from network); 11 Sep 2006 11:43:23 -0000 Received: from 84.27.99-84.rev.gaoland.net (HELO ?127.0.0.1?) (84.99.27.84) by 0 with SMTP; 11 Sep 2006 11:43:23 -0000 Message-ID: <45054BD1.3040208@venisse.net> Date: Mon, 11 Sep 2006 13:43:13 +0200 From: Emmanuel Venisse User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) MIME-Version: 1.0 To: continuum-users@maven.apache.org Subject: Re: AddressException in notifying with multiple email addresses References: <4505139C.6060703@venisse.net> <450529C4.2080807@cyberspaceroad.com> In-Reply-To: <450529C4.2080807@cyberspaceroad.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N 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.) >>> >>> >>> Continuum >>> http://yourcontinuumservermachine:8080/continuum >>> >>> >>> mail >>> >>>
someone@company.com
>>>
>>> true >>> true >>> false >>> true >>>
>>> >>> mail >>> >>>
someoneelse@company.com
>>>
>>> true >>> true >>> false >>> true >>>
>>> >>> mail >>> >>>
anothercog@company.com
>>>
>>> true >>> true >>> true >>> true >>>
>>>
>>>
>>> >>> 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 >>> list and the lists are separate even though >>> some of the information is duplicated and cannot be connected. >>> >>> Good luck/ >>> >>> - Jonathan >>> >>> >>> -----Original Message----- >>> From: Adam Hardy [mailto:adam.maven@cyberspaceroad.com] 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: >>> >>> >>>
adam.hardy@no.com,robert.butcher@no.com,martin.jones@no.com,jua >>> n.cervera@no.com
>>> >>> 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 >>> ``adam.hardy@no.com,robert.butcher@no.com,martin.jones@no.com,juan.cerve >>> ra@no.com'' >>> >>> (see more log output below). >>> >>> Interestingly sendmail on my linux box where continuum runs is quite >>> happy with the format: >>> >>> soa@macari:/ctxtools/continuum-1.0.3$ /usr/sbin/sendmail >>> adam.hardy@no.com,robert.butcher@no.com,martin.jones@no.com,juan.cervera >>> @no.com >>> >>> Lastly, here's the application.xml for the notification. Any help >>> gratefully received. >>> >>> Adam >>> >>> >>> >>> org.codehaus.plexus.notification.notifier.Notifier >>> mail >>> >>> org.apache.maven.continuum.notification.mail.MailContinu >>> umNotifier >>> >>> >>> org.codehaus.plexus.velocity.VelocityComponent >>> >>> >>> org.apache.maven.continuum.store.ContinuumStore >>> >>> >>> org.codehaus.plexus.mailsender.MailSender >>> >>> >>> >>> org.apache.maven.continuum.configuration.ConfigurationService>> e> >>> >>> >>> >>> >>> >>> EEE, d MMM yyyy HH:mm:ss Z >>> true >>> true >>> >>> >>> >>> >>> org.codehaus.plexus.notification.RecipientSource >>> >>> org.apache.maven.continuum.notification.ContinuumRecipie >>> ntSource >>> >>> >>> >>> >>> >>> >>> >>> org.codehaus.plexus.mailsender.MailSender >>> >>> org.codehaus.plexus.mailsender.javamail.JavamailMailSend >>> er >>> >>> localhost >>> 25 >>> >>> com.sun.net.ssl.internal.ssl.Provider >>> soa >>> soa1 >>> false >>> >>> >>> >>> >>> >>> >>> >>> >>> >>> 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 '"Continuum@macari.uk.no.com" >>> >> a@no.com>'. >>> jvm 1 | 2006-09-08 17:44:17,920 [Thread-2] INFO Notifier:mail >>> - Recipient: To ''. >>> jvm 1 | 2006-09-08 17:44:17,921 [Thread-2] INFO Notifier:mail >>> - Recipient: To ''. >>> jvm 1 | 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail >>> - Recipient: To ''. >>> jvm 1 | 2006-09-08 17:44:17,922 [Thread-2] INFO Notifier:mail >>> - Recipient: To ''. >>> 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.s >>> un.mail.smtp.SMTPTransport,Sun Microsystems, Inc], >>> com.sun.mail.imap.IMAPSSLStore=javax.mail.Provider[STORE,imaps,com.sun.m >>> ail.imap.IMAPSSLStore,Sun Microsystems, Inc], >>> com.sun.mail.pop3.POP3SSLStore=javax.mail.Provider[STORE,pop3s,com.sun.m >>> ail.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,Su >>> n 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.SMTPSSLTrans >>> port,Sun Microsystems, Inc], >>> pop3=javax.mail.Provider[STORE,pop3,com.sun.mail.pop3.POP3Store,Sun >>> Microsystems, Inc], >>> pop3s=javax.mail.Provider[STORE,pop3s,com.sun.mail.pop3.POP3SSLStore,Sun >>> >>> Microsystems, Inc], >>> smtp=javax.mail.Provider[TRANSPORT,smtp,com.sun.mail.smtp.SMTPTransport, >>> Sun Microsystems, Inc]} >>> jvm 1 | DEBUG: successfully loaded resource: >>> /META-INF/javamail.default.address.map >>> jvm 1 | DEBUG: !anyLoaded >>> jvm 1 | DEBUG: not loading resource: /META-INF/javamail.address.map >>> jvm 1 | DEBUG: java.io.FileNotFoundException: >>> /ctxtools/jdk1.5.0_06/jre/lib/javamail.address.map (No such file or >>> directory) >>> jvm 1 | DEBUG: setDebug: JavaMail version 1.3.2 >>> jvm 1 | 2006-09-08 17:44:18,087 [Thread-2] ERROR >>> ContinuumNotificationDispatcher - Error while trying to use the >>> mailnotifier. >>> jvm 1 | org.codehaus.plexus.notification.NotificationException: >>> Exception while sending message. >>> jvm 1 | at >>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM >>> essage(MailContinuumNotifier.java:403) >>> jvm 1 | at >>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.build >>> Complete(MailContinuumNotifier.java:307) >>> jvm 1 | at >>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendN >>> otification(MailContinuumNotifier.java:202) >>> jvm 1 | at >>> org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp >>> atcher.sendNotification(DefaultContinuumNotificationDispatcher.java:173) >>> jvm 1 | at >>> org.apache.maven.continuum.notification.DefaultContinuumNotificationDisp >>> atcher.buildComplete(DefaultContinuumNotificationDispatcher.java:96) >>> jvm 1 | at >>> org.apache.maven.continuum.buildcontroller.DefaultBuildController.build( >>> DefaultBuildController.java:378) >>> jvm 1 | at >>> org.apache.maven.continuum.buildcontroller.BuildProjectTaskExecutor.exec >>> uteTask(BuildProjectTaskExecutor.java:47) >>> jvm 1 | at >>> org.codehaus.plexus.taskqueue.execution.ThreadedTaskQueueExecutor$Execut >>> orRunnable.run(ThreadedTaskQueueExecutor.java:103) >>> jvm 1 | at java.lang.Thread.run(Thread.java:595) >>> jvm 1 | Caused by: >>> org.codehaus.plexus.mailsender.MailSenderException: Error while >>> sending mail. >>> jvm 1 | at >>> org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(Javamail >>> MailSender.java:217) >>> jvm 1 | at >>> org.apache.maven.continuum.notification.mail.MailContinuumNotifier.sendM >>> essage(MailContinuumNotifier.java:399) >>> jvm 1 | ... 8 more >>> jvm 1 | Caused by: javax.mail.internet.AddressException: Illegal >>> route-addr in string >>> ``adam.hardy@no.com,robert.butcher@no.com,martin.jones@no.com,juan.cerve >>> ra@no.com'' >>> jvm 1 | at >>> javax.mail.internet.InternetAddress.checkAddress(InternetAddress.java:85 >>> 7) >>> jvm 1 | at >>> javax.mail.internet.InternetAddress.parse(InternetAddress.java:793) >>> jvm 1 | at >>> javax.mail.internet.InternetAddress.parse(InternetAddress.java:529) >>> jvm 1 | at >>> javax.mail.internet.InternetAddress.(InternetAddress.java:65) >>> jvm 1 | at >>> org.codehaus.plexus.mailsender.javamail.JavamailMailSender.send(Javamail >>> MailSender.java:160) >>> jvm 1 | ... 9 more >>> jvm 1 | 2006-09-08 17:44:46,382 [SocketListener0-1] ERROR >>> VelocityComponent - RHS of #set statement is null. >>> Context will not be modified. screens/ProjectBuild.vm [line 103, >>> column 3] >>> >>> >>> LEGAL NOTICE: >>> Unless expressly stated otherwise, this message is confidential and >>> may be privileged. It is intended for the addressee(s) only. Access >>> to this e-mail by anyone else is unauthorized. If you are not an >>> addressee, any disclosure or copying of the contents or any action >>> taken (or not taken) in reliance on it is unauthorized and may be >>> unlawful. If you are not an addressee, please inform the sender >>> immediately. >>> >>> >>> >>> >>> >> >> > > > >