On Wed, Jun 27, 2018 at 3:01 PM Emmanuel Bourg <ebo...@apache.org> wrote: > > Le 27/06/2018 à 14:09, Mathieu Malaterre a écrit : > > > Still the same: > > > > In fop-servlet/pom.xml: This dependency cannot be found in the Debian > > Maven repository. Ignore this dependency? > > org.apache.xmlgraphics:batik-all:jar:debian > > Are you sure libbatik-java is installed?
Yes. libbatik-java: Installed: 1.8-4+deb9u1 Candidate: 1.8-4+deb9u1 Version table: *** 1.8-4+deb9u1 500 500 http://security.debian.org/debian-security stretch/updates/main amd64 Packages 500 http://security.debian.org/debian-security stretch/updates/main i386 Packages 100 /var/lib/dpkg/status 1.8-4 500 500 http://ftp.fr.debian.org/debian stretch/main amd64 Packages 500 http://ftp.fr.debian.org/debian stretch/main i386 Packages Trying it again seems to go a little further: > dpkg --search /usr/share/java/batik.jar Found libbatik-java [error] Package libbatik-java does not contain Maven dependency org.apache.xmlgraphics:batik:jar:debian 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: > org.apache.xmlgraphics batik-all * s/.*/debian/ * * Please suggest the maintainer of package libbatik-java to add this rule to debian/maven.publishedRules Resolving org.apache.xmlgraphics:batik:jar:debian of scope runtime... [check dependency with bundle type] > dpkg --status libbatik-java [error] Package libbatik-java (1.8) is already installed and contains a possible match, but I cannot resolve library org.apache.xmlgraphics:batik:jar:debian in it. [error] Please check manually that the library is up to date, otherwise it may be necessary to package version debian in Debian. Try again to resolve the dependency? > > > This one works ! > > Great! One down :) > > > > BTW I forgot one: > > > > In fop-core/pom.xml: This dependency cannot be found in the Debian > > Maven repository. Ignore this dependency? > > javax.servlet:servlet-api:jar:2.2 > > Install libservlet3.1-java and use this rule: > > javax.servlet s/servlet-api/javax.servlet-api/ * s/.*/3.1/ * * $ sudo dpkg --purge libservlet3.0-java then: $ mh_make -v -t false -d false ... > dpkg --search /usr/share/maven-repo/javax/servlet/servlet-api/*/* dpkg failed to execute successfully > apt-file search /usr/share/maven-repo/javax/servlet/servlet-api Found /usr/share/maven-repo/javax/servlet/servlet-api/3.0/servlet-api-3.0.pom in libservlet3.0-java > dpkg --search /usr/share/java/servlet-api.jar dpkg failed to execute successfully > apt-file search /usr/share/java/servlet-api.jar apt-file failed to execute successfully [error] Cannot resolve Maven dependency javax.servlet:servlet-api:jar:2.2. If you know a package that contains a compatible dependency, try to enter a substitution rule of the form s/groupId/newGroupId/ s/artifactId/newArtifactId/ jar s/version/newVersion/ here: > javax.servlet s/servlet-api/javax.servlet-api/ * s/.*/3.1/ * * Rescanning /usr/share/maven-repo... Resolving javax.servlet:javax.servlet-api:jar:3.1 of scope runtime... Dependency javax.servlet:javax.servlet-api:jar:3.1 found in package libservlet3.1-java [ok] Nice !