RoboFlax
RoboFlax

Reputation: 195

How to create non-executable jar with dependencies? (multi-module)

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

Answers (1)

werner
werner

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

Related Questions