travisdowns commented on issue #5347:
URL: https://github.com/apache/rocketmq/issues/5347#issuecomment-1289296441

   > rocketmq-tool is also a 'final' application, used in `mqadmin` command. It 
might be the reason why logback-classic was imported.
   
   Ah, thanks for that detail. So there is a `main()` method in the .jar?
   
   I am not sure how to resolve that situation, that a given .jar is intended 
to be used both as a library to be consumed by other applications, and in some 
contexts an application itself. Maybe one way is to have an artifact with all 
the code except `main()`, which would be the library artifact pulled in my 
projects that depend on it, then `tools-cli` or whatever which would depend on 
that library and basically be a 1-liner with a `main()` that calls into the 
shared tools lib.


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