mirror of https://github.com/apache/druid.git
fc929e6d25
Upgrade maven shade plugin to try to fix build failures Sometimes we get maven shade errors in our integ tests becasue we don't run clean in between runs to clear the cache in order to speed them up. This can lead to the below error. Error: Failed to execute goal org.apache.maven.plugins:maven-shade-plugin:3.2.4:shade (opentelemetry-extension) on project opentelemetry-emitter: Error creating shaded jar: duplicate entry: META-INF/services/org.apache.druid.opentelemetry.shaded.io.grpc.NameResolverProvider See: https://issues.apache.org/jira/projects/MSHADE/issues/MSHADE-425?filter=allissues An example run that failed: https://github.com/apache/druid/actions/runs/6301662092/job/17117142375?pr=14887 According to the ticket this is fixed by updating shade to 3.4.1. When I updated to 3.4.1 I kept running into a different issue during static checks. (Caused by: java.lang.NoClassDefFoundError: com/github/rvesse/airline/parser/errors/ParseException) I had to add the createDependencyReducedPom: false to get the build to pass. The dependency reduced pom feature was added in 3.3.0 which we were not using before so setting it explicitly to false should not be a issue. https://issues.apache.org/jira/browse/MSHADE-36) |
||
---|---|---|
.. | ||
src | ||
pom.xml |