Question

I have been told that to create an executable jar that includes other jars automatically is to use maven's uber jars.

Do users have to also install maven to execute uber jars?

Était-ce utile?

La solution

No, the Maven shade plugin will simply copy all files from the dependencies' jars to the uber jar (and warn you about conflicts), so this is a normal jar file that can be executed independently.

Licencié sous: CC-BY-SA avec attribution
Non affilié à StackOverflow
scroll top