Shawyeok commented on issue #23513:
URL: https://github.com/apache/pulsar/issues/23513#issuecomment-2479121806

   Removing the attach and unpack configurations caused compile errors for some 
etcd-related classes in IntelliJ IDEA.
   
   IntelliJ expects the artifact JAR path to be 
target/{artifactId}-{version}.jar.
   <img width="562" alt="image" 
src="https://github.com/user-attachments/assets/19e5adc0-a630-4d2d-961a-ae12e1d2d930";>
   
   However, the Pulsar build system sets finalName to `{artifactId}` in the 
parent `pom.xml`, which doesn’t match this format. I’m not sure why this is 
done—perhaps @merlimat can clarify.
   
https://github.com/apache/pulsar/blob/81385c5f971913f841d5637c7b8e103138fd76cc/pom.xml#L1762-L1762
   
   Changing finalName to `${artifactId}-${version}` (the default) fixed the 
compile errors.
   


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

Reply via email to