Bukama opened a new issue, #1205: URL: https://github.com/apache/maven-site-plugin/issues/1205
### Affected version 3.21.0 ### Bug description From https://github.com/apache/maven-jxr/pull/342: The JXR-plugin is a project with subprojects (parent, jxr and jxr-plugin). The `site` goal (and therefor the GH action) fails for it, as the report can not find project own dependencies. It only works if you run `verify` together with it This means `mvn clean site` fails. But if you run `mvn clean verify site` it works as then the project own dependencies are created and existing in the project directory (or reactor?). So it seems that the `site` goal of the site-plugin depends on the verify page, but does enforce it. Other plugins, e.g. the PMD-plugin, enforces it by forking and running a verify every time the rendering goal is executed. The [site`goal's page](https://maven.apache.org/plugins/maven-site-plugin/site-mojo.html) mentions it relies on `test` phase dependency resolution: "Requires dependency resolution of artifacts in scope: test". -- 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]
