Closed bazi closed 5 years ago
@bazi Could you clarify what would be different between an "uber jar" and what you've done in #15?
Scratch that—I figured it out. #15 assembles all of the dependencies in a lib
directory, but doesn't include them in the jar itself.
I found this: http://zhentao-li.blogspot.com/2012/06/maven-shade-plugin-invalid-signature.html
It feels a little like copying/pasting a magic voodoo spell into our POM, but it does get the job done. I'll open a pull request for more detailed discussion.
As pushy-console is kind of a utility tool it would be nice to have it as one single file for easier sharing and running. I tried to make an uber jar with maven shade plugin but faced "Invalid signature..." errors due to signed BouncyCastle jars.
For now, I created a PR #15 that copies dependencies into one place and configures MANIFEST of pushy-console jar to make it executable as jar.