[
https://issues.apache.org/jira/browse/HDDS-17917?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Chi-Hsuan Huang updated HDDS-17917:
-----------------------------------
Description:
{{hadoop-hdds/common/pom.xml}} declares the {{os-maven-plugin}} build extension
without a version. Maven has to resolve the version from repository metadata,
which adds a metadata request to every build and makes {{--offline}} builds
depend on cached metadata.
The root {{pom.xml}} already declares the same extension with a version, and
{{ozone-common}} works without its own declaration. So the one in
{{hdds-common}} can be removed.
Found during review of [PR #12140|https://github.com/apache/ozone/pull/12140].
was:
{{hadoop-hdds/common/pom.xml}} declares the {{os-maven-plugin}} build extension
without a version. Maven has to resolve the version from repository metadata,
which adds a metadata request to every build and makes {{--offline}} builds
depend on cached metadata.
The root {{pom.xml}} already declares the same extension with
{{$\{os-maven-plugin.version\}}}, and {{ozone-common}} works without its own
declaration. So the one in {{hdds-common}} can be removed.
Found during review of [PR #12140|https://github.com/apache/ozone/pull/12140].
> Remove redundant os-maven-plugin extension from hdds-common
> -----------------------------------------------------------
>
> Key: HDDS-17917
> URL: https://issues.apache.org/jira/browse/HDDS-17917
> Project: Apache Ozone
> Issue Type: Improvement
> Components: build
> Reporter: Chi-Hsuan Huang
> Assignee: Chi-Hsuan Huang
> Priority: Major
>
> {{hadoop-hdds/common/pom.xml}} declares the {{os-maven-plugin}} build
> extension without a version. Maven has to resolve the version from repository
> metadata, which adds a metadata request to every build and makes
> {{--offline}} builds depend on cached metadata.
> The root {{pom.xml}} already declares the same extension with a version, and
> {{ozone-common}} works without its own declaration. So the one in
> {{hdds-common}} can be removed.
> Found during review of [PR #12140|https://github.com/apache/ozone/pull/12140].
--
This message was sent by Atlassian Jira
(v10.3.26#10030026)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]