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,
- add it in your POM file:
- start the plugin:
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
- sipConnectors optional. List of sip connectors to use. If none are configured then UDP and TCP connectors at port 5060 and on first public address. You can override this default port number and host by using the system properties sip.port and sip.host on the command line, eg: mvn -Dsip.port=9999 -Dsip.host=localhost cipango:run.
- messageLog optional. The sip messages logger to use. If none are configured, then a file message logger is created in the directory <code>target/logs</code>.
- connectors, jettyConfig, scanIntervalSeconds, systemProperties, userRealms As described in the Maven Jetty Plugin.
Webapp Configuration
- sipDefaultXml optional. A sipdefault.xml file to use instead of the default for the sipapp.
- overrideSipXml optional. A sip.xml file to be applied AFTER the webapp's sip.xml file. Useful for applying different build profiles, eg test, production etc.
- annotationsEnabled optional. Allow to disable annotations parsing. true by default.
- contextPath, tmpDir, overrideWebXml, webDefaultXml As described in the Maven Jetty Plugin.
Configure with diameter support
To enable diameter support with maven plugin, the following configuration should be used.
pom.xml
etc/diameter-mavenPlugin.xml
Labels:
None
