LuciferYang commented on PR #42236:
URL: https://github.com/apache/spark/pull/42236#issuecomment-1664798658

   > Would it be easier if we change maven to use the unshaded jar?
   
   
https://github.com/apache/spark/blob/5c36c58047724885864cb781f17038a6b9c94513/connector/protobuf/pom.xml#L95-L100
   
   Since `shadedArtifactAttached` is configured to be true, Maven will no 
longer publish the unshaded jar. Following Spark's previous practice, if both 
unshaded jars and shaded jars are needed, then it needs to be split into two 
modules, such as `kafka-0-10` and `kafka-0-10-assembly`, `kinesis-asl` and 
`kinesis-asl-assembly`. So, if we need Maven to publish the unshaded jar, we 
need to split the `protobuf` module into two modules: `protobuf` and 
`protobuf-assembly`. I had a previous PR that did this work: 
https://github.com/apache/spark/pull/41466.`
   


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