Reputation: 195
how are the pom settings for create a non-executable jar-with-dependencies? (multi-module) I can‘t find anything working
Upvotes: 2
Views: 826
Reputation: 14845
The Maven shade plugin can help. When configuring the plugin, you can control the contents of the manifest, thus making the jar non-executable. A sample configuration is provided here.
Upvotes: 1