Maven Tutorial - Crash Course

preview_player
Показать описание
Ever looked for a comprehensive intro to Maven that is fun and entertaining at the same time? Then have a look at this brand-new episode of "Marco Codes": Maven Tutorial [Crash Course].

► References

► Table Of Contents
00:00 Intro
00:30 Cloning The Sample Project
01:09 Installing Maven - Package Manager
01:34 Installing Maven - Manual
02:57 Maven Wrapper
04:31 mvn validate
05:21 IntelliJ - Importing Maven Projects
12:27 IntelliJ - Maven Reload Trick
13:11 IntelliJ - Dependency Search
15:04 Maven Directory Structure
15:25 mvn clean
15:37 mvn compile
16:00 mvn test
17:45 mvn package
18:36 mvn install
19:18 Local Maven Repository
20:25 Central Maven Repository
22:28 Multi Module Projects

► Further Reading:

► FOLLOW ME
Рекомендации по теме
Комментарии
Автор

Such a concise and to-the-point video. Probably the best video I have watched on this topic.

kashmeu
Автор

Thank you, this was a lifesaver. For whatever reason, my university decided to completely skip explaining Maven before explaining Spring.

smikkelbeer
Автор

Great tutorial, sort of one stop shop to revise maven concepts quickly before the interviews and also brush up after every few months when need to get back to basics to nail down more technical stuff around maven.

nitiniit
Автор

That's a understandable, pratical and simple example from how to use maven. Congrats keep the excelent work!!

xpluiz
Автор

I’m still new to development and have been branching out on my own in addition to my classes and I kept running across maven but didn’t understand what it did. It became unavoidable when I committed to spending the next month trying to learn spring boot. Your explanation has made it so clear and simple to me and helped my growing understanding as a programmer. Thanks

keldur
Автор

Great tutorial.
Just quick points for everyone.

In multimodule project we can see
<dependencyManagement> and <pluginManagement>

the difference from normal <dependency> and <plugin> tags is

- dependency/plugin inside management tag are managed by parent but are not inherited by children implicitly. Child need to explicitly define the dependency/plugin in their pom.xml but can omit things like etc. which will be managed by parent.

This helps in proving the dependency to the module which needs it.

arjitmishra
Автор

very clear tutorial, thanks so much. i like how you not only tell us what the most important parts of maven are, but also tell us WHY they're important. for instance, you mentioned that the pom.xml is important, gave an explanation of what it does, and then told us that since all maven projects have pom.xml, it helps with standardizing projects. thus, we can expect most maven projects to look more or less the same in structure. very useful tutorial.

parkerhix
Автор

Thank you Marco :)
I look forward to your next videos... with excitement and interest.

halilkose
Автор

Thank you for the excellent content Marco. Simple & Clear.

abhishek_m
Автор

You are amazing! Thanks for this short and crisp video.

shubhammguptaa
Автор

Marco thanks a lot for this comprehensive tutorial.
Im hoping to learn SpringBoot and this has been a great tutorial about java package management.

Keep up the good work.

sudeshryan
Автор

The smoothest and the clearest explanation I've ever seen. Thanks, man)

inkastraredbrother
Автор

The clearest explanation I've ever seen. Thanks

nfdgrnv
Автор

Really good to explain and describe new things to people! You're doing an excellent job here!

Jodlight
Автор

Really good. Now I am learning Spring MVC on Selenium Express channel to understand Spring MVC and start from Spring Boot... by your course appeared several days ago. Thanks!

ibrvvrr
Автор

Thank you for the short and very useful explanation. It would be good to have continuation of Maven topic with more advanced stuff

andriihaidychuk
Автор

WOW, thank you for such concise and clear explanation, great job! 👌🏼👌🏼

neblintysla
Автор

This was super helpful, I've always put off learning about Maven and now it seems way less daunting

lukezeches
Автор

Thank you. I understood this time finally. I would love to explore more on Maven. Recently I am supposed to push my Kotlin Multi Modules as shared libraries this video have given me those basics

owaistnt
Автор

@MarcoCodes you are a funking ROCKSTAR! I finally not only understand what maven does but know how to get the thing working. Just ran my first test thanks so much!!!!

bekttf