slachiewicz opened a new pull request, #199:
URL: https://github.com/apache/maven-reporting-exec/pull/199

   Adds `src/it/legacy-sink-report`, which runs `mvn site` with 
jacoco-maven-plugin 0.8.16, a report mojo that declares 
`generate(org.codehaus.doxia.sink.Sink, Locale)`. Until now only 
`LegacySinkTest` covered the legacy type, and it checks the type hierarchy, not 
that such a plugin loads.
   
   The failure comes from Guice, not from class loading: 
`InjectionPoint.getDeclaredMethods` reflects over the mojo when Sisu 
instantiates it and resolves every parameter type. The same applies to any 
report built on `AbstractMavenReport` from maven-reporting-impl 3.2.0 or older, 
which declares the same overload.
   
   Verified: IT with `src/main/java/org/codehaus` removed → fails with "A 
required class was missing ... org/codehaus/doxia/sink/Sink"; `mvn -B clean 
verify` on this branch → success, 6 ITs pass


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