Getting Started with Maven for Java Applications - Complete Code Explained

Опубликовано: 22 Январь 2024
на канале: Soham Kamani
3,145
36

This tutorial will show you how to run a basic Java Maven project on the command line (as opposed to on an IDE).

You can read the written version of this tutorial on sohamkamani.com/java/cli-app-with-maven/

We will learn how to run maven commands that create a new maven project,
package and execute your Java code from an executable JAR file,
run unit tests for your code, and add external dependencies to your project.

All of these tasks will be done on the command line, so that you can have a better idea on what’s going on under the hood, and how you can run a Java application without needing an IDE like Eclipse or IntelliJ.

References:
Install Java: https://openjdk.java.net/install/
Install maven: https://maven.apache.org/install.html
Maven JAR plugin: https://maven.apache.org/plugins/mave...
Cowsay library: https://github.com/ricksbrown/cowsay
Maven assembly plugin: http://maven.apache.org/plugins/maven...


На этой странице сайта вы можете посмотреть видео онлайн Getting Started with Maven for Java Applications - Complete Code Explained длительностью часов минут секунд в хорошем качестве, которое загрузил пользователь Soham Kamani 22 Январь 2024, поделитесь ссылкой с друзьями и знакомыми, на youtube это видео уже посмотрели 3,145 раз и оно понравилось 36 зрителям. Приятного просмотра!