سؤال

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?

هل كانت مفيدة؟

المحلول

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.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top