slachiewicz opened a new pull request, #701:
URL: https://github.com/apache/maven-checkstyle-plugin/pull/701

   Two parts of the Doxia 2 adoption that were still outstanding here.
   
   The site descriptor was still the v1 `<project 
xmlns=".../DECORATION/1.0.0">` model, which makes every site build log:
   
   > Site model of 'org.apache.maven.plugins:maven-checkstyle-plugin:...' for 
default locale is still using the old pre-version 2.0.0 model. You MUST migrate 
to the new model as soon as possible otherwise your build will break in the 
future!
   
   The descriptor carries only menus, so the conversion is the root element and 
the namespace.
   
   The reports now implement `getOutputPath()`, with `getOutputName()` kept as 
a deprecated delegate because Maven Reporting API 4.0.0 still declares it 
abstract — the pattern from the [report plugin 
guide](https://maven.apache.org/guides/plugin/guide-java-report-plugin-development.html),
 already used by maven-javadoc-plugin and maven-pmd-plugin.
   
   Verified: `mvn verify` → 26 tests, 0 failures. `mvn site` before and after 
the descriptor change produces the same file set and the same links on 
`index.html`; the only difference in the build output is that the warning above 
is gone.
   
   *This change was created with AI assistance.*
   


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