[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.
>
>
> > 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/ * *

If I get all the way and exit (with errors). Adding the above line in
debian/maven.rules leads then to:

$ mh_make
...
This project contains modules. Include all modules?
[Y/n] >
Analysing fop/pom.xml...
Jun 27, 2018 2:10:39 PM org.debian.maven.packager.DependenciesSolver
resolveDependencies
SEVERE: Error while resolving ./fop/pom.xml: Dependency not found
org.apache.xmlgraphics:fop-parent:pom:2.3
Jun 27, 2018 2:10:39 PM org.debian.maven.packager.DependenciesSolver
resolveDependencies
SEVERE:
org.debian.maven.repo.DependencyNotFoundException: Dependency not
found org.apache.xmlgraphics:fop-parent:pom:2.3
at org.debian.maven.repo.Repository.registerPom(Repository.java:414)
at org.debian.maven.packager.DependenciesSolver.resolveDependencies(DependenciesSolver.java:321)
at org.debian.maven.packager.DependenciesSolver.resolveDependencies(DependenciesSolver.java:421)
at org.debian.maven.packager.DependenciesSolver.solveDependencies(DependenciesSolver.java:261)
at org.debian.maven.packager.DependenciesSolver.main(DependenciesSolver.java:962)

So right now I need to delete the entire debian/ directory.

>
> > 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/ * *
>
>


Reply to: