Bug#913575: SEVERE: Cannot resolve dependencies in ./fop-servlet/pom.xml: Dependency not found org.apache.xmlgraphics:batik-all:jar:debian

2018-11-14 Thread Mathieu Malaterre
For reference:

> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/debian/batik-all-debian.pom
in libbatik-java
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.pom
in libbatik-java
> dpkg --status libbatik-java
[error] Package libbatik-java (1.10) is already installed and contains
a possible match,
but I cannot resolve library org.apache.xmlgraphics:batik-all: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.
Nov 14, 2018 9:13:53 AM
org.debian.maven.packager.DependenciesSolver$ToResolve resolve
SEVERE: Cannot resolve dependencies in
/home/mathieu/tmp/debian/fop/fop-servlet/pom.xml: Dependency not found
org.apache.xmlgraphics:batik-all:jar:debian
ERROR:
fop-servlet/pom.xml: dependency is not packaged in the Maven
repository for Debian: org.apache.xmlgraphics:batik-all:debian



Bug#913575: SEVERE: Cannot resolve dependencies in ./fop-servlet/pom.xml: Dependency not found org.apache.xmlgraphics:batik-all:jar:debian

2018-11-12 Thread Mathieu Malaterre
Hi Emmanuel,

On Mon, Nov 12, 2018 at 2:02 PM Emmanuel Bourg  wrote:
>
> Le 12/11/2018 à 13:54, Mathieu Malaterre a écrit :
>
> > It should be possible to tweak the package to remove the following
> > from mh_make on user side:
>
> Hi Mathieu,
>
> Looking at the log I fail to understand the issue. Could you be more
> specific on the behavior you expect and why?

Thanks for your kind help. I forgot to reference your original email:

https://lists.debian.org/debian-java/2018/06/msg00048.html

...

I'm not sure to understand why you get this error. Try adding the
following rule in debian/maven.rules and run mh_make again:

  org.apache.xmlgraphics batik-all * s/.*/debian/ * *
...

So I'd like the behavior of mh_make to be as smooth as possible. So if
I understand correctly something needs to be fixed on the batik side.

Let me know if I misunderstood your original comment

-M



Bug#913575: SEVERE: Cannot resolve dependencies in ./fop-servlet/pom.xml: Dependency not found org.apache.xmlgraphics:batik-all:jar:debian

2018-11-12 Thread Emmanuel Bourg
Le 12/11/2018 à 13:54, Mathieu Malaterre a écrit :

> It should be possible to tweak the package to remove the following
> from mh_make on user side:

Hi Mathieu,

Looking at the log I fail to understand the issue. Could you be more
specific on the behavior you expect and why?

Emmanuel Bourg



Bug#913575: SEVERE: Cannot resolve dependencies in ./fop-servlet/pom.xml: Dependency not found org.apache.xmlgraphics:batik-all:jar:debian

2018-11-12 Thread Mathieu Malaterre
Package: libbatik-java
Version: 1.10-1
User: debian-j...@lists.debian.org
Usertags: maven-debian-helper

It should be possible to tweak the package to remove the following
from mh_make on user side:

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
[y/N] >
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/debian/batik-all-debian.pom
in libbatik-java
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.pom
in libbatik-java
> dpkg --status libbatik-java
[error] Package libbatik-java (1.10) is already installed and contains
a possible match,
but I cannot resolve library org.apache.xmlgraphics:batik-all: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?
[Y/n] >
Rescanning /usr/share/maven-repo...
Resolving org.apache.xmlgraphics:batik-all:jar:debian of scope runtime...
[check dependency with bundle type]
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/debian/batik-all-debian.pom
in libbatik-java
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.pom
in libbatik-java
> dpkg --status libbatik-java
[error] Package libbatik-java (1.10) is already installed and contains
a possible match,
but I cannot resolve library org.apache.xmlgraphics:batik-all: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?
[Y/n] >
Rescanning /usr/share/maven-repo...
Resolving org.apache.xmlgraphics:batik-all:jar:debian of scope runtime...
[check dependency with bundle type]
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/debian/batik-all-debian.pom
in libbatik-java
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.pom
in libbatik-java
> dpkg --status libbatik-java
[error] Package libbatik-java (1.10) is already installed and contains
a possible match,
but I cannot resolve library org.apache.xmlgraphics:batik-all: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?
[Y/n] >
Rescanning /usr/share/maven-repo...
Resolving org.apache.xmlgraphics:batik-all:jar:debian of scope runtime...
[check dependency with bundle type]
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/debian/batik-all-debian.pom
in libbatik-java
Found 
/usr/share/maven-repo/org/apache/xmlgraphics/batik-all/1.10/batik-all-1.10.pom
in libbatik-java
> dpkg --status libbatik-java
[error] Package libbatik-java (1.10) is already installed and contains
a possible match,
but I cannot resolve library org.apache.xmlgraphics:batik-all: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?

With:

$ apt-cache policy libbatik-java
libbatik-java:
  Installed: 1.10-1
  Candidate: 1.10-1
  Version table:
 *** 1.10-1 500
500 http://ftp.fr.debian.org/debian sid/main amd64 Packages
100 /var/lib/dpkg/status