[jitsi-dev] dev Digest, Vol 44, Issue 24


#1

I tired running that but get this error

INFO] Scanning for projects...
[INFO]
[INFO]

···

------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:get (default-cli) @ standalone-pom
---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.741s
[INFO] Finished at: Tue Nov 08 11:19:12 GMT 2016
[INFO] Final Memory: 8M/102M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on
project standalone-pom: The parameters 'repositoryUrl' for goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or
invalid -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException

On Tue, Nov 8, 2016 at 11:00 AM, <dev-request@jitsi.org> wrote:

Send dev mailing list submissions to
        dev@jitsi.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.jitsi.org/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
        dev-request@jitsi.org

You can reach the person managing the list at
        dev-owner@jitsi.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."

Today's Topics:

   1. Re: Error installed jicofo (Guus der Kinderen)

----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Nov 2016 10:36:52 +0100
From: Guus der Kinderen <guus.der.kinderen@gmail.com>
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Error installed jicofo
Message-ID:
        <CAMJaV9kFdx9ZWq4BbgR6kjO0Xn3DQrsvOa-ycVPgM_gLMnz8nw@mail.
gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Adam,

That error indicates that you need an additional Ant library, a library
that integrates with Maven.

To download that library, execute this:

$ mvn dependency:get -DartifactId=maven-ant-tasks
-DgroupId=org.apache.maven -Dversion=2.1.3

Then, you should be able to re-run ant, providing a reference to that
library that you just downloaded in your local maven repo:

$ ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3
your-ant-target

Hope this helps!

  Guus

On 8 November 2016 at 10:22, Adam Barnett <adambarnett52@gmail.com> wrote:

> I tired to do the following
>
> - apt-get install default-jdk ant
> - git clone https://github.com/jitsi/jicofo.git
> - cd jicofo && ant dist.{os-name}
>
> ``
> Buildfile: /usr/share/jicofo/build.xml
>
> BUILD FAILED
> /usr/share/jicofo/build.xml:54: 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
> place.
> 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
> -/root/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Total time: 1 second
>
>
> I know i can run it mnaully which seems to work
>
> mvn -U clean package -DskipTests -Dassembly.skipAssembly=false
>
> but then the next line of the docs do not relate
>
> cd dist/{os-name}'./jicofo.sh --domain=jitsi.example.com
--secret=YOURSECRET2 --user_domain=auth.jitsi.example.com
--user_name=focus --user_password=YOURSECRET3
>
>
>
> Any help would me much appreciated
> --
> Adam Barnett
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jitsi.org/pipermail/dev/attachments/
20161108/57622594/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dev mailing list
dev@jitsi.org
http://lists.jitsi.org/mailman/listinfo/dev

------------------------------

End of dev Digest, Vol 44, Issue 24
***********************************

--
Adam Barnett


#2

Try executing it from within the same directory as the one that holds the
pom.xml project file. Alternatively, download it from the central Maven
repository:
https://mvnrepository.com/artifact/org.apache.maven/maven-ant-tasks/2.1.3

- Guus

···

On 8 November 2016 at 12:24, Adam Barnett <adambarnett52@gmail.com> wrote:

I tired running that but get this error

INFO] Scanning for projects...
[INFO]
[INFO] ------------------------------------------------------------
------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO] ------------------------------------------------------------
------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:get (default-cli) @ standalone-pom
---
[INFO] ------------------------------------------------------------
------------
[INFO] BUILD FAILURE
[INFO] ------------------------------------------------------------
------------
[INFO] Total time: 3.741s
[INFO] Finished at: Tue Nov 08 11:19:12 GMT 2016
[INFO] Final Memory: 8M/102M
[INFO] ------------------------------------------------------------
------------
[ERROR] Failed to execute goal org.apache.maven.plugins:
maven-dependency-plugin:2.1:get (default-cli) on project standalone-pom:
The parameters 'repositoryUrl' for goal org.apache.maven.plugins:
maven-dependency-plugin:2.1:get are missing or invalid -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/
PluginParameterException

On Tue, Nov 8, 2016 at 11:00 AM, <dev-request@jitsi.org> wrote:

Send dev mailing list submissions to
        dev@jitsi.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.jitsi.org/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
        dev-request@jitsi.org

You can reach the person managing the list at
        dev-owner@jitsi.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."

Today's Topics:

   1. Re: Error installed jicofo (Guus der Kinderen)

----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Nov 2016 10:36:52 +0100
From: Guus der Kinderen <guus.der.kinderen@gmail.com>
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Error installed jicofo
Message-ID:
        <CAMJaV9kFdx9ZWq4BbgR6kjO0Xn3DQrsvOa-ycVPgM_gLMnz8nw@mail.gm
ail.com>
Content-Type: text/plain; charset="utf-8"

Hi Adam,

That error indicates that you need an additional Ant library, a library
that integrates with Maven.

To download that library, execute this:

$ mvn dependency:get -DartifactId=maven-ant-tasks
-DgroupId=org.apache.maven -Dversion=2.1.3

Then, you should be able to re-run ant, providing a reference to that
library that you just downloaded in your local maven repo:

$ ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3
your-ant-target

Hope this helps!

  Guus

On 8 November 2016 at 10:22, Adam Barnett <adambarnett52@gmail.com> >> wrote:

