Asterisk-JTAPI Build Notes

This note describes how to build a project jar file.

Prerequisites

You need maven 2 for the build. Please note that the version numbers may be out of date in this document. Please take a look at the generated dependencies information page.

Install Needed Jars

The needed 3rd party jars are not in a maven repository, so you have to install them manually.

gjtapi: mvn install:install-file -Dfile=gjtapi-1.8.jar -DgroupId=gjtapi -DartifactId=gjtapi -Dversion=1.8 -Dpackaging=jar

jtapi: mvn install:install-file -Dfile=jtapi-1.3.1.jar -DgroupId=javax.telephony -DartifactId=jtapi -Dversion=1.3.1 -Dpackaging=jar

asterisk-java: mvn install:install-file -Dfile=asterisk-java-0.2.jar -DgroupId=asterisk-java -DartifactId=asterisk-java -Dversion=0.2 -Dpackaging=jar

Build the Jar File

Run mvn jar to build the jar file from the source.