[jitsi-dev] Problem about building jitsi-videobridge.


#1

Hi Dear Jitsi developers,

How are you doing?

I am very interested in the Jitsi project in CentOS7, but when I follow the
build.xml to build jitsi-videobridge, something went wrong. When I ran "mvn
dependency:get -DartifactId=maven-ant-tasks -DgroupId=org.apache.maven
-Dversion=2.1.3", it gave me error as below:

"
[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]
"

And once I specified " -DrepoUrl='
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/' ", I
have the
"~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar",
but when I did "ant -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3/", it says
"/root/Jitsi/jitsi-videobridge/build.xml:52: Problem: failed to create task
or type antlib:org.apache.maven.artifact.ant:dependencies", behaves as
there is no maven-ant-tasks-2.1.3.jar file.

I'm not familiar with maven/ant, could you please remind me where I did
wrong?

Thanks so much for your help~

Best,
Yisheng


#2

Hi Yisheng,

Hi Dear Jitsi developers,

I'm a user not on the bluejimp team, but may be able to help.

How are you doing?

I am very interested in the Jitsi project in CentOS7, but when I
follow the build.xml to build jitsi-videobridge, something went wrong.
When I ran "mvn dependency:get -DartifactId=maven-ant-tasks
-DgroupId=org.apache.maven -Dversion=2.1.3", it gave me error as
below:

"
[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]

"

And once I specified "
-DrepoUrl='https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/' ", I have the "~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar",
but when I did "ant -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3/", it says
"/root/Jitsi/jitsi-videobridge/build.xml:52: Problem: failed to create
task or type antlib:org.apache.maven.artifact.ant:dependencies",
behaves as there is no maven-ant-tasks-2.1.3.jar file.

I'm not familiar with maven/ant, could you please remind me where I
did wrong?

What worked for me was to put the maven-ant-tasks jar in ~/.ant/lib,
made sure I had both maven and ant bin directories on my PATH, and then
ran these to build:

    mvn clean test
    ant dist -Dbuild.label="$(git show --abbrev-commit | head -1 | cut
-d' ' -f 2)"

There is probably a better way, but above might be worth trying.

Cheers,

Jesse

···

On Mon, 2015-11-23 at 14:53 -0500, Yisheng Yang wrote:

Thanks so much for your help~

Best,
Yisheng
_______________________________________________
dev mailing list
dev@jitsi.org
Unsubscribe instructions and other list options:
http://lists.jitsi.org/mailman/listinfo/dev