> I tired to do the following
>
> - apt-get install default-jdk ant
> - git clone https://github.com/jitsi/jicofo.git
> - cd jicofo && ant dist.{os-name}
>
> ``
> Buildfile: /usr/share/jicofo/build.xml
>
> BUILD FAILED
> /usr/share/jicofo/build.xml:54: 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
> place.
> 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
> -/root/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Total time: 1 second
>
>
> I know i can run it mnaully which seems to work
>
> mvn -U clean package -DskipTests -Dassembly.skipAssembly=false
>
> but then the next line of the docs do not relate
>
> cd dist/{os-name}'./jicofo.sh --domain=jitsi.example.com
--secret=YOURSECRET2 --user_domain=auth.jitsi.example.com
--user_name=focus --user_password=YOURSECRET3
>
>
>
> Any help would me much appreciated
> --
> Adam Barnett
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.jitsi.org/pipermail/dev/attachments/20161108/
57622594/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dev mailing list
dev@jitsi.org
http://lists.jitsi.org/mailman/listinfo/dev

------------------------------

End of dev Digest, Vol 44, Issue 24
***********************************

--
Adam Barnett

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


#3

And also make sure you are using latest maven from
https://maven.apache.org/. We have seen failures using maven coming
from ubuntu repos. If it still fails you can delete local m2 cache
(~/.m2).

···

On Tue, Nov 8, 2016 at 5:53 AM, Guus der Kinderen <guus.der.kinderen@gmail.com> wrote:

Try executing it from within the same directory as the one that holds the
pom.xml project file. Alternatively, download it from the central Maven
repository:
https://mvnrepository.com/artifact/org.apache.maven/maven-ant-tasks/2.1.3

- Guus

On 8 November 2016 at 12:24, Adam Barnett <adambarnett52@gmail.com> wrote:

I tired running that but get this error

INFO] Scanning for projects...
[INFO]
[INFO]
------------------------------------------------------------------------
[INFO] Building Maven Stub Project (No POM) 1
[INFO]
------------------------------------------------------------------------
[INFO]
[INFO] --- maven-dependency-plugin:2.1:get (default-cli) @ standalone-pom
---
[INFO]
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO]
------------------------------------------------------------------------
[INFO] Total time: 3.741s
[INFO] Finished at: Tue Nov 08 11:19:12 GMT 2016
[INFO] Final Memory: 8M/102M
[INFO]
------------------------------------------------------------------------
[ERROR] Failed to execute goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get (default-cli) on
project standalone-pom: The parameters 'repositoryUrl' for goal
org.apache.maven.plugins:maven-dependency-plugin:2.1:get are missing or
invalid -> [Help 1]
[ERROR]
[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]
[ERROR] For more information about the errors and possible solutions,
please read the following articles:
[ERROR] [Help 1]
http://cwiki.apache.org/confluence/display/MAVEN/PluginParameterException

On Tue, Nov 8, 2016 at 11:00 AM, <dev-request@jitsi.org> wrote:

Send dev mailing list submissions to
        dev@jitsi.org

To subscribe or unsubscribe via the World Wide Web, visit
        http://lists.jitsi.org/mailman/listinfo/dev
or, via email, send a message with subject or body 'help' to
        dev-request@jitsi.org

You can reach the person managing the list at
        dev-owner@jitsi.org

When replying, please edit your Subject line so it is more specific
than "Re: Contents of dev digest..."

Today's Topics:

   1. Re: Error installed jicofo (Guus der Kinderen)

----------------------------------------------------------------------

Message: 1
Date: Tue, 8 Nov 2016 10:36:52 +0100
From: Guus der Kinderen <guus.der.kinderen@gmail.com>
To: Jitsi Developers <dev@jitsi.org>
Subject: Re: [jitsi-dev] Error installed jicofo
Message-ID:

<CAMJaV9kFdx9ZWq4BbgR6kjO0Xn3DQrsvOa-ycVPgM_gLMnz8nw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Adam,

That error indicates that you need an additional Ant library, a library
that integrates with Maven.

To download that library, execute this:

$ mvn dependency:get -DartifactId=maven-ant-tasks
-DgroupId=org.apache.maven -Dversion=2.1.3

Then, you should be able to re-run ant, providing a reference to that
library that you just downloaded in your local maven repo:

$ ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3
your-ant-target

Hope this helps!

  Guus

On 8 November 2016 at 10:22, Adam Barnett <adambarnett52@gmail.com> >>> wrote:

> I tired to do the following
>
> - apt-get install default-jdk ant
> - git clone https://github.com/jitsi/jicofo.git
> - cd jicofo && ant dist.{os-name}
>
> ``
> Buildfile: /usr/share/jicofo/build.xml
>
> BUILD FAILED
> /usr/share/jicofo/build.xml:54: 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
> place.
> 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
> -/root/.ant/lib
> -a directory added on the command line with the -lib argument
>
> Total time: 1 second
>
>
> I know i can run it mnaully which seems to work
>
> mvn -U clean package -DskipTests -Dassembly.skipAssembly=false
>
> but then the next line of the docs do not relate
>
> cd dist/{os-name}'./jicofo.sh --domain=jitsi.example.com
> --secret=YOURSECRET2 --user_domain=auth.jitsi.example.com --user_name=focus
> --user_password=YOURSECRET3
>
>
>
> Any help would me much appreciated
> --
> Adam Barnett
>
> _______________________________________________
> dev mailing list
> dev@jitsi.org
> Unsubscribe instructions and other list options:
> http://lists.jitsi.org/mailman/listinfo/dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
<http://lists.jitsi.org/pipermail/dev/attachments/20161108/57622594/attachment-0001.html>

------------------------------

Subject: Digest Footer

_______________________________________________
dev mailing list
dev@jitsi.org
http://lists.jitsi.org/mailman/listinfo/dev

------------------------------

End of dev Digest, Vol 44, Issue 24
***********************************

--
Adam Barnett

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

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