[jitsi-users] Problem to build Jigasi debian package


#1

Hi all,

I am trying to build the Jigasi debian package with ant.

Does anyone come across this error before?

···

-----

sunny@DebianMisc:~/Downloads/jigasi$ ant rebuild deb -Dlabel=1111 -lib ~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3 release

Unable to locate tools.jar. Expected to find it in /usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

Buildfile: /home/sunny/Downloads/jigasi/build.xml

[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] central (http://repo1.maven.org/maven2),

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

[maven-artifact:dependencies] mvn-repository (https://mvnrepository.com/artifact/com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru),

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

[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 /home/sunny/.m2/repository/org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/home/sunny/Downloads/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/),

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

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

  mvn-repository (https://mvnrepository.com/artifact/com.googlecode.concurrentlinkedhashmap/concurrentlinkedhashmap-lru),

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

Path to dependency:

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

2) org.igniterealtime:tinder:jar:1.2.3

Total time: 1 second

-----

Thanks,

Sunny

Sent from Outlook<http://aka.ms/weboutlook>


#2

You can start with cleaning the .m2 folder and see whether this helps. Try
updating maven to the latest version from their website.

···

On Sep 7, 2016 05:52, "Sunny Mok" <apollomok@hotmail.com> wrote:

Hi all,

I am trying to build the Jigasi debian package with ant.

Does anyone come across this error before?

-----

sunny@DebianMisc:~/Downloads/jigasi$ ant rebuild deb -Dlabel=1111 -lib
~/.m2/repository/org/apache/maven/maven-ant-tasks/2.1.3 release

Unable to locate tools.jar. Expected to find it in
/usr/lib/jvm/java-7-openjdk-amd64/lib/tools.jar

Buildfile: /home/sunny/Downloads/jigasi/build.xml

[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] central (http://repo1.maven.org/maven2),

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

[maven-artifact:dependencies] mvn-repository (https://mvnrepository.com/
artifact/com.googlecode.concurrentlinkedhashmap/
concurrentlinkedhashmap-lru),

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

[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 /home/sunny/.m2/repository/
org/sonatype/oss/oss-parent/3/oss-parent-3.pom

BUILD FAILED

/home/sunny/Downloads/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/),

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

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

  mvn-repository (https://mvnrepository.com/artifact/com.googlecode.
concurrentlinkedhashmap/concurrentlinkedhashmap-lru),

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

Path to dependency:

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

2) org.igniterealtime:tinder:jar:1.2.3

Total time: 1 second

-----

Thanks,

Sunny

Sent from Outlook <http://aka.ms/weboutlook>

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