sipXconfig maven2 based build
- From: Damian Krzeminski <damian (at) pingtel.com>
- Date: Thu, 02 Feb 2006 20:03:05 -0500
As a part of effort of cleaning dependencies and making sipXconfig build more distro independent (it
is java after all) I am experimenting with maven2 based build.
I checked in the pom.xml for neoconf to sipXconfig/3.3 branch (post 3.2 release stuff -
https://scm.sipfoundry.org/rep/sipX/branches/sipXconfig/3.3)
It's not ready yet but you should be able to compile the neoconf.jar.
This is what you need to do if you are eager to try:
1. get and install maven2 - http://maven.apache.org/
I put mine in /usr/local/maven-2.0.2/
and create links:
ln -s /usr/local/maven-2.0.2 /usr/local/maven
ln -s /usr/maven/bin/mvn /usr/local/bin
but do whatever works for you.
2. try
mvn compile
in neoconf directory (this takes about 5 minutes while it gets everything off the web - it's only
doing this once).
If your internet connection is as bad as mine you will have to try it couple of times if maven
complains that it cannot *download* something.
3. Finally at some point it's going to complain that it cannot *resolve* something:
[INFO] Failed to resolve artifact.
required artifacts missing:
This is Sun stuff that cannot be hosted in public maven repositories. Go to sipXconfig/lib and
execute the following:
mvn install:install-file -Dfile=jta.jar -DgroupId=javax.transaction -DartifactId=jta
-Dversion=1.0.1B -Dpackaging=jar
mvn install:install-file -Dfile=javamail-1.3.2.jar -DgroupId=javax.mail -DartifactId=mail
-Dversion=1.3.2 -Dpackaging=jar
mvn install:install-file -Dfile=activation-1.0.2.jar -DgroupId=javax.activation
-DartifactId=activation -Dversion=1.0.2 -Dpackaging=jar
4. get back to neoconf directory and try
mvn compile
you can also try:
mvn clean compile
And if you want to help and find out why tests are still not working try:
mvn test
Have fun.
Damian
_______________________________________________
sipx-dev mailing list
sipx-dev (at) list.sipfoundry.org
List Archive: http://list.sipfoundry.org/archive/sipx-dev