arturobernalg opened a new pull request, #1456:
URL: https://github.com/apache/maven-javadoc-plugin/pull/1456

   Fixes #687.
   
   getDependenciesLinks() only read the execution root project's own 
dependencies, so when running javadoc:aggregate, a dependency declared only in 
a non-root reactor module never got a -link entry: the aggregated report 
silently missed its Javadoc link even though every other module depending on it 
would have gotten one individually.
   
   The fix collects dependencies from every reactor project when isAggregator() 
is true (de-duplicated via a LinkedHashSet), and keeps the existing 
single-project behavior unchanged otherwise.
   
   Added a new IT (MJAVADOC-390_aggregate-detectLinks) with a dependency 
declared only in a non-root module and detectLinks enabled on the aggregator; 
verified it fails on master (no -link added) and passes with the fix. Also 
re-ran the existing per-module detectLinks IT to confirm no regression there.
   
   To make clear that you license your contribution under the Apache License 
Version 2.0, January 2004 (https://www.apache.org/licenses/LICENSE-2.0) check 
one of the following:
   - [x] I hereby declare this contribution to be licensed under the Apache 
License Version 2.0, January 2004
   - [x] I hereby declare that I have filed an Apache Individual Contributor 
License Agreement.


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