Subscribe to MarcoBehler to get full access to this episode and all other pro episodes, and new awesome content every week.

Try It Free
(7 days, unlimited access)

Unlimited access. Cancel anytime.

Published On September 10, 2018

Building executable Jars with Maven

Sooner or later, you need to build your Maven project into a final .jar or .war file. You could think that running 'mvn package' will do the trick, but that will only result in a bunch of error messages when trying to run the .jar-file. In this episode you'll learn how to put the proper manifest and all needed dependencies into your final jar, so that it really is executable.

Episode 1.39 Min. 7 Sec.

Practice

Current Episode

Building executable Jars with Maven

Sooner or later, you need to build your Maven project into a final .jar or .war file. You could think that running 'mvn package' will do the trick, but that will only result in a bunch of error messages when trying to run the .jar-file. In this episode you'll learn how to put the proper manifest and all needed dependencies into your final jar, so that it really is executable.

Subscribe to any paid plan and access all episodes in full length

Try It Free

Share This

Share

Episode Complete

Great Job! You are now that much smarter. Advancing to the next episode in seconds...

Coming Up Next

Going from single-module to multi-module Maven project

Once your project gets bigger, you often want more structure. With Maven, you can easily split your project into multiple modules. In this episode you'll start with the single-module project from the last episode and turn it into a multi-module Maven project - and learn how to avoid some caveats along the way

Subscribe to any paid plan and access all episodes in full length

Try It Free

Share This

Share