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,
<build> ... <plugins> <plugin> <groupId>org.cipango</groupId> <artifactId>maven-cipango-plugin</artifactId> </plugin> </plugins> </build> |
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 |
sip.port
and sip.host
on the command line, eg: mvn -Dsip.port=9999 -Dsip.host=localhost cipango:run
.true
by default.<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> |