Maven Cipango Plugin Configuration Guide

This plugin is based on Maven Jetty Plugin, most of the options available on jetty plugin are also available.

To run a sip application from a maven project,

  1. you have to add in your pom:
      <build>
        ...
        <plugins>  
          <plugin>
            <groupId>org.cipango</groupId>
            <artifactId>maven-cipango-plugin</artifactId>
         </plugin>
        </plugins>
      </build>
    
  2. execute the command:
    mvn cipango:run

As Cipango is not available yet on public maven repositories, to use this plugin, you must download cipango sources and install it

How to configure the plugin

Container Configuration

Webapp Configuration
<project>
  ...
  <plugins>
    ...
      <plugin>
        <groupId>org.cipango</groupId>
        <artifactId>maven-cipango-plugin</artifactId>
        <configuration>
          <scanIntervalSeconds>5</scanIntervalSeconds>
          <!-- Http configuration -->
          <connectors>
            <connector implementation="org.mortbay.jetty.nio.SelectChannelConnector">
              <port>9090</port>
              <maxIdleTime>60000</maxIdleTime>
            </connector>
          </connectors>
          <!-- SIP configuration -->
          <sipConnectors>
            <sipConnector implementation="org.cipango.sip.UdpConnector">
              <port>5060</port>
            </sipConnector>
          </sipConnectors>
          <messageLog implementation="org.cipango.log.MessageLog">
            <filename>target/logs/yyyy_mm_dd.message.log</filename>
            <retainDays>90</retainDays>
            <append>true</append>
          </messageLog>
        </configuration>
      </plugin>
  </plugins>
</project>