[jitsi-dev] Error compiling Jigasi


#1

Hi all!

I am trying to compile Jigasi in Debian Jessie but I get the following
error:

···

------------------------------------------------------------------------
jigasi@conference:~/jigasi$ ant make
Buildfile: /opt/jigasi/jigasi/build.xml

BUILD FAILED
/opt/jigasi/jigasi/build.xml:39: 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
        -/opt/jigasi/.ant/lib
        -a directory added on the command line with the -lib argument

Total time: 1 second
------------------------------------------------------------------------

Maybe I'm missing some dependency?

The line 39 on /opt/jigasi/jigasi/build.xml has this content:

------------------------------------------------------------------------
39 <maven-artifact:dependencies pathId="compile.classpath"
useScope="compile">
40 <pom file="pom.xml" />
41 </maven-artifact:dependencies>
------------------------------------------------------------------------

Thanks in advance.

Kind regards,
Daniel


#2

Hi,

Check out this: https://github.com/jitsi/jigasi/blob/master/build.xml#L14
You need to install maven-ant-tasks and use " -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3" when invoking
ant. Use the maven 3.3+ as older were causing troubles installing this
dependency.

Regards
damencho

···

On Fri, Apr 28, 2017 at 9:21 AM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

Hi all!

I am trying to compile Jigasi in Debian Jessie but I get the following
error:

------------------------------------------------------------------------
jigasi@conference:~/jigasi$ ant make
Buildfile: /opt/jigasi/jigasi/build.xml

BUILD FAILED
/opt/jigasi/jigasi/build.xml:39: 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
        -/opt/jigasi/.ant/lib
        -a directory added on the command line with the -lib argument

Total time: 1 second
------------------------------------------------------------------------

Maybe I'm missing some dependency?

The line 39 on /opt/jigasi/jigasi/build.xml has this content:

------------------------------------------------------------------------
39 <maven-artifact:dependencies pathId="compile.classpath"
useScope="compile">
40 <pom file="pom.xml" />
41 </maven-artifact:dependencies>
------------------------------------------------------------------------

Thanks in advance.

Kind regards,
Daniel

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


#3

Hi,

Hi, Damian.

Check out this: https://github.com/jitsi/jigasi/blob/master/build.xml#L14
You need to install maven-ant-tasks and use " -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3" when invoking
ant. Use the maven 3.3+ as older were causing troubles installing this
dependency.

Thanks for your reply.

Yes, investigating I was able solve the previous issue by installing the
maven-ant-tasks package however I got other errors. Regarding to " -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3", this would not
be necessary only if you manually get maven-ant-tasks and place it in
that path? Because the package uses a system path
(/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3).

···

On 28/04/17 11:35, Damian Minkov wrote:

-----------------------------------------------------------------------
root@conference:~# locate maven-ant-tasks
/usr/share/ant/lib/maven-ant-tasks.jar
/usr/share/doc/libmaven-ant-tasks-java
/usr/share/doc/libmaven-ant-tasks-java/README.Debian
/usr/share/doc/libmaven-ant-tasks-java/changelog.Debian.gz
/usr/share/doc/libmaven-ant-tasks-java/copyright
/usr/share/java/maven-ant-tasks-2.1.3.jar
/usr/share/java/maven-ant-tasks.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.pom
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian/maven-ant-tasks-debian.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian/maven-ant-tasks-debian.pom
/var/cache/apt/archives/libmaven-ant-tasks-java_2.1.3-3_all.deb
/var/lib/dpkg/info/libmaven-ant-tasks-java.list
/var/lib/dpkg/info/libmaven-ant-tasks-java.md5sums
root@conference:~# cat /etc/apt/sources.list
-----------------------------------------------------------------------

Here I have not installed the "maven" package. Is it necessary? But it
seems that the version available in Jessie is 3.0.5-3.

Kind regards,
Daniel


#4

Hi,

so isn't this working for you? $ ant rebuild -lib
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
I'm installing maven by downloading it from their website, adding it
to my path and I'm following the steps and paths that are referenced
in the build.xml, not sure how does that work when you install that
dependency from a package.

Regards
damencho

···

On Fri, Apr 28, 2017 at 11:27 AM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

On 28/04/17 11:35, Damian Minkov wrote:

Hi,

Hi, Damian.

Check out this: https://github.com/jitsi/jigasi/blob/master/build.xml#L14
You need to install maven-ant-tasks and use " -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3" when invoking
ant. Use the maven 3.3+ as older were causing troubles installing this
dependency.

Thanks for your reply.

Yes, investigating I was able solve the previous issue by installing the
maven-ant-tasks package however I got other errors. Regarding to " -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3", this would not
be necessary only if you manually get maven-ant-tasks and place it in
that path? Because the package uses a system path
(/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3).

