chihsuan opened a new pull request, #12152:
URL: https://github.com/apache/ozone/pull/12152
## What changes were proposed in this pull request?
**Problem.** `hdds-common` declares the `os-maven-plugin` build extension
without a version (the version was dropped in #7787). Maven then resolves the
version from repository metadata, which adds a metadata request to every build
and makes `--offline` builds fail when that metadata is not cached
("Unresolveable build extension").
**Fix.** Remove the declaration from `hdds-common`. The root `pom.xml`
already declares the same extension with `${os-maven-plugin.version}`, and
every module inherits it (`ozone-common` already relies on that).
Found during review of #12140.
Generated-by: Claude Code (Claude Opus 5.5)
## What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-17917
## How was this patch tested?
- `compilePlatform` in `hdds-version-info.properties` and
`ozone-version-info.properties` (the only users of `os.detected.*`) is still
filtered correctly, e.g. `osx-aarch_64`.
- With `os-maven-plugin` metadata removed from the local repository,
`--offline` build of `hdds-common` and `ozone-common` passes, while it fails on
master.
- `mvn validate` passes for the whole reactor.
--
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]