[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Request for help: fop 2.2 / 2.3



On Wed, Jun 27, 2018 at 1:57 PM Emmanuel Bourg <ebourg@apache.org> wrote:
>
> Le 27/06/2018 à 13:31, Mathieu Malaterre a écrit :
>
> > I can get a little further. 3 errors I'd like to resolve:
> >
> > 1.
> > dpkg failed to execute successfully
> > Found /usr/share/maven-repo/org/apache/maven/plugins/maven-war-plugin/2.2/maven-war-plugin-2.2.pom
> > in libmaven-war-plugin-java
>
> Ignore maven-war-plugin, I don't think we are going to ship a war file.

ok

>
> > 2.
> > dpkg failed to execute successfully
> > apt-file failed to execute successfully
> > Found libbatik-java
> > [error] Package libbatik-java does not contain Maven dependency
> > org.apache.xmlgraphics:batik-all:jar:${batik.version} but there seem
> > to be a match
>
> 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/ * *
>

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
[y/N] >
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
dpkg failed to execute successfully
> apt-file search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all
apt-file failed to execute successfully
[error] Package libbatik-java does not contain Maven dependency
org.apache.xmlgraphics:batik-all: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
> dpkg --search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all/*/*
dpkg failed to execute successfully
> apt-file search /usr/share/maven-repo/org/apache/xmlgraphics/batik-all
apt-file failed to execute successfully
[error] Package libbatik-java does not contain Maven dependency
org.apache.xmlgraphics:batik-all: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:


> > 3.
> > dpkg failed to execute successfully
> > apt-file failed to execute successfully
> > Found libsaxon-java
> > [error] Package libsaxon-java does not contain Maven dependency
> > net.sf.saxon:saxon:jar:8.7 but there seem to be a match
>
> Try this rule:
>
>   s/net.sf.saxon/saxon/ saxon * s/.*/debian/ * *
>

This one works !

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
[y/N] >
> dpkg --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 --status libservlet3.0-java
[error] Package libservlet3.0-java (7.0.75) is already installed and
contains a possible match,
but I cannot resolve library javax.servlet:servlet-api:jar:2.2 in it.
[error] Please check manually that the library is up to date,
otherwise it may be necessary to package version 2.2 in Debian.
Try again to resolve the dependency?
[Y/n] >
Rescanning /usr/share/maven-repo...
> dpkg --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 --status libservlet3.0-java
[error] Package libservlet3.0-java (7.0.75) is already installed and
contains a possible match,
but I cannot resolve library javax.servlet:servlet-api:jar:2.2 in it.
[error] Please check manually that the library is up to date,
otherwise it may be necessary to package version 2.2 in Debian.
Try again to resolve the dependency?
[Y/n] > n


Thanks


Reply to: