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

Re: Verbose mvn output ?



Salut Emmanuel,

On Fri, Nov 9, 2018 at 4:00 PM Emmanuel Bourg <ebourg@apache.org> wrote:
>
> Hi Mathieu,
>
> Le 09/11/2018 à 15:48, Mathieu Malaterre a écrit :
>
> > What do I need to tweak to get a verbose mvn output in:
> >
> > https://salsa.debian.org/java-team/fop/blob/wip-2.3/debian/rules
>
> Maven has a '-X/--debug' option to enable a very verbose mode. You can
> enable it by adding this to debian/rules:
>
>   override_dh_auto_build:
>         dh_auto_build -X package -DskipTests
>
> That won't give you more detailed javac error messages though. But at
> least you'll see the javac options and the full classpath used to
> compile the code.

Odd, this does not seems to work for me:

https://salsa.debian.org/java-team/fop/blob/wip-2.3/debian/rules

>
> > Currently it fails with a mysterious:
> >
> > ...
> > [ERROR] Failed to execute goal
> > org.apache.maven.plugins:maven-compiler-plugin:3.8.0:compile
> > (default-compile) on project fop-events: Compilation failure:
> > Compilation failure:
> > [ERROR] /home/mathieu/tmp/debian/fop/fop-events/src/main/java/org/apache/fop/tools/EventProducerCollector.java:[34,28]
> > error: cannot find symbol
> > [ERROR]   symbol:   class JavaDocBuilder
> > [ERROR]   location: package com.thoughtworks.qdox
>
> This looks like a mismatch between the version of qdox used by FOP and
> the version we have in Debian. Maybe you have to switch to qdox2?

Right. That is also my guess but since I fail to understand which
version is being used during the build I did not know how to proceed.

-M


Reply to: