[jitsi-dev] Building/running the videobridge


Sorry if this is a dumb question, I'm not very familiar with maven. I was
used to building and running the bridge (from source) by running:

*ant jar && ./jvb.sh --host=localhost --domain=blah --port=5347
--secret=blah --apis=rest,xmpp*

But when running 'ant jar' I get:
*/home/ubuntu/jitsi/jitsi-videobridge/build.xml:52: Problem: failed to
create task or type antlib:org.apache.maven.artifact.ant:dependencies*
*Cause: The name is undefined.*
*Action: Check the spelling.*
*Action: Check that any custom tasks/types have been declared.*
*Action: Check that any <presetdef>/<macrodef> declarations have taken
*No types or tasks have been defined in this namespace yet*

*This appears to be an antlib declaration.*
*Action: Check that the implementing library exists in one of:*
* -/usr/share/ant/lib*
* -/home/ubuntu/.ant/lib*
* -a directory added on the command line with the -lib argument*

I see in build.xml some instructions that seem to sync up with this (what
happened to the *README with all the build instructions, btw?):*
* Requires maven-ant-tasks to maintain this project's dependencies in
* pom.xml only and have the latter fetch them when necessary so that we
* have to commit dependent binaries in this project's repository.*
* To install maven-ant-tasks locally, run the following once:*
* mvn dependency:get -DartifactId=maven-ant-tasks
-DgroupId=org.apache.maven -Dversion=2.1.3*
* Then invoke Ant with the -lib command line argument pointing to the*
* directory which contains maven-ant-tasks as follows:*
* ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3
* -->*

So I tried running:
*mvn dependency:get -DartifactId=maven-ant-tasks -DgroupId=org.apache.maven

But I get:
*ubuntu@ip-10-205-1-95:~/jitsi/jitsi-videobridge$ mvn dependency:get
-DartifactId=maven-ant-tasks -DgroupId=org.apache.maven -Dversion=2.1.3*
*[INFO] Scanning for projects...*
*[WARNING] Some problems were encountered while building the effective
model for org.jitsi:jitsi-videobridge:jar:1.0-SNAPSHOT*
*[WARNING] 'build.plugins.plugin.version' for
org.codehaus.mojo:exec-maven-plugin is missing. @ line 262, column 15*
*[WARNING] 'build.plugins.plugin.version' for
org.apache.maven.plugins:maven-surefire-plugin is missing. @ line 253,
column 15*
*[WARNING] It is highly recommended to fix these problems because they
threaten the stability of your build.*
*[WARNING] For this reason, future Maven versions might no longer support
building such malformed projects.*


*[INFO] Building jitsi-videobridge 1.0-SNAPSHOT*
*[INFO] --- maven-dependency-plugin:2.1:get (default-cli) @
jitsi-videobridge ---*
*[INFO] Total time: 0.926s*
*[INFO] Finished at: Sat Oct 24 00:12:47 UTC 2015*
*[INFO] Final Memory: 8M/226M*
*[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on
project jitsi-videobridge: The parameters 'repositoryUrl' for goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or
invalid -> [Help 1]*
*[ERROR] To see the full stack trace of the errors, re-run Maven with the
-e switch.*
*[ERROR] Re-run Maven using the -X switch to enable full debug logging.*
*[ERROR] For more information about the errors and possible solutions,
please read the following articles:*
*[ERROR] [Help 1]

Not sure if:
1) There's some more setup I need to do for this to work
2) I caught master at a bad time and something is actually broken?
3) I'm an idiot and I've missed something obvious
4) all of the above