Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.maint.java > #10204

maven dependency error

From olitank@yahoo.fr
Newsgroups linux.debian.maint.java
Subject maven dependency error
Date 2017-12-01 04:10 +0100
Message-ID <uRJS9-78l-1@gated-at.bofh.it> (permalink)
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Hello,

I am trying to package this library:
https://github.com/dotxyteam/ReflectionUI

It is built with maven. Then i used the maven-debian-helper.
But i am stuck because of a "com.thoughtworks.xstream:xstream:jar:1.4.7" 
dependency error.

Yet i found this dependency (good groupId and version) listed here:
https://packages.debian.org/jessie/all/libxstream-java/filelist

Why is this jessie package ignored ?
Something must be done to include it ?

The full error:


/Resolving com.thoughtworks.xstream:xstream:jar:1.4.7 of scope runtime...
[check dependency with bundle type]

In pom.xml: This dependency cannot be found in the Debian Maven 
repository. Ignore this dependency? 
com.thoughtworks.xstream:xstream:jar:1.4.7
[y/N] >
 > dpkg --search /usr/share/maven-repo/com/thoughtworks/xstream/xstream/*/*
dpkg failed to execute successfully
 > apt-file search /usr/share/maven-repo/com/thoughtworks/xstream/xstream
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream-benchmark/1.4.8/xstream-benchmark-1.4.8.pom 
in libxstream-java
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream-benchmark/debian/xstream-benchmark-debian.pom 
in libxstream-java
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream-parent/1.4.8/xstream-parent-1.4.8.pom 
in libxstream-java
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream-parent/debian/xstream-parent-debian.pom 
in libxstream-java
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream/1.4.8/xstream-1.4.8.pom 
in libxstream-java
Found 
/usr/share/maven-repo/com/thoughtworks/xstream/xstream/debian/xstream-debian.pom 
in libxstream-java
 > dpkg --search /usr/share/java/xstream.jar
dpkg failed to execute successfully
 > apt-file search /usr/share/java/xstream.jar
Found libxstream-java
[error] Package libxstream-java does not contain Maven dependency 
com.thoughtworks.xstream:xstream:jar:1.4.7 but there seem to be a match
If the package contains already Maven artifacts but the names don't 
match, try to enter a substitution rule
of the form s/groupId/newGroupId/ s/artifactId/newArtifactId/ jar 
s/version/newVersion/ here:
 >

/
Regards,
Olivier

Back to linux.debian.maint.java | Previous | NextNext in thread | Find similar | Unroll thread


Thread

maven dependency error olitank@yahoo.fr - 2017-12-01 04:10 +0100
  Phoyo-id olitank@yahoo.fr - 2018-04-06 18:00 +0200
    Re: Phoyo-id Emmanuel Bourg <ebourg@apache.org> - 2018-04-07 00:20 +0200
      Re: Phoyo-id olitank@yahoo.fr - 2018-04-09 05:10 +0200
    Re: Phoyo-id olitank@yahoo.fr - 2019-08-21 12:20 +0200

csiph-web