Maven ( pom.xml) for RTC Plain Java API
2 answers
![](http://jazz.net/_images/myphoto/12ab4422d3e754bd5c4649ee83242c44.jpg)
Thanks Scott,
Here is what I have done.
1) Unzip the RTC-Client-plainJavaLib-4.0.zip in a directory,
2) Created Dependency: for i in `ls -1 *jar`; do name=$i ; echo "<dependency> <groupId> $name </groupId><artifactId>$name</artifactId><version>4.0</version></dependency>";done
Copied the output of above command into pom.xml.
3) Maven install
for i in `ls -1 *jar`; do echo $i; mvn install:install-file -Dfile=$i -DgroupId=$i -DartifactId=$i -Dversion=4.0 -Dpackaging=jar ;done
Here is what I have done.
1) Unzip the RTC-Client-plainJavaLib-4.0.zip in a directory,
2) Created Dependency: for i in `ls -1 *jar`; do name=$i ; echo "<dependency> <groupId> $name </groupId><artifactId>$name</artifactId><version>4.0</version></dependency>";done
Copied the output of above command into pom.xml.
3) Maven install
for i in `ls -1 *jar`; do echo $i; mvn install:install-file -Dfile=$i -DgroupId=$i -DartifactId=$i -Dversion=4.0 -Dpackaging=jar ;done
![](http://jazz.net/_images/myphoto/12ab4422d3e754bd5c4649ee83242c44.jpg)
Hi Desh,
The Plain Java Client Libraries is not a maven project, so there is no pom.xml for them. However, if your project is using maven, you can include the libraries into your project's pom.xml. This thread describes some approaches.
http://stackoverflow.com/questions/364114/can-i-add-jars-to-maven-2-build-classpath-without-installing-them
Hope that helps,
Scott
The Plain Java Client Libraries is not a maven project, so there is no pom.xml for them. However, if your project is using maven, you can include the libraries into your project's pom.xml. This thread describes some approaches.
http://stackoverflow.com/questions/364114/can-i-add-jars-to-maven-2-build-classpath-without-installing-them
Hope that helps,
Scott