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
You can follow me on Twitter at: twitter.com/sai90_u
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
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!!!
Crystal clear! No more confusion around Maven! Thank you and keep up the good work!
@ProgrammingTechie
3 жыл бұрын
Thank you glad you liked the Tutorial
straight to the point and very very helpful. By far the most descriptive and the best video ever made on Maven. Thanks Bud.
from scratch and to the point... respect 🙌👏
I accidentally find your channel and this is great. This is great your content is great never stop keep it up🙏🙏🙏❤️❤️❤️
I don't like videos easily but your explanation on the topic was simple, clear and concise. Great work brother. 👍👍
Thank you , very good and easy to understand tutorial for someone who have no idea what maven is about.
Brilliant work. No faffing about & straight to the point with examples. Keep up the good work!
@ProgrammingTechie
3 жыл бұрын
Thank you 🙂
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!!
Straight to the Point Hats Off . Congrats!
This gave solid foundation of maven... Thank you so much dear❤️🙏🙏
Great content and delivery. Keep up the good work. Subscribed!
Thank you for this brilliant work !! Made my day
length is short but all topics are coverd perfectly good job sir
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.
i needed you to replace most of my college professors in college, bro!
This was really useful. Thanks a lot. Amazing tutorial!!!!
I can´t believe its working now! Thank you!
Thank you. Very good tutorial with clear examples!
Too much valuable..i van understand easily.thank you so much❤️❤️
One place to learn complete maven configurations!! Quality content
Thanks brother learnt like champ...it is very crysp and clear...
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!
This video is SOOOOOO GOOOOD! Thank you so muh man!!
Thank you! Awesome tutorial! 💛
thx a lot for this video. straight forward, perfect explanation speed and super info structure :)
Your videos are of very good quality 👍 please continue the good work
thank you so much. Your explanation is really clear and you also create a documentation to re-read it.
Excellent course, thank you very much!
Superb..!! It helped me a lot in my professional work.
Valuable content, much appreciatetc!
thank you so much for this tutorial. Really helped a lot
Amazing Video, Thank you so much ! Clear & concise
dude, you are a LEGEND
You are an awesome teacher!
Great tutorial! Love it.
thanks man, for the great content.
An amazing free online resource!
Great tutorial, thanks!
very good tutorial. thank you! Regards from Poland.
Thank you man, very good and easy to understand tutorial for someone who have no idea what maven is about.
@ProgrammingTechie
3 жыл бұрын
Thanks, Glad you liked it
Thank you so much, crystal clear
Excellent! Expected Basics
Brilliant!
Informative yet to the point.
Great content, thanks!
Thank you for your awesome explanation
Amazing!! Thanks!
spot on
Very helpful, thank you!
Thank you so much!.
U rocked it
Thank you!
👏informative for beginners
good job! Keep it up :)
Nice content. Really appreciate your effort. Can you please create another short video on dependencymanagement and pluginmanagement that you have covered here in brief?
Subscribed, very good explanation 🔥
Clear content 👌
You the best 🎉🎉🎉🎉
Great Tutorial
good video, thank you very much!
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!
Great Video Explanations and if you keep it up your channel will definetly grow, also could you make a Spring Boot Video Tutorial thanks.
Great work¡ thank
Superb explaination!!
@ProgrammingTechie
3 жыл бұрын
Thanks, Glad you liked it
Best tutorial
mja aa gya
thank yoooooooouu
awsome
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
2 жыл бұрын
Noted, I wanted to have fast paced videos at the beginning, I slowed down my pace in the recent videos 😄
perfect
Best
nice proejct
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
3 жыл бұрын
Thanks for the feedback :) 👍
Nice video
@ProgrammingTechie
3 жыл бұрын
Thank you :)
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
Жыл бұрын
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
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 :)
concise content. could have added difference between parent pom and dependency
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
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.... ?
How do I add an external jar that i have separately downloaded.
can you explain with an example about and tag
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
3 жыл бұрын
Hi if you have some independent maven projects,you can use maven assembly plugin to assemble individual jars into a single jar.
@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?
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
please make the complite playlist on spring framwork project like E-commerce
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
2 жыл бұрын
No I am on windows :)
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
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.
When will you upload KZread Clone Series videos and other series?
@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
How can i get a maven archetype?
If we don't change that groupid while we are creating our project is there any problem?
@ProgrammingTechie
3 жыл бұрын
No it should not be any problem
@techiestart3233
3 жыл бұрын
@@ProgrammingTechie one more doubt Iam getting dependency not found error.How can it get resolved?
27:11 Why two things, source and target?
What is your intelijidea theme?
@ProgrammingTechie
3 жыл бұрын
It's gradianto plugins.jetbrains.com/plugin/12334-gradianto
command not found: mvn Don't press enter, press Cmd/Ctrl + Enter
Which theme is you are using in intelij
@ProgrammingTechie
3 жыл бұрын
Gradianto
@mohammadfahim796
3 жыл бұрын
Thanks sir and awesome lecture. appreciate your work.
@ProgrammingTechie
3 жыл бұрын
@@mohammadfahim796 Thanks 🙂
7:50 this is a parent for all the superpom files? what?
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
2 жыл бұрын
Thanks for the feedback
Xclnt Xplanation.
@ProgrammingTechie
3 жыл бұрын
Thank you :)
Complete maven tutorial video in eclipse???!