Search code examples
jarmaven-plugindropwizardfat

Creating a fat jar for Dropwizard application


I am trying to create a fat jar for a multi module java project following the dropwizard documentation that makes use of the maven shade plugin.

https://dropwizard.github.io/dropwizard/getting-started.html#building-fat-jars

In order to do this I created another aggregator project which is just another pom.xml and configured the plugin in this pom.xml

Is there a way I can add my classpath in this configuration? What am I missing?


Solution

  • For all those interested. I fixed the issue by forcing Guava version 12 that the application gets from dropwizard.