maven-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hervé Boutemy (JIRA) <>
Subject [jira] [Commented] (SUREFIRE-683) Xref link generation regression with Maven 3
Date Sun, 25 Sep 2016 13:08:20 GMT


Hervé Boutemy commented on SUREFIRE-683:

the way it is explained, I see "hard-coding some specific cases", then I don't like it this

but yes, we can improve the reporting mecanism if we need: maven-reporting-exec is responsible
of preparing reporting plugins
I suppose it could inject a parameter telling that jxr will be run, then the plugin can count
on it, even if jxr hasn't been run yet
Or even more generic: I suppose we could inject the list of reports

Notice: since the report has to be able to run as a normal plugin, not during site generation,
this may be problematic

perhaps we could make some code from maven-reporting-exec public, to be able to read reporting
section of MavenProject

> Xref link generation regression with Maven 3
> --------------------------------------------
>                 Key: SUREFIRE-683
>                 URL:
>             Project: Maven Surefire
>          Issue Type: Bug
>          Components: Maven Surefire Report Plugin
>    Affects Versions: 2.7.1
>         Environment: Apache Maven 3.0.1 (r1038046; 2010-11-23 11:58:32+0100)
> Java version: 1.6.0_20
> Java home: /usr/lib/jvm/java-6-openjdk/jre
> Default locale: en_GB, platform encoding: UTF-8
> OS name: "linux" version: "2.6.32-27-generic" arch: "i386" Family: "unix"
>            Reporter: Marc Rohlfs
>            Priority: Minor
>         Attachments:
> When the site reports are created with Maven 3, the this plugin doesn't generate the
links to the Source Xref pages, when the JXR Plugin hasn't been executed before.
> The plugin looks for the xrefLocation directory and if it doesn't exist, it checks if
the JXR plugin is configured for the project (see
To properly generate the Xref links when the report is created with Maven 3, the plugin should
also check the reportPlugins paramerter of the Site plugin configuration.

This message was sent by Atlassian JIRA

View raw message