-----------------------------------------------------------------------
root@conference:~# locate maven-ant-tasks
/usr/share/ant/lib/maven-ant-tasks.jar
/usr/share/doc/libmaven-ant-tasks-java
/usr/share/doc/libmaven-ant-tasks-java/README.Debian
/usr/share/doc/libmaven-ant-tasks-java/changelog.Debian.gz
/usr/share/doc/libmaven-ant-tasks-java/copyright
/usr/share/java/maven-ant-tasks-2.1.3.jar
/usr/share/java/maven-ant-tasks.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3/maven-ant-tasks-2.1.3.pom
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian/maven-ant-tasks-debian.jar
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/debian/maven-ant-tasks-debian.pom
/var/cache/apt/archives/libmaven-ant-tasks-java_2.1.3-3_all.deb
/var/lib/dpkg/info/libmaven-ant-tasks-java.list
/var/lib/dpkg/info/libmaven-ant-tasks-java.md5sums
root@conference:~# cat /etc/apt/sources.list
-----------------------------------------------------------------------

Here I have not installed the "maven" package. Is it necessary? But it
seems that the version available in Jessie is 3.0.5-3.

Kind regards,
Daniel

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


#5

Hi,

Hi, Damian.

Thanks for your reply.

so isn't this working for you? $ ant rebuild -lib
/usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
I'm installing maven by downloading it from their website, adding it
to my path and I'm following the steps and paths that are referenced
in the build.xml, not sure how does that work when you install that
dependency from a package.

I just installed Maven 3.3.9-3~bpo8+1 from Jessie's Backports
repositories. Before, I tried to compile with "ant make" without having
Maven installed. But the errors I got seem to be the same as the ones I
have now, having Maven installed (attached the output).

Maybe I'm missing something?

Kind regards,
Daniel

jigasi_build.asc (2.81 KB)

···

On 28/04/17 13:52, Damian Minkov wrote:


#6

Hi,

Seems there was an error downloading one of the dependencies, try
deleting ~/.m2 folder and try again.

Regards
damencho

···

On Fri, Apr 28, 2017 at 1:25 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

The maven version is:

Kaiduans-MacBook-Pro:jigasi kxie$ mvn -version

Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T15:39:06-04:00)

Maven home: /Users/kxie/apache-maven-3.5.0

Java version: 1.8.0_121, vendor: Oracle Corporation

Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre

Default locale: en_CA, platform encoding: UTF-8

OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"

On Fri, Apr 28, 2017 at 2:20 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Damencho,

I just did a fresh checkout of Jigai and build it on Mac, and got the same
error.

Please see the build log listed below.

/Kaiduan

Kaiduans-MacBook-Pro:jigasi kxie$ ant -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3

Buildfile: /Users/kxie/jitsi-source/jigasi/build.xml

[maven-artifact:dependencies] Downloading:
dom4j/dom4j/1.6.1/dom4j-1.6.1.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'dom4j:dom4j:pom:1.6.1' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
dom4j/dom4j/1.6.1/dom4j-1.6.1.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 7K from central

[maven-artifact:dependencies] Downloading:
org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.igniterealtime:tinder:pom:1.2.3' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 5K from central

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/5/oss-parent-5.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.sonatype.oss:oss-parent:pom:5' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/5/oss-parent-5.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 4K from central

[maven-artifact:dependencies] Downloading:
net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'net.jcip:jcip-annotations:pom:1.0' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom from repository
central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 0K from central

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-api:pom:1.7.7' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 3K from central

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-parent:pom:1.7.7' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom from repository central
at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 12K from central

[maven-artifact:dependencies] Downloading:
org/gnu/inet/libidn/1.15/libidn-1.15.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.gnu.inet:libidn:pom:1.15' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/gnu/inet/libidn/1.15/libidn-1.15.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 2K from central

[maven-artifact:dependencies] Downloading:
com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:pom:1.0_jdk5'
in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 8K from central

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom from repository sourceforge
at http://oss.sonatype.org/content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - RETRYING

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom from repository sourceforge
at http://oss.sonatype.org/content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - IGNORING

[maven-artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.

[maven-artifact:dependencies] Diagnosis:

[maven-artifact:dependencies]

[maven-artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project:
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5
for project
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]

[maven-artifact:dependencies] from the specified remote repositories:

[maven-artifact:dependencies] jitsi-maven-repository-snapshots
(https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

[maven-artifact:dependencies] jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

[maven-artifact:dependencies] central (http://repo1.maven.org/maven2),

[maven-artifact:dependencies] sonatype-nexus-snapshots
(https://oss.sonatype.org/content/repositories/snapshots)

[maven-artifact:dependencies]

[maven-artifact:dependencies] Path to dependency:

[maven-artifact:dependencies] 1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

[maven-artifact:dependencies] 2) org.igniterealtime:tinder:jar:1.2.3

[maven-artifact:dependencies]

[maven-artifact:dependencies]

[maven-artifact:dependencies] Not a v4.0.0 POM. for project
org.sonatype.oss:oss-parent at
/Users/kxie/.m2/repository/org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/Users/kxie/jitsi-source/jigasi/build.xml:39: Unable to resolve artifact:
Unable to get dependency information: Unable to read the metadata file for
artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project:
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5
for project
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

from the specified remote repositories:

  jitsi-maven-repository-snapshots
(https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

  jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots
(https://oss.sonatype.org/content/repositories/snapshots)

Path to dependency:

1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

2) org.igniterealtime:tinder:jar:1.2.3

Total time: 2 seconds

Kaiduans-MacBook-Pro:jigasi kxie$

On Fri, Apr 28, 2017 at 1:30 PM, Daniel Bareiro <daniel-listas@gmx.net> >> wrote:

On 28/04/17 13:52, Damian Minkov wrote:

> Hi,

Hi, Damian.

Thanks for your reply.

> so isn't this working for you? $ ant rebuild -lib
> /usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
> I'm installing maven by downloading it from their website, adding it
> to my path and I'm following the steps and paths that are referenced
> in the build.xml, not sure how does that work when you install that
> dependency from a package.

I just installed Maven 3.3.9-3~bpo8+1 from Jessie's Backports
repositories. Before, I tried to compile with "ant make" without having
Maven installed. But the errors I got seem to be the same as the ones I
have now, having Maven installed (attached the output).

Maybe I'm missing something?

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

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


#7

Damencho,

I just did a fresh checkout of Jigai and build it on Mac, and got the same
error.

Please see the build log listed below.

/Kaiduan

Kaiduans-MacBook-Pro:jigasi kxie$ ant -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3

Buildfile: /Users/kxie/jitsi-source/jigasi/build.xml

[maven-artifact:dependencies] Downloading:
dom4j/dom4j/1.6.1/dom4j-1.6.1.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'dom4j:dom4j:pom:1.6.1' in repository jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
dom4j/dom4j/1.6.1/dom4j-1.6.1.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 7K from central

[maven-artifact:dependencies] Downloading:
org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.igniterealtime:tinder:pom:1.2.3' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 5K from central

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/5/oss-parent-5.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.sonatype.oss:oss-parent:pom:5' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/5/oss-parent-5.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 4K from central

[maven-artifact:dependencies] Downloading:
net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'net.jcip:jcip-annotations:pom:1.0' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom from repository
central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 0K from central

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-api:pom:1.7.7' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 3K from central

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-parent:pom:1.7.7' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom from repository central
at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 12K from central

[maven-artifact:dependencies] Downloading:
org/gnu/inet/libidn/1.15/libidn-1.15.pom from repository
jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.gnu.inet:libidn:pom:1.15' in repository
jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
org/gnu/inet/libidn/1.15/libidn-1.15.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 2K from central

[maven-artifact:dependencies] Downloading:
com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:pom:1.0_jdk5'
in repository jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading:
com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 8K from central

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom from repository sourceforge
at http://oss.sonatype.org/content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - RETRYING

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom from repository sourceforge
at http://oss.sonatype.org/content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - IGNORING

[maven-artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.

[maven-artifact:dependencies] Diagnosis:

[maven-artifact:dependencies]

[maven-artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project:
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5
for project
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]

[maven-artifact:dependencies] from the specified remote repositories:

[maven-artifact:dependencies] jitsi-maven-repository-snapshots (
https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

[maven-artifact:dependencies] jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

[maven-artifact:dependencies] central (http://repo1.maven.org/maven2),

[maven-artifact:dependencies] sonatype-nexus-snapshots (
https://oss.sonatype.org/content/repositories/snapshots)

[maven-artifact:dependencies]

[maven-artifact:dependencies] Path to dependency:

[maven-artifact:dependencies] 1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

[maven-artifact:dependencies] 2) org.igniterealtime:tinder:jar:1.2.3

[maven-artifact:dependencies]

[maven-artifact:dependencies]

[maven-artifact:dependencies] Not a v4.0.0 POM. for project
org.sonatype.oss:oss-parent at
/Users/kxie/.m2/repository/org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/Users/kxie/jitsi-source/jigasi/build.xml:39: Unable to resolve artifact:
Unable to get dependency information: Unable to read the metadata file for
artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project:
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5
for project
com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5

from the specified remote repositories:

  jitsi-maven-repository-snapshots (
https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

  jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots (
https://oss.sonatype.org/content/repositories/snapshots)

Path to dependency:

1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

2) org.igniterealtime:tinder:jar:1.2.3

Total time: 2 seconds

Kaiduans-MacBook-Pro:jigasi kxie$

···

On Fri, Apr 28, 2017 at 1:30 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

On 28/04/17 13:52, Damian Minkov wrote:

> Hi,

Hi, Damian.

Thanks for your reply.

> so isn't this working for you? $ ant rebuild -lib
> /usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
> I'm installing maven by downloading it from their website, adding it
> to my path and I'm following the steps and paths that are referenced
> in the build.xml, not sure how does that work when you install that
> dependency from a package.

I just installed Maven 3.3.9-3~bpo8+1 from Jessie's Backports
repositories. Before, I tried to compile with "ant make" without having
Maven installed. But the errors I got seem to be the same as the ones I
have now, having Maven installed (attached the output).

Maybe I'm missing something?

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#8

The maven version is:

Kaiduans-MacBook-Pro:jigasi kxie$ mvn -version

*Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426;
2017-04-03T15:39:06-04:00)*

Maven home: /Users/kxie/apache-maven-3.5.0

Java version: 1.8.0_121, vendor: Oracle Corporation

Java home:
/Library/Java/JavaVirtualMachines/jdk1.8.0_121.jdk/Contents/Home/jre

Default locale: en_CA, platform encoding: UTF-8

OS name: "mac os x", version: "10.12.3", arch: "x86_64", family: "mac"

···

On Fri, Apr 28, 2017 at 2:20 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Damencho,

I just did a fresh checkout of Jigai and build it on Mac, and got the same
error.

Please see the build log listed below.

/Kaiduan

Kaiduans-MacBook-Pro:jigasi kxie$ ant -lib ~/.m2/repository/org/apache/
maven/maven-ant-tasks/2.1.3

Buildfile: /Users/kxie/jitsi-source/jigasi/build.xml

[maven-artifact:dependencies] Downloading: dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'dom4j:dom4j:pom:1.6.1' in repository jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: dom4j/dom4j/1.6.1/dom4j-1.6.1.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 7K from central

[maven-artifact:dependencies] Downloading: org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.igniterealtime:tinder:pom:1.2.3' in repository
jitsi-maven-repository-releases (https://github.com/jitsi/
jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: org/igniterealtime/tinder/1.2.3/tinder-1.2.3.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 5K from central

[maven-artifact:dependencies] Downloading: org/sonatype/oss/oss-parent/5/oss-parent-5.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.sonatype.oss:oss-parent:pom:5' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: org/sonatype/oss/oss-parent/5/oss-parent-5.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 4K from central

[maven-artifact:dependencies] Downloading: net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'net.jcip:jcip-annotations:pom:1.0' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: net/jcip/jcip-annotations/1.0/jcip-annotations-1.0.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 0K from central

[maven-artifact:dependencies] Downloading: org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-api:pom:1.7.7' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: org/slf4j/slf4j-api/1.7.7/slf4j-api-1.7.7.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 3K from central

[maven-artifact:dependencies] Downloading: org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.slf4j:slf4j-parent:pom:1.7.7' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: org/slf4j/slf4j-parent/1.7.7/slf4j-parent-1.7.7.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 12K from central

[maven-artifact:dependencies] Downloading: org/gnu/inet/libidn/1.15/libidn-1.15.pom
from repository jitsi-maven-repository-releases at
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'org.gnu.inet:libidn:pom:1.15' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: org/gnu/inet/libidn/1.15/libidn-1.15.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 2K from central

[maven-artifact:dependencies] Downloading: com/googlecode/
concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/
concurrentlinkedhashmap-lru-1.0_jdk5.pom from repository
jitsi-maven-repository-releases at https://github.com/jitsi/
jitsi-maven-repository/raw/master/releases/

[maven-artifact:dependencies] Unable to locate resource in repository

[maven-artifact:dependencies] [INFO] Unable to find resource
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:pom:1.0_jdk5'
in repository jitsi-maven-repository-releases (https://github.com/jitsi/
jitsi-maven-repository/raw/master/releases/)

[maven-artifact:dependencies] Downloading: com/googlecode/
concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/
concurrentlinkedhashmap-lru-1.0_jdk5.pom from repository central at
http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 8K from central

[maven-artifact:dependencies] Downloading: org/sonatype/oss/oss-parent/3/oss-parent-3.pom
from repository sourceforge at http://oss.sonatype.org/
content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - RETRYING

[maven-artifact:dependencies] Downloading: org/sonatype/oss/oss-parent/3/oss-parent-3.pom
from repository sourceforge at http://oss.sonatype.org/
content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - IGNORING

[maven-artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.

[maven-artifact:dependencies] Diagnosis:

[maven-artifact:dependencies]

[maven-artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project: com.googlecode.
concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5 for
project com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies] com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]

[maven-artifact:dependencies] from the specified remote repositories:

[maven-artifact:dependencies] jitsi-maven-repository-snapshots (
https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

[maven-artifact:dependencies] jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

[maven-artifact:dependencies] central (http://repo1.maven.org/maven2),

[maven-artifact:dependencies] sonatype-nexus-snapshots (
https://oss.sonatype.org/content/repositories/snapshots)

[maven-artifact:dependencies]

[maven-artifact:dependencies] Path to dependency:

[maven-artifact:dependencies] 1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

[maven-artifact:dependencies] 2) org.igniterealtime:tinder:jar:1.2.3

[maven-artifact:dependencies]

[maven-artifact:dependencies]

[maven-artifact:dependencies] Not a v4.0.0 POM. for project
org.sonatype.oss:oss-parent at /Users/kxie/.m2/repository/
org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/Users/kxie/jitsi-source/jigasi/build.xml:39: Unable to resolve artifact:
Unable to get dependency information: Unable to read the metadata file for
artifact 'com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar': Cannot find parent:
org.sonatype.oss:oss-parent for project: com.googlecode.
concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5 for
project com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar:1.0_jdk5

  com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:
jar:1.0_jdk5

from the specified remote repositories:

  jitsi-maven-repository-snapshots (https://github.com/jitsi/
jitsi-maven-repository/raw/master/snapshots/),

  jitsi-maven-repository-releases (https://github.com/jitsi/
jitsi-maven-repository/raw/master/releases/),

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots (https://oss.sonatype.org/
content/repositories/snapshots)

Path to dependency:

1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

2) org.igniterealtime:tinder:jar:1.2.3

Total time: 2 seconds

Kaiduans-MacBook-Pro:jigasi kxie$

On Fri, Apr 28, 2017 at 1:30 PM, Daniel Bareiro <daniel-listas@gmx.net> > wrote:

On 28/04/17 13:52, Damian Minkov wrote:

> Hi,

Hi, Damian.

Thanks for your reply.

> so isn't this working for you? $ ant rebuild -lib
> /usr/share/maven-repo/org/apache/maven/maven-ant-tasks/2.1.3
> I'm installing maven by downloading it from their website, adding it
> to my path and I'm following the steps and paths that are referenced
> in the build.xml, not sure how does that work when you install that
> dependency from a package.

I just installed Maven 3.3.9-3~bpo8+1 from Jessie's Backports
repositories. Before, I tried to compile with "ant make" without having
Maven installed. But the errors I got seem to be the same as the ones I
have now, having Maven installed (attached the output).

Maybe I'm missing something?

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#9

Hi, Kaiduan.

···

On 28/04/17 15:20, Kaiduan Xie wrote:

Damencho,

I just did a fresh checkout of Jigai and build it on Mac, and got the
same error.

Please see the build log listed below.

Thank you for confirming this issue. Either we are both missing the same
or there is some other problem :slight_smile:

Here is the information for my environment to compile:

------------------------------------------------------------------------
jigasi@conference:~$ mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.7.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix"
------------------------------------------------------------------------

Kind regards,
Daniel


#10

Hi,

Hi, Damian.

Seems there was an error downloading one of the dependencies, try
deleting ~/.m2 folder and try again.

Thanks for your reply.

Unfortunately that did not work. I attached the output of the compilation.

Kind regards,
Daniel

jigasi_build_1.asc (11.1 KB)

···

On 28/04/17 15:34, Damian Minkov wrote:


#11

Damencho,

I tried many times (delete .m2 folder totally, check out jigasi, install
maven-ant-task, ant build), all failed with same error.

I think I found out the reason,

The link http://oss.sonatype.org/content/groups/sourceforge/ returns from
browser

404 - Repository with ID="sourceforge" not found

Repository with ID="sourceforge" not found

Downloading: com/googlecode/concurrentlinkedhashmap/
concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
from repository central at http://repo1.maven.org/maven2

[maven-artifact:dependencies] Transferring 8K from central

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom
from repository sourceforge at http://oss.sonatype.org/
content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - RETRYING

[maven-artifact:dependencies] Downloading:
org/sonatype/oss/oss-parent/3/oss-parent-3.pom
from repository sourceforge at http://oss.sonatype.org/
content/groups/sourceforge/

[maven-artifact:dependencies] Transferring 0K from sourceforge

[maven-artifact:dependencies] [WARNING] *** CHECKSUM FAILED - Checksum
failed on download: local = '81ffbd1712afe8cdf138b570c0fc9934742c33c1';
remote = '<html>

[maven-artifact:dependencies] <head><title>301' - IGNORING

[maven-artifact:dependencies] An error has occurred while processing the
Maven artifact tasks.

[maven-artifact:dependencies] Diagnosis:

[maven-artifact:dependencies]

[maven-artifact:dependencies] Unable to resolve artifact: Unable to get
dependency information: Unable to read the metadata file for artifact
'com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar':
Cannot find parent: org.sonatype.oss:oss-parent for project: com.googlecode.
concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5 for
project com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:
jar:1.0_jdk5

[maven-artifact:dependencies] com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar:1.0_jdk5

[maven-artifact:dependencies]

[maven-artifact:dependencies] from the specified remote repositories:

[maven-artifact:dependencies] jitsi-maven-repository-snapshots (
https://github.com/jitsi/jitsi-maven-repository/raw/master/snapshots/),

[maven-artifact:dependencies] jitsi-maven-repository-releases (
https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/),

[maven-artifact:dependencies] central (http://repo1.maven.org/maven2),

[maven-artifact:dependencies] sonatype-nexus-snapshots (
https://oss.sonatype.org/content/repositories/snapshots)

[maven-artifact:dependencies]

[maven-artifact:dependencies] Path to dependency:

[maven-artifact:dependencies] 1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

[maven-artifact:dependencies] 2) org.igniterealtime:tinder:jar:1.2.3

[maven-artifact:dependencies]

[maven-artifact:dependencies]

[maven-artifact:dependencies] Not a v4.0.0 POM. for project
org.sonatype.oss:oss-parent at /Users/kxie/.m2/repository/
org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/Users/kxie/jitsi-source/jigasi/build.xml:39: Unable to resolve artifact:
Unable to get dependency information: Unable to read the metadata file for
artifact 'com.googlecode.concurrentlinkedhashmap:
concurrentlinkedhashmap-lru:jar': Cannot find parent:
org.sonatype.oss:oss-parent for project: com.googlecode.
concurrentlinkedhashmap:concurrentlinkedhashmap-lru:jar:1.0_jdk5 for
project com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:
jar:1.0_jdk5

  com.googlecode.concurrentlinkedhashmap:concurrentlinkedhashmap-lru:
jar:1.0_jdk5

from the specified remote repositories:

  jitsi-maven-repository-snapshots (https://github.com/jitsi/
jitsi-maven-repository/raw/master/snapshots/),

  jitsi-maven-repository-releases (https://github.com/jitsi/
jitsi-maven-repository/raw/master/releases/),

  central (http://repo1.maven.org/maven2),

  sonatype-nexus-snapshots (https://oss.sonatype.org/
content/repositories/snapshots)

Path to dependency:

1) org.jitsi:jigasi:jar:1.0-SNAPSHOT

2) org.igniterealtime:tinder:jar:1.2.3

···

On Fri, Apr 28, 2017 at 2:38 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

Hi, Kaiduan.

On 28/04/17 15:20, Kaiduan Xie wrote:
> Damencho,
>
> I just did a fresh checkout of Jigai and build it on Mac, and got the
> same error.
>
> Please see the build log listed below.

Thank you for confirming this issue. Either we are both missing the same
or there is some other problem :slight_smile:

Here is the information for my environment to compile:

------------------------------------------------------------------------
jigasi@conference:~$ mvn -version
Apache Maven 3.3.9
Maven home: /usr/share/maven
Java version: 1.7.0_121, vendor: Oracle Corporation
Java home: /usr/lib/jvm/java-7-openjdk-amd64/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.16.0-4-amd64", arch: "amd64", family: "unix"
------------------------------------------------------------------------

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#12

Is there a way to bypass this error? I am not an expert on Maven.

Kind of stuck here.

/Kaiduan

···

On Fri, Apr 28, 2017 at 2:45 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

On 28/04/17 15:34, Damian Minkov wrote:

> Hi,

Hi, Damian.

> Seems there was an error downloading one of the dependencies, try
> deleting ~/.m2 folder and try again.

Thanks for your reply.

Unfortunately that did not work. I attached the output of the compilation.

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#13

I removed the parent and the sourceforge repository in

.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/
concurrentlinkedhashmap-lru-1.0_jdk5.pom

and the build went through.

···

On Fri, Apr 28, 2017 at 3:09 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

Is there a way to bypass this error? I am not an expert on Maven.

Kind of stuck here.

/Kaiduan

On Fri, Apr 28, 2017 at 2:45 PM, Daniel Bareiro <daniel-listas@gmx.net> > wrote:

On 28/04/17 15:34, Damian Minkov wrote:

> Hi,

Hi, Damian.

> Seems there was an error downloading one of the dependencies, try
> deleting ~/.m2 folder and try again.

Thanks for your reply.

Unfortunately that did not work. I attached the output of the compilation.

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#14

Hi, Kaiduan.

···

On 28/04/17 16:44, Kaiduan Xie wrote:

I removed the parent and the sourceforge repository in

.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom

and the build went through.

Removing this block was enough?

-------------------------------------------------------------------------
<repositories>
    <repository>
      <id>sourceforge</id>
      <url>http://oss.sonatype.org/content/groups/sourceforge/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>maven2-repository.dev.java.net</id>
      <name>Java.net Repository for Maven</name>
      <url>http://download.java.net/maven/2/</url>
    </repository>
    <repository>
      <id>Forumarchivebuilder</id>
      <url>http://forumarchivebuilder.googlecode.com/svn/repository</url>
    </repository>
  </repositories>
-------------------------------------------------------------------------

Damian, how does it affect the modification suggested by Kaiduan?

Thanks for your reply.

Kind regards,
Daniel


#15

You also need to remove the parent part at the begin of that file.

I attach the modified file for reference.

concurrentlinkedhashmap-lru-1.0_jdk5.pom (7.72 KB)

···

On Fri, Apr 28, 2017 at 4:09 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

Hi, Kaiduan.

On 28/04/17 16:44, Kaiduan Xie wrote:

> I removed the parent and the sourceforge repository in
>
> .m2/repository/com/googlecode/concurrentlinkedhashmap/
concurrentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.
0_jdk5.pom
>
> and the build went through.

Removing this block was enough?

-------------------------------------------------------------------------
<repositories>
    <repository>
      <id>sourceforge</id>
      <url>http://oss.sonatype.org/content/groups/sourceforge/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>maven2-repository.dev.java.net</id>
      <name>Java.net Repository for Maven</name>
      <url>http://download.java.net/maven/2/</url>
    </repository>
    <repository>
      <id>Forumarchivebuilder</id>
      <url>http://forumarchivebuilder.googlecode.com/svn/repository</url>
    </repository>
  </repositories>
-------------------------------------------------------------------------

Damian, how does it affect the modification suggested by Kaiduan?

Thanks for your reply.

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#16

FYI.

I had a workable version downloaded on Linux on March 23 this year, so
https://oss.sonatype.org/content/groups/sourceforge/ was not available
after March 23.

kxie@kxie-Inspiron-3656:~/.m2/repository/com/googlecode/concurrentlinkedhashmap/concurrentlinkedhashmap-lru/1.0_jdk5$
ls -al
total 80
drwxrwxr-x 2 kxie kxie 4096 Apr 28 16:25 .
drwxrwxr-x 3 kxie kxie 4096 Mar 23 16:25 ..
-rw-rw-r-- 1 kxie kxie 39976 Mar 23 16:26
concurrentlinkedhashmap-lru-1.0_jdk5.jar
-rw-rw-r-- 1 kxie kxie 371 Mar 23 16:26
concurrentlinkedhashmap-lru-1.0_jdk5.jar.lastUpdated
-rw-rw-r-- 1 kxie kxie 40 Mar 23 16:26
concurrentlinkedhashmap-lru-1.0_jdk5.jar.sha1
-rw-rw-r-- 1 kxie kxie 8303 Mar 23 16:25
concurrentlinkedhashmap-lru-1.0_jdk5.pom
-rw-rw-r-- 1 kxie kxie 371 Mar 23 16:25
concurrentlinkedhashmap-lru-1.0_jdk5.pom.lastUpdated
-rw-rw-r-- 1 kxie kxie 40 Mar 23 16:25
concurrentlinkedhashmap-lru-1.0_jdk5.pom.sha1
-rw-rw-r-- 1 kxie kxie 233 Mar 23 16:26 _remote.repositories

···

On Fri, Apr 28, 2017 at 4:16 PM, Kaiduan Xie <kaiduanx@gmail.com> wrote:

You also need to remove the parent part at the begin of that file.

I attach the modified file for reference.

On Fri, Apr 28, 2017 at 4:09 PM, Daniel Bareiro <daniel-listas@gmx.net> > wrote:

Hi, Kaiduan.

On 28/04/17 16:44, Kaiduan Xie wrote:

> I removed the parent and the sourceforge repository in
>
> .m2/repository/com/googlecode/concurrentlinkedhashmap/concur
rentlinkedhashmap-lru/1.0_jdk5/concurrentlinkedhashmap-lru-1.0_jdk5.pom
>
> and the build went through.

Removing this block was enough?

-------------------------------------------------------------------------
<repositories>
    <repository>
      <id>sourceforge</id>
      <url>http://oss.sonatype.org/content/groups/sourceforge/</url>
      <releases>
        <enabled>true</enabled>
      </releases>
      <snapshots>
        <enabled>true</enabled>
      </snapshots>
    </repository>
    <repository>
      <id>maven2-repository.dev.java.net</id>
      <name>Java.net Repository for Maven</name>
      <url>http://download.java.net/maven/2/</url>
    </repository>
    <repository>
      <id>Forumarchivebuilder</id>
      <url>http://forumarchivebuilder.googlecode.com/svn/repository</url>
    </repository>
  </repositories>
-------------------------------------------------------------------------

Damian, how does it affect the modification suggested by Kaiduan?

Thanks for your reply.

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com

--
Founder of Goodstartsoft
https://www.goodstartsoft.com


#17

Hi, Kaiduan.

···

On 28/04/17 17:16, Kaiduan Xie wrote:

You also need to remove the parent part at the begin of that file.

I attach the modified file for reference.

Thank you very much. That seems to work:

---------------------------------------------------------------------
(...)
[maven-artifact:dependencies] [INFO] Unable to find resource
'org.hamcrest:hamcrest-core:jar:1.3' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)
[maven-artifact:dependencies] Downloading:
org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar from repository
central at http://repo1.maven.org/maven2
[maven-artifact:dependencies] Unable to locate resource in repository
[maven-artifact:dependencies] [INFO] Unable to find resource
'junit:junit:jar:4.11' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)
[maven-artifact:dependencies] Downloading:
junit/junit/4.11/junit-4.11.jar from repository central at
http://repo1.maven.org/maven2
[maven-artifact:dependencies] Transferring 312K from
jitsi-maven-repository-snapshots
[maven-artifact:dependencies] Transferring 44K from central
[maven-artifact:dependencies] Transferring 239K from central

compile:
    [mkdir] Created dir: /opt/jigasi/jigasi/classes
    [javac] /opt/jigasi/jigasi/build.xml:79: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds
    [javac] Compiling 22 source files to /opt/jigasi/jigasi/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar:
      [jar] Building jar: /opt/jigasi/jigasi/jigasi.jar

make:

BUILD SUCCESSFUL
Total time: 6 minutes 7 seconds
---------------------------------------------------------------------

Although I see several INFO messages saying "Unable to find resource".

Damian (or someone from the Jitsi development team), can this be a problem?

From what you say, Kaiduan, at some point this sourceforge repository
was operational. Maybe it's a temporary issue. The question is: is this
repository fundamental to the proper functioning of Jigasi?

Kind regards,
Daniel


#18

Hi,

Hi, Kaiduan.

You also need to remove the parent part at the begin of that file.

I attach the modified file for reference.

Thank you very much. That seems to work:

---------------------------------------------------------------------
(...)
[maven-artifact:dependencies] [INFO] Unable to find resource
'org.hamcrest:hamcrest-core:jar:1.3' in repository
jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)
[maven-artifact:dependencies] Downloading:
org/hamcrest/hamcrest-core/1.3/hamcrest-core-1.3.jar from repository
central at http://repo1.maven.org/maven2
[maven-artifact:dependencies] Unable to locate resource in repository
[maven-artifact:dependencies] [INFO] Unable to find resource
'junit:junit:jar:4.11' in repository jitsi-maven-repository-releases
(https://github.com/jitsi/jitsi-maven-repository/raw/master/releases/)
[maven-artifact:dependencies] Downloading:
junit/junit/4.11/junit-4.11.jar from repository central at
http://repo1.maven.org/maven2
[maven-artifact:dependencies] Transferring 312K from
jitsi-maven-repository-snapshots
[maven-artifact:dependencies] Transferring 44K from central
[maven-artifact:dependencies] Transferring 239K from central

compile:
    [mkdir] Created dir: /opt/jigasi/jigasi/classes
    [javac] /opt/jigasi/jigasi/build.xml:79: warning:
'includeantruntime' was not set, defaulting to build.sysclasspath=last;
set to false for repeatable builds
    [javac] Compiling 22 source files to /opt/jigasi/jigasi/classes
    [javac] Note: Some input files use unchecked or unsafe operations.
    [javac] Note: Recompile with -Xlint:unchecked for details.

jar:
      [jar] Building jar: /opt/jigasi/jigasi/jigasi.jar

make:

BUILD SUCCESSFUL
Total time: 6 minutes 7 seconds
---------------------------------------------------------------------

Although I see several INFO messages saying "Unable to find resource".

Damian (or someone from the Jitsi development team), can this be a problem?

This should not be a problem, I think.

From what you say, Kaiduan, at some point this sourceforge repository
was operational. Maybe it's a temporary issue. The question is: is this
repository fundamental to the proper functioning of Jigasi?

I checked and that lib missing is a dependency of the lib tinder and
it is needed, not sure what is going on, with that repo.

Guus, you are listed as developer can you give more light on the subject :slight_smile:
Seems the dependency concurrentlinkedhashmap-lru is not downloadable
at the moment.

The other thing is when listing dependencies inside jigasi or jvb I
see tinder version 1.2.3 (I do not see its version set somewhere in
our pom files) which has this dependency. There is a newer version
1.3.0 which doesn't have that dependency. Is that new version a
drop-in replacement, or there is an API change?

Thanks
damencho

P.S. Hum just cleaned my local maven folder and did a clean checkout
of jigasi and I did $ mvn dependency:tree -Dverbose and this
successfully ended downloading everything without a problem. I suspect
some maven weirdness not handling well some HTTP redirect ...

···

On Fri, Apr 28, 2017 at 5:45 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

On 28/04/17 17:16, Kaiduan Xie wrote:

Kind regards,
Daniel

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


#19

Hi,

Hi, Damian.

P.S. Hum just cleaned my local maven folder and did a clean checkout
of jigasi and I did $ mvn dependency:tree -Dverbose and this
successfully ended downloading everything without a problem. I suspect
some maven weirdness not handling well some HTTP redirect ...

I have tried using this same method as you deleting the .m2 directory
and with a jigasi clean checkout and this seems to work (I get
"duplicate" messages and a "Invalid POM for org.jitsi:
jitsi-videobridge: jar: 1.0-SNAPSHOT ). I attached the output.

But "ant make" continues returning the same error I mentioned in
previous emails (checked deleting the .m2 directory and with a jigasi
clean checkout).

Maybe there is a difference between the two methods?

Thanks for your reply.

Kind regards,
Daniel

jigasi_build_2.asc (21 KB)

···

On 28/04/17 20:09, Damian Minkov wrote:


#20

With the enlightenment from Damian, I managed to build Jigasi with the
following steps without changing any files,

   1. delete .m2
   2.

   git clone https://github.com/jitsi/jigasi.git
   3.

   mvn dependency:tree -Dverbose
   4.

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

   ant -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3 make

/Kaiduan

···

On Fri, Apr 28, 2017 at 10:18 PM, Daniel Bareiro <daniel-listas@gmx.net> wrote:

On 28/04/17 20:09, Damian Minkov wrote:

> Hi,

Hi, Damian.

> P.S. Hum just cleaned my local maven folder and did a clean checkout
> of jigasi and I did $ mvn dependency:tree -Dverbose and this
> successfully ended downloading everything without a problem. I suspect
> some maven weirdness not handling well some HTTP redirect ...

I have tried using this same method as you deleting the .m2 directory
and with a jigasi clean checkout and this seems to work (I get
"duplicate" messages and a "Invalid POM for org.jitsi:
jitsi-videobridge: jar: 1.0-SNAPSHOT ). I attached the output.

But "ant make" continues returning the same error I mentioned in
previous emails (checked deleting the .m2 directory and with a jigasi
clean checkout).

Maybe there is a difference between the two methods?

Thanks for your reply.

Kind regards,
Daniel

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

--
Founder of Goodstartsoft
https://www.goodstartsoft.com