continuum-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mac-Systems <mac-syst...@mac-systems.de>
Subject Re: Always send EMail missing in 1.1 beta 2
Date Fri, 07 Sep 2007 12:43:17 GMT
hmm, i compared continuum 1.0.3 config which 1.1 beta 2.

Where to config the smtp host ?


1.1. Beta 2 application.xml

    <!--
    | The mail notifier
    |-->
    <component>
      <role>org.codehaus.plexus.notification.notifier.Notifier</role>
      <role-hint>mail</role-hint>
      
<implementation>org.apache.maven.continuum.notification.mail.MailContinuumNotifier</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.velocity.VelocityComponent</role>
        </requirement>
        <requirement>
          <role>org.apache.maven.continuum.store.ContinuumStore</role>
          <role-hint>jdo</role-hint>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.mailsender.MailSender</role>
        </requirement>
        <requirement>
          
<role>org.apache.maven.continuum.configuration.ConfigurationService</role>
        </requirement>
        <requirement>
          <role>org.apache.maven.continuum.Continuum</role>
        </requirement>
      </requirements>
      <configuration>
        <from-mailbox></from-mailbox>
        <from-name></from-name>
        <timestamp-format>EEE d MMM yyyy HH:mm:ss Z</timestamp-format>
        <includeBuildResult>true</includeBuildResult>
*        <alwaysSend>true</alwaysSend>*
      </configuration>
    </component>

    <component>
      <role>org.codehaus.plexus.notification.RecipientSource</role>
      
<implementation>org.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>
      <role>org.codehaus.plexus.mailsender.MailSender</role>
      
<implementation>org.codehaus.plexus.mailsender.javamail.JndiJavamailMailSender</implementation>
      <configuration>
        <jndiSessionName>java:comp/env/mail/Session</jndiSessionName>
      </configuration>
    </component>

--- In Continuum 1.0.3

    <!--
    | The mail notifier
    |-->
    <component>
      <role>org.codehaus.plexus.notification.notifier.Notifier</role>
      <role-hint>mail</role-hint>
      
<implementation>org.apache.maven.continuum.notification.mail.MailContinuumNotifier</implementation>
      <requirements>
        <requirement>
          <role>org.codehaus.plexus.velocity.VelocityComponent</role>
        </requirement>
        <requirement>
          <role>org.apache.maven.continuum.store.ContinuumStore</role>
        </requirement>
        <requirement>
          <role>org.codehaus.plexus.mailsender.MailSender</role>
        </requirement>
        <requirement>
          
<role>org.apache.maven.continuum.configuration.ConfigurationService</role>
        </requirement>
      </requirements>
      <configuration>
        <from-mailbox></from-mailbox>
        <from-name></from-name>
        <timestamp-format>EEE, d MMM yyyy HH:mm:ss Z</timestamp-format>
        <includeBuildResult>true</includeBuildResult>
*        <alwaysSend>true</alwaysSend>*
      </configuration>
    </component>

    <component>
      <role>org.codehaus.plexus.notification.RecipientSource</role>
      
<implementation>org.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>
      <role>org.codehaus.plexus.mailsender.MailSender</role>
      
<implementation>org.codehaus.plexus.mailsender.javamail.JavamailMailSender</implementation>
      <configuration>
*        <smtp-host>mailserver.somehost.com</smtp-host>
        <smtp-port>25</smtp-port>
*        <sslProvider>com.sun.net.ssl.internal.ssl.Provider</sslProvider>
        <!--
        <username>mylogin</username>
        <password>mypassword</password>
        <sslMode>true</sslMode>
        -->
      </configuration>
    </component>


Seems continuum internal config changed a bit.
Anyone knows how to configure the SMTP Host and port ?

best regards,
Jens


> Thanks a lot, seems i was a bit blind to find that file ;)
>
> Wish a nice Weekend,
> Jens
>> Have a look in the webapp file 
>> WEB-INF/classes/META-INF/plexus/application.xml .
>>
>> -- 
>> Olivier
>> -----Message d'origine-----
>> De : Mac-Systems [mailto:mac-systems@mac-systems.de] Envoyé : 
>> vendredi 7 septembre 2007 10:26
>> À : continuum-users@maven.apache.org
>> Objet : Re: Always send EMail mitting in 1.1 beta 2
>>
>> Anyone knows about it ?
>>
>> regards,
>> Jens
>>  
>>> Hello,
>>>
>>> i there some similar property in 1.1.beta 2 like 
>>> <alwaysSend>true</alwaysSend> i found in 1.0.3 ?
>>>
>>> best regards,
>>> Jens
>>>
>>>
>>>
>>>     
>>
>>
>> This e-mail, any attachments and the information contained therein 
>> ("this message") are confidential and intended solely for the use of 
>> the addressee(s). If you have received this message in error please 
>> send it back to the sender and delete it. Unauthorized publication, 
>> use, dissemination or disclosure of this message, either in whole or 
>> in part is strictly prohibited.
>> --------------------------------------------------------------------------------------------------------------

>>
>> Ce message électronique et tous les fichiers joints ainsi que  les 
>> informations contenues dans ce message ( ci après "le message" ), 
>> sont confidentiels et destinés exclusivement à l'usage de la  
>> personne à laquelle ils sont adressés. Si vous avez reçu ce message 
>> par erreur, merci  de le renvoyer à son émetteur et de le détruire. 
>> Toutes diffusion, publication, totale ou partielle ou divulgation 
>> sous quelque forme que se soit non expressément autorisées de ce 
>> message, sont interdites.
>> -------------------------------------------------------------------------------------------------------------

>>
>>
>>
>>
>>   
>
>
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message