I am using the maven-shade-plugin to create a single executable jar.
I would expect the plugin to create a single jar (foo.jar
) in the target directory.
However it will also create two other jars: original-foo.jar
and foo-shaded.jar
.
Why does it create those files and how do I disable this behavior?
(We have another project using that plugin, where those files are not created. Therefore I am pretty sure it is possible to disable those, but I could not see the difference.)