paul-rogers commented on PR #14024:
URL: https://github.com/apache/druid/pull/14024#issuecomment-1500724237

   The build is failing due to `dependency:analyze` being unable to find the 
grpc symbols. This may be due to the shaded grpc jar being unavailable. It may 
be unavailable because it is not in the saved Maven cache, and this particular 
Maven invocation did not rebuild it. A similar problem was resolved by moving 
from the `compile` to `install` Maven step.
   
   Per the 
[documentation](https://maven.apache.org/plugins/maven-dependency-plugin/analyze-mojo.html):
   
   > Invokes the execution of the [lifecycle 
phase](http://maven.apache.org/ref/current/maven-core/lifecycles.html) 
`test-compile` prior to executing itself.
   
   This step does a compilation, but does not trigger creation of the shaded 
jar, which then causes compile errors.
   
   I've tried adding `install` to the `analyze_dependencies_script.sh` script.
   
   At this point, I won't be available to continue the fixes. Can someone else 
please continue chipping away at the various build issues? It seems the shaded 
jar does not play well with our build scripts: I've made several changes to 
work around the issue: more may be needed. Or, perhaps we're doing something 
wrong with the shaded jar. Thanks!


-- 
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]

Reply via email to