Maven Complete Tutorial with IntelliJ

Maven Complete Tutorial For Beginners. Maven IntelliJ. In this tutorial we are going to learn all the concepts you need to know to start working with Maven in your Projects.
✍️Source Code and Link for Written Tutorial:
programmingtechie.com/2020/12...
00:00 Start
00:58 What is Maven ?
01:34 Installing Maven
02:41Configure Maven in IntelliJ
03:32 Creating your First Maven Project
04:49 Maven Folder Structure Explained
06:17 Maven Core Concepts
09:50 Dependencies
12:51 Transitive Dependencies
14:48 SNAPSHOT & RELEASE Dependencies
15:35 Dependency Scopes
17:29 Repositories
19:19 Build Lifecycle
23:30 Plugins and Goals
30:56 Multi Module Projects
36:53 Profiles
⭐️⭐️ You can follow me in Social Media through below Links⭐️⭐️
Twitter: / sai90_u
Blog: programmingtechie.com/
Dev.to: dev.to/saiupadhyayula
Facebook Page: / programmingtechie

Пікірлер: 122

  • @ProgrammingTechie
    @ProgrammingTechie2 жыл бұрын

    You can follow me on Twitter at: twitter.com/sai90_u

  • @hnaveediqbal
    @hnaveediqbal2 жыл бұрын

    I have been working on maven for 4-5 years now, but for the first time I learned what those thing actually are that I have been using. Thanks and keep going

  • @dalesongg
    @dalesongg7 ай бұрын

    As someone who's worked in FAANG for 6+ years, I have to commend this video for its concise and extremely effective tutorial. Thank you!!!

  • @surajbiradar2735
    @surajbiradar27353 жыл бұрын

    Crystal clear! No more confusion around Maven! Thank you and keep up the good work!

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thank you glad you liked the Tutorial

  • @sumeght1878
    @sumeght18782 жыл бұрын

    straight to the point and very very helpful. By far the most descriptive and the best video ever made on Maven. Thanks Bud.

  • @StringStack
    @StringStack3 жыл бұрын

    from scratch and to the point... respect 🙌👏

  • @rashmikadk6796
    @rashmikadk679623 күн бұрын

    I accidentally find your channel and this is great. This is great your content is great never stop keep it up🙏🙏🙏❤️❤️❤️

  • @Avi.Kashyup
    @Avi.Kashyup Жыл бұрын

    I don't like videos easily but your explanation on the topic was simple, clear and concise. Great work brother. 👍👍

  • @sureshmani2094
    @sureshmani20943 жыл бұрын

    Thank you , very good and easy to understand tutorial for someone who have no idea what maven is about.

  • @arijitsarkar27
    @arijitsarkar273 жыл бұрын

    Brilliant work. No faffing about & straight to the point with examples. Keep up the good work!

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thank you 🙂

  • @deepak1990salunkhe
    @deepak1990salunkhe3 жыл бұрын

    Excellent Tutorial with Excellent pace. Very well edited. Must have given too much time to edit and make the tutorial perfect for beginner. Keep creating such tutorials. Kudos and Cheers!!

  • @sajistube
    @sajistube Жыл бұрын

    Straight to the Point Hats Off . Congrats!

  • @dineshreddy8761
    @dineshreddy87613 жыл бұрын

    This gave solid foundation of maven... Thank you so much dear❤️🙏🙏

  • @alphagator360
    @alphagator360 Жыл бұрын

    Great content and delivery. Keep up the good work. Subscribed!

  • @maissatouili9544
    @maissatouili95443 жыл бұрын

    Thank you for this brilliant work !! Made my day

  • @ravisheikh6706
    @ravisheikh67062 жыл бұрын

    length is short but all topics are coverd perfectly good job sir

  • @adnansadat7601
    @adnansadat7601 Жыл бұрын

    Perfect. The difference between your vedio and rest of the vedios on this topic is simple: You know what your are talking while other may be not.

  • @fibo12358
    @fibo123583 жыл бұрын

    i needed you to replace most of my college professors in college, bro!

  • @kingKabali
    @kingKabali3 жыл бұрын

    This was really useful. Thanks a lot. Amazing tutorial!!!!

  • @rargza9169
    @rargza91692 жыл бұрын

    I can´t believe its working now! Thank you!

  • @everettvincent1688
    @everettvincent1688 Жыл бұрын

    Thank you. Very good tutorial with clear examples!

  • @ratulsamanta3158
    @ratulsamanta31583 жыл бұрын

    Too much valuable..i van understand easily.thank you so much❤️❤️

  • @leaderdoni5326
    @leaderdoni53263 жыл бұрын

    One place to learn complete maven configurations!! Quality content

  • @jeevanreddy2259
    @jeevanreddy22592 жыл бұрын

    Thanks brother learnt like champ...it is very crysp and clear...

  • @josuebarros-desenvolvedorw2490
    @josuebarros-desenvolvedorw24903 жыл бұрын

    Cool! Thanks for sharing bro!! I'm learning Maven so I can convert a Java Web project to a Laravel project, because a client need this asap!

  • @RAZTILA
    @RAZTILA3 жыл бұрын

    This video is SOOOOOO GOOOOD! Thank you so muh man!!

  • @kostiantynkarzhanov9216
    @kostiantynkarzhanov92163 ай бұрын

    Thank you! Awesome tutorial! 💛

  • @hansuswurstus888
    @hansuswurstus888 Жыл бұрын

    thx a lot for this video. straight forward, perfect explanation speed and super info structure :)

  • @shreyasvaghasia7175
    @shreyasvaghasia7175 Жыл бұрын

    Your videos are of very good quality 👍 please continue the good work

  • @Phuongle71104
    @Phuongle711046 ай бұрын

    thank you so much. Your explanation is really clear and you also create a documentation to re-read it.

  • @kristuze1
    @kristuze12 жыл бұрын

    Excellent course, thank you very much!

  • @rashidanwar101
    @rashidanwar101 Жыл бұрын

    Superb..!! It helped me a lot in my professional work.

  • @Nico-rl4bo
    @Nico-rl4bo3 жыл бұрын

    Valuable content, much appreciatetc!

  • @dannyclytus2082
    @dannyclytus20822 жыл бұрын

    thank you so much for this tutorial. Really helped a lot

  • @poorpanda9033
    @poorpanda90338 ай бұрын

    Amazing Video, Thank you so much ! Clear & concise

  • @danielbd4883
    @danielbd48832 жыл бұрын

    dude, you are a LEGEND

  • @shaq3962
    @shaq39623 жыл бұрын

    You are an awesome teacher!

  • @bunmisadiq3298
    @bunmisadiq329811 ай бұрын

    Great tutorial! Love it.

  • @venugopalreddy6618
    @venugopalreddy66182 жыл бұрын

    thanks man, for the great content.

  • @benvella1728
    @benvella17282 жыл бұрын

    An amazing free online resource!

  • @workstudying8876
    @workstudying88763 жыл бұрын

    Great tutorial, thanks!

  • @danielmilewski7659
    @danielmilewski76592 жыл бұрын

    very good tutorial. thank you! Regards from Poland.

  • @dzhan84
    @dzhan843 жыл бұрын

    Thank you man, very good and easy to understand tutorial for someone who have no idea what maven is about.

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thanks, Glad you liked it

  • @dionfrancois5649
    @dionfrancois56492 жыл бұрын

    Thank you so much, crystal clear

  • @wazeeharaa8100
    @wazeeharaa81002 жыл бұрын

    Excellent! Expected Basics

  • @shivakonar
    @shivakonar3 жыл бұрын

    Brilliant!

  • @outlanderbeastisback
    @outlanderbeastisback3 жыл бұрын

    Informative yet to the point.

  • @albertoruiz1961
    @albertoruiz19613 жыл бұрын

    Great content, thanks!

  • @vojtavagunda411
    @vojtavagunda4113 жыл бұрын

    Thank you for your awesome explanation

  • @erikbustos2187
    @erikbustos21872 жыл бұрын

    Amazing!! Thanks!

  • @shridhargavai1
    @shridhargavai1 Жыл бұрын

    spot on

  • @arongil
    @arongil2 жыл бұрын

    Very helpful, thank you!

  • @venkatk161
    @venkatk161 Жыл бұрын

    Thank you so much!.

  • @valetinaveen5763
    @valetinaveen5763 Жыл бұрын

    U rocked it

  • @castrachannel
    @castrachannel3 жыл бұрын

    Thank you!

  • @nutankumari9977
    @nutankumari9977 Жыл бұрын

    👏informative for beginners

  • @blackandyelllow5891
    @blackandyelllow58913 жыл бұрын

    good job! Keep it up :)

  • @amitk6701
    @amitk67012 жыл бұрын

    Nice content. Really appreciate your effort. Can you please create another short video on dependencymanagement and pluginmanagement that you have covered here in brief?

  • @deepakkumar-oo1uq
    @deepakkumar-oo1uq Жыл бұрын

    Subscribed, very good explanation 🔥

  • @saravanansksk
    @saravanansksk2 жыл бұрын

    Clear content 👌

  • @alhassanbah
    @alhassanbah Жыл бұрын

    You the best 🎉🎉🎉🎉

  • @mostafaEOY
    @mostafaEOY3 жыл бұрын

    Great Tutorial

  • @abubakrshoaliev2775
    @abubakrshoaliev27752 жыл бұрын

    good video, thank you very much!

  • @debajyotinath5021
    @debajyotinath50213 жыл бұрын

    Thanks, you covered a lot in this one. By the way, I think M2_HOME should point to home folder of maven, not the bin folder!

  • @moj8301
    @moj83012 жыл бұрын

    Great Video Explanations and if you keep it up your channel will definetly grow, also could you make a Spring Boot Video Tutorial thanks.

  • @RishiRaj-ex9wb
    @RishiRaj-ex9wb2 жыл бұрын

    Great work¡ thank

  • @balasahebnimse8473
    @balasahebnimse84733 жыл бұрын

    Superb explaination!!

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thanks, Glad you liked it

  • @nikunjkumar555
    @nikunjkumar5552 жыл бұрын

    Best tutorial

  • @priyaranjankumar5549
    @priyaranjankumar55492 жыл бұрын

    mja aa gya

  • @paulkline7831
    @paulkline7831 Жыл бұрын

    thank yoooooooouu

  • @ashubesongnso4221
    @ashubesongnso42213 жыл бұрын

    awsome

  • @vaclavvlcek4527
    @vaclavvlcek45272 жыл бұрын

    Hi, thank you for this video, it is a nice summary! I watched that till the end and it was a nice recap for me what the Maven is used for. However, if it were first time for me watching a tutorial about the Maven, it would be too fast :) I think you could slow down a bit in your videos ;)

  • @ProgrammingTechie

    @ProgrammingTechie

    2 жыл бұрын

    Noted, I wanted to have fast paced videos at the beginning, I slowed down my pace in the recent videos 😄

  • @mojtababakhtiari5774
    @mojtababakhtiari57742 жыл бұрын

    perfect

  • @iamshakiransari
    @iamshakiransari2 жыл бұрын

    Best

  • @Mythix2
    @Mythix22 жыл бұрын

    nice proejct

  • @mp15singh
    @mp15singh3 жыл бұрын

    Although you have explained it quite well,no doubt in that but you have missed very important thing here while adding . You have taken example url and said it will work if we use actual nexus url but it’s wrong. It will fail even with actual nexus url as you haven’t explained how that tag will be used. Until and unless you haven’t add your I’d in setting.xml ,it will not work. I think it’s worth explaining.

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thanks for the feedback :) 👍

  • @vikrambhaik5010
    @vikrambhaik50103 жыл бұрын

    Nice video

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thank you :)

  • @foolm6714
    @foolm6714 Жыл бұрын

    Hey @Programming Techie ,really wonderful video, amazing. Can you help me ,I have a doubt,why are we defining plugins inside pom.xml when we can run them directly using the buttons available in intellij IDEA( in the right hand side). Please help. THANK YOU .

  • @ProgrammingTechie

    @ProgrammingTechie

    Жыл бұрын

    As you can see in the video already there is no need to define the plugins explicitly but it's a good idea to define the necessary plugins in pom.xml and manually define the version we need. In this way your project will pretty independent whereever you try to build it not only in Intellij

  • @lemonghost5591
    @lemonghost55912 жыл бұрын

    First, thank you sir for your great video! I have a question about surefire unit test. In my pc, junit5 test do not work for the version in the video , so I updated to the latest version(2022.07.05) It worked for that version, but still, surefire do not run any test without @test annotation in test class however, inside this video, it seems that it works without @test annotation in test class! I wonder if you did any special settings to make it work again, this video was really helpful for me to understand and write some simple maven projects, thanks :)

  • @deeproy2719
    @deeproy2719 Жыл бұрын

    concise content. could have added difference between parent pom and dependency

  • @syedmaqthyar5556
    @syedmaqthyar55563 жыл бұрын

    On running "mvn clean test" I am getting this error # Created at 2021-02-24T21:37:34.326 Error: Could not find or load main class org.apache.maven.surefire.booter.ForkedBooter # Created at 2021-02-24T21:37:34.326 Caused by: java.lang.ClassNotFoundException: org.apache.maven.surefire.booter.ForkedBooter

  • @brionadderley1643
    @brionadderley16433 жыл бұрын

    Hey i got an error when i tryd to build my project on IntelliJidea it said; Build failed project model inaccessible; so i will have to implement this pom.xml file with all of its dependencies and plugins etc.... ?

  • @hrashikeshtiwari7220
    @hrashikeshtiwari72202 жыл бұрын

    How do I add an external jar that i have separately downloaded.

  • @PradeepKumar-sx6ms
    @PradeepKumar-sx6ms20 күн бұрын

    can you explain with an example about and tag

  • @IsentropicFlow_
    @IsentropicFlow_3 жыл бұрын

    Hello sir, I'm creating a multi-Maven module project in IntelliJ and can't figure out if there's a way to compile all the Maven modules into a single jar file. Let's say I have three modules: maven-child-project-1, maven-child-project-2, and maven-child-dependency. Is there a way to configure Maven such that when you run "mvn clean package", all the Maven modules are collapsed into a single jar file? Thanks!

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Hi if you have some independent maven projects,you can use maven assembly plugin to assemble individual jars into a single jar.

  • @IsentropicFlow_

    @IsentropicFlow_

    3 жыл бұрын

    @@ProgrammingTechie Is there a configuration within maven-assembly-plugin that does that for you? And which pom.xml should I put that configuration in?

  • @sucharithareddy3368
    @sucharithareddy3368 Жыл бұрын

    i did exactly what you said for installation but getting "'mvn' is not recognized as an internal or external command, operable program or batch file." in command prompt

  • @ravisheikh6706
    @ravisheikh67062 жыл бұрын

    please make the complite playlist on spring framwork project like E-commerce

  • @derryyeh
    @derryyeh2 жыл бұрын

    Brilliant stuff. One thing makes me to comment is I notice you're using Brave browser, I guess you're using Linux as well?

  • @ProgrammingTechie

    @ProgrammingTechie

    2 жыл бұрын

    No I am on windows :)

  • @carlellis9647
    @carlellis96472 жыл бұрын

    There is one thing in this video I take issue with. Around the 5:30 mark in the video he talks about the resource folder in Maven. He says that is where you put static files like property files and XML files. That is totally correct. But then he goes on to say that if you have a web application you can also put HTML files in the resource folder. That is NOT how a Java based web application is built. Maven has a particulary archty[pe (think of it as different variation of maven projects) specifically for web applications. That is the correct way to create a Maven project for a Java based web application. For those web applications, a webapp folder under the /src/main folder so the path would be /src/main/webapp under that folder a separate folder would be created to hold your HTML files. Most IDEs that offer to the option to create a Maven project will offer the option for a standard Java application and another for a Java web application. The exception to this would be if you are building a web application with Spring Boot but that is entirely different topic.

  • @ProgrammingTechie

    @ProgrammingTechie

    2 жыл бұрын

    When I mentioned this point, I exactly had spring boot based web applications in mind, as I was more experienced with it, but yes I see your point as this is a maven based tutorial.

  • @abhinavagrawal6148
    @abhinavagrawal61483 жыл бұрын

    When will you upload KZread Clone Series videos and other series?

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Hi abhinav I am still building the front end of the KZread clone app, so it may take sometime to finish the tutorial, and this time I want to upload one single video instead of multiple parts. meanwhile I am planning to upload some other spring and java related tutorials. You can check out the source code of KZread clone app here - github.com/SaiUpadhyayula/youtube-clone

  • @antonstezhkin5991
    @antonstezhkin59912 жыл бұрын

    How can i get a maven archetype?

  • @techiestart3233
    @techiestart32333 жыл бұрын

    If we don't change that groupid while we are creating our project is there any problem?

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    No it should not be any problem

  • @techiestart3233

    @techiestart3233

    3 жыл бұрын

    @@ProgrammingTechie one more doubt Iam getting dependency not found error.How can it get resolved?

  • @okey1317
    @okey131711 ай бұрын

    27:11 Why two things, source and target?

  • @codewithsait
    @codewithsait3 жыл бұрын

    What is your intelijidea theme?

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    It's gradianto plugins.jetbrains.com/plugin/12334-gradianto

  • @anshulgautam2344
    @anshulgautam23443 жыл бұрын

    command not found: mvn Don't press enter, press Cmd/Ctrl + Enter

  • @mohammadfahim796
    @mohammadfahim7963 жыл бұрын

    Which theme is you are using in intelij

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Gradianto

  • @mohammadfahim796

    @mohammadfahim796

    3 жыл бұрын

    Thanks sir and awesome lecture. appreciate your work.

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    @@mohammadfahim796 Thanks 🙂

  • @okey1317
    @okey131711 ай бұрын

    7:50 this is a parent for all the superpom files? what?

  • @marcuscasagrande7596
    @marcuscasagrande75962 жыл бұрын

    It started ok, but then a bunch of tools and actions were happening without a specific reason to me. Moving on to another more simple tutorial here :(

  • @ProgrammingTechie

    @ProgrammingTechie

    2 жыл бұрын

    Thanks for the feedback

  • @samsalman143
    @samsalman1433 жыл бұрын

    Xclnt Xplanation.

  • @ProgrammingTechie

    @ProgrammingTechie

    3 жыл бұрын

    Thank you :)

  • @priyashanmugam5777
    @priyashanmugam57773 жыл бұрын

    Complete maven tutorial video in eclipse???!