pan3793 commented on PR #56534:
URL: https://github.com/apache/spark/pull/56534#issuecomment-4714422303

   Maven does not work well for the case: consume a shaded jar produced by 
another module - you must perform `mvn install -pl <producer-module>` to 
install it to the local repo (`~/.m2/repository`) first (for SNAPSHOT version, 
it will be exprire quickly, so need to perform frequently), then run normal 
`mvn test -pl <consumer-module>`, otherwise, you will find the `mvn` failed to 
find the shaded jar. And this also causes some issues with the IDE. To 
workaround this, other projects choose to use a separate repo to maintain those 
shaded artifacts, e.g.
   
   - https://github.com/apache/hadoop-thirdparty
   - https://github.com/apache/hbase-thirdparty
   - https://github.com/apache/flink-shaded
   - https://github.com/apache/kyuubi-shaded


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