1
votes

A dependencies report generated using the maven-project-info-reports-plugin is erroneously reporting only one project and zero transitive dependencies. However, a dependency-convergence report produces a complete list of dependencies. When running the project-info-reports:dependencies goal from the command line, either no output is being generated or the outputDirectory parameter is not working correctly (no report file is generated in the specified outputDirectory). Is there a default directory? I have only been able to produce the report with the mvn site plugin.

The only noticeable error I am getting is a series of "Artifact: XXXX has no file" errors, as reported in MPIR-251, but I'm wondering if this is a red herring and not indicative of the cause of the problem. Thoughts?

Configuration: maven: 3.0.3 maven-site-plugin:3.1 maven-project-info-reports-plugin: 2.6 OS: Mac OS-X

1

1 Answers

1
votes

As mentions at the usage page as

Maven has been configured to create the project info reports by default. There's no need to configure anything in your pom.xml to generate the project information reports.

Simply running

mvn site

If you would not to execute the site, please copy the maven-project-info-reports-plugin to the build. Please see the detail at my answer here. You may able to execute

mvn project-info-reports:dependencies

and you may see the result as your expected.

I hope this may help.

Regards,

Charlee Ch.