devesh95official commented on issue #704:
URL: 
https://github.com/apache/maven-project-info-reports-plugin/issues/704#issuecomment-7261614276

   Hi, I'd like to pick this one up.
   
   For `ArtifactRepository`: `IndexReport` and `ModulesReport` only pass 
`getSession().getLocalRepository()` into `ModulesRenderer`, which then sets it 
on a copy of `getSession().getProjectBuildingRequest()` 
(ModulesReport.java:188). That building request already carries the session's 
local repository, so I'd drop the `localRepository` field and constructor 
parameter from both renderers rather than swapping in a Resolver type.
   
   For `getReportPlugins()` in `PluginsReport` (lines 78 and 94): a small 
helper that returns `getModel().getReporting().getPlugins()`, or an empty list 
when there's no `<reporting>` section, since the deprecated method handles that 
null case today.
   
   Then `mvn verify -Prun-its` before the PR.
   
   Are you OK with dropping the explicit `setLocalRepository` call entirely, or 
is there a case (like a module that gets loaded locally instead of from the 
reactor) where you'd want it kept?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to