ndimiduk commented on pull request #4016: URL: https://github.com/apache/hbase/pull/4016#issuecomment-1048723158
I have stumbled into one annoyance -- when a dependency jar is of `type:test-jar`, it seems that the transitive dependencies are not included. So for example, say I want to use the `OpenTelemetryClassRule` and `OpenTelemetryTestRule` defined in `hbase-server:test` from `hbase-endpoint:test`. These rules use classes from `io.opentelemetry:opentelemetry-sdk-testing`. This transitive dependency is not included automatically -- `hbase-endpoint:test` must explicitly include both `hbase-server:test` and `io.opentelemetry:opentelemetry-sdk-testing`, otherwise a `NoClassDefFoundError` is thrown at test time. -- 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]
