adoroszlai commented on PR #12140: URL: https://github.com/apache/ozone/pull/12140#issuecomment-7134489556
> Looked into this a bit. It looks like `--offline` relies on the cached `os-maven-plugin` metadata, since [`hdds-common`](https://github.com/apache/ozone/blob/8a30bb861c0fa1d1b53c0e47811827d1918f1821/hadoop-hdds/common/pom.xml#L293-L297) declares the extension without a version. Adding the version there may also save a metadata request in every build. Thanks. Sorry, that one is my fault, I removed it in #7787, not noticing that it's used as an extension... However, it seems to me we can remove it from `hdds-common`: `ozone-common` does not have it either, and local build indicates that having it in root `pom.xml` is enough: ```diff --- hadoop-hdds/common/pom.xml +++ hadoop-hdds/common/pom.xml @@ -290,11 +290,5 @@ </executions> </plugin> </plugins> - <extensions> - <extension> - <groupId>kr.motd.maven</groupId> - <artifactId>os-maven-plugin</artifactId> - </extension> - </extensions> </build> </project> ``` ``` hadoop-hdds/common/src/main/resources/hdds-version-info.properties 23:compilePlatform=${os.detected.classifier} hadoop-hdds/common/target/classes/hdds-version-info.properties 23:compilePlatform=linux-x86_64 hadoop-ozone/common/src/main/resources/ozone-version-info.properties 24:compilePlatform=${os.detected.classifier} hadoop-ozone/common/target/classes/ozone-version-info.properties 24:compilePlatform=linux-x86_64 ``` Would you like to submit a PR? -- 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]
