zze-Amicom HUGONNET E ext RD-TECH a écrit :
Hi,
I'm trying to get the Jabber Notifier working on Continuum 1.0.3.
If I define the notifier by using the web interface all is working fine :).
But, alas, I want to define my notifier with my POM.xml so I have defined in my application.xml :
<component>
      <role>org.codehaus.plexus.notification.notifier.Notifier</role>
      <role-hint>jabber</role-hint>
      ......
      <configuration>
        <alwaysSend>true</alwaysSend>
      </configuration>
    </component>
<component>
<role>org.codehaus.plexus.jabber.JabberClient</role> <implementation>org.codehaus.plexus.jabber.DefaultJabberClient</implementation>
      <configuration>
        <sslConnection>false</sslConnection>
        <user>continuumUser</user>
        <password>continuumPassword</password>
        <imDomainName>myDomain</imDomainName>
        <port>myPort</port>
        <host>myServer</host>
      </configuration>
    </component>

and in my POM.xml :
<!-- Gestion pour l'intégration continue -->
    <ciManagement>
        <system>continuum</system>
        <url>http://localhost:8080/continuum</url>
        <notifiers>
            <notifier>
                <type>mail</type>
                <configuration>
                    <address>myadress</address>
                </configuration>
            </notifier>
            <notifier>
                <type>jabber</type>
<configuration> <address>[EMAIL PROTECTED]</address>
                </configuration>
            </notifier>
        </notifiers>
    </ciManagement>

but I don't see the jabber notifier in the web interface, I just see the mail notifier :( and after the build nothing is send thought Jabber :( I can't find some working example of this configuration. I would like to know if such a configuration is possible. And if yes, where I am missing something.
Thanks,
Emmanuel



Well I have found the solution:
        - Remove the configuration in the JabberClient component
        - add the following notifier in my POM
<notifier>
        <type>jabber</type>
        <configuration>
                <sslConnection>false</sslConnection>
                <isGroup>false</isGroup>
                <login>myLogin</login>
                <password>myPassword</password>
                <domainName>myDomain</domainName>
                <port>myPort</port>
                <host>myHost</host>
                <address>myJabberRecipeint</address>
        </configuration>
</notifier>

Reply via email to