I am very frustrated. I’ve spent a long time trying to compile a Maven project into an Uber/Fat jar file using the Maven shade plugin, but I still keep getting “mvn is not recognized as an internal or external command” error in command prompt. Here are the important bits of my pom.xml: I don’t know what I’m doing wrong. I
Advertisement
Tag: maven-shade-plugin
When building an application jar with Maven Shade, is it safe to exclude all META-INF/versions directories/files?
I believe the versions folders are there to support multiple Java versions. We always build for a very specific version (at this time 11). Is there a danger to excluding those directories/files when …
How to configure Maven shade plugin in a multi-module project?
I have been trying to get jar using Maven Shade Plugin, but I still don’t get a success. This is my project structure: MainModule -Module1 -src -pom.xml -Module2 -src -pom.xml -…
Advertisement