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