adoroszlai opened a new pull request, #8574: URL: https://github.com/apache/ozone/pull/8574
## What changes were proposed in this pull request? - Fix dependency warning added in HDDS-12554. - Fail the build for dependency warnings, to prevent the introduction of any more. - Skip dependency analysis in `ozonefs-shaded` and `ozonefs-hadoop?` modules. The former is a common dependency for the latter, but does not use any of its dependencies directly. So far I have not found a good way to make both `maven-dependency-plugin` and the build happy. We could merge `ozonefs-shaded` and `ozonefs-hadoop3` to fix most problems, but only after Hadoop 2 support is dropped. - Wait for successful build/dependency/license checks before starting integration check. This adds only few minutes of delay, because it already waited for `basic`, of which `findbugs` was the slowest at 9 minutes, while build takes ~12 minutes, the other two less than 1 minute. https://issues.apache.org/jira/browse/HDDS-12977 ## How was this patch tested? With 817df75327eddeaa9b1f63e80bea1914ead49a28: ``` [INFO] --- dependency:3.8.1:analyze-only (analyze) @ hdds-server-framework --- [ERROR] Used undeclared dependencies found: [ERROR] org.apache.hadoop:hadoop-annotations:jar:3.4.1:compile ... [INFO] BUILD FAILURE ... [ERROR] Failed to execute goal org.apache.maven.plugins:maven-dependency-plugin:3.8.1:analyze-only (analyze) on project hdds-server-framework: Dependency problems found ``` After a2cb3d023c6d8f02ea49200ea493816ef830deca: ``` [INFO] BUILD SUCCESS ``` https://github.com/adoroszlai/ozone/actions/runs/15487796231 -- 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] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
