Best explanation of POM file and dependncies around youtube, i spent more than 5 hrs studying from difffernet resources and nothing is crlear about the topic.
this video is worth every second in gold. It completely cleared all my doubts. And contains, amazing, to the point explanation. Thanks Mr. Brandan for making this video and making it available in public domain for enthusiastic learners like us.
Just started a job where I'm writing Kotlin having only Node experience, this made my understanding of how to configure maven projects so much better- Thank you!
Excellent presentation! I'm going to recommend it to a student I'm mentoring. We recently attended a webinar about the security of dependencies. This will be helpful background information.
Probably the best explanation of POM file and dependncies. I am new using Eclipse or programming technologies and this video was beyond helpful. I'm looking forward to more videos.
Thanks for the nice comment, I'm glad you enjoyed the video! If you'd like to see how it's used, it's part of a playlist on microservices in java: ruclips.net/p/PL73qvSDlAVVh4QHMkO2gM52deldy64n45
Nice explanation and slides used are really cool. Could you also make another demo on using the properties/variables and reference the files in external location etc.. in pom file. Thanks.
That's a good idea. Perhaps I should start planning a "More complex explanation of Maven and pom.xml". Or, I can just call it part 2. :) Anyway, I appreciate the suggestion... I'll look into it!
Far and away the best maven intro I've found on yt. This was an excellent overview of dependencies. One thing I think would be nice to see as far as building and packaging would be a comparison with a simple project between maven and doing it completely manually. I personally learned to build java projects from command line several years ago but then didn't have much experience after. Now I'm getting back into java and spring, and I would find it refreshing to see how the mavens config maps to what I remember about java building and packaging.
Thanks! I'm about to make an updated version of this video, in IntelliJ IDEA. javac.exe build: back then, we were just making .class files,.jar files, and maybe .war files. If we had dependencies, we had to package them up ourselves. What the new build tools bring new to the table is automated dependency management. Fun fact: I have videos for each of the major build tools on my channel, including command line. This maven video is my highest viewed video, each month.
@@discospiff It does sound simple when you state it like that. The main tasks maven automates are keeping track of and downloading libraries and then adding them to the target package. Thanks! I'll check out your other videos.
Thank you. Your to-the-point explanation has cleared out many of my doubts and given me lots of confidence as I think I am moving in the right direction :)
@@discospiff tag (what is it, what does 'test' mean, etc.) also, Maven Plugins... Kinda glossed over that. Plenty of focus on dependencies but nothing about what maven build plugins are used for, example build plugins, what are the required build plugins for simple maven projects. (speaking from someone's who's new to Maven and has no idea about either of these things)
MAVEN? for java project -universal build system -manage dependencies and versions -easy to pull features(libraries, jar files) want to use MAVEN for your java project? repository/settings.xml pom.xml? xml based documentation MAVEN core configuration documentation
WOW. just wow. this was a so hard-to-understand issue for me, i just didnt really get everything. but you just made it so easy to understand, im indebted to you :D
Well explained ! since its only the pom yet some settings.xml related content and some plugin-how-to would be nice. Since Maven consists basically of plugins. Like how to do your own and modify the existing ones like new Mojos or Configurations for your pom embedded in a settings.xml
The m2 folder is not the Maven installation folder, that is usually somewhere else. m2 is as you display the local repository where the dependencies are downloaded too. This way Maven does not have to pull dependencies from a online repository (local on the network like Nexus or publicy) constantly but just grab them locally from your computer. Also the m2 folder does not have to be in that spot. It depends on the config in the settings.xml
@@venkateshprasad6432 Glad you asked! Actually, this video is part of a playlist on Spring Boot with Eclipse: ruclips.net/video/FRw5j5FqdL0/видео.html HOWEVER... I'm making a brand new playlist now, which updates that Microservices and Spring Boot playlist, and uses IntelliJ IDEA. That playlist is about 70% complete. I'm releasing one new video per day, and I'll have the final videos on it in November: ruclips.net/video/6vvUevxlOp8/видео.html Thanks for watching!
Thanks Brandan. Do you have a video on how to do the maven version on dependencies without hardcoding it and it will change with the "latest version" when there is one automatically?
Excellent! When I made this video, I was trying to put my own thoughts into words. Maven can be intimidating, until you have a good foundation on the theory.
m2 settings: A text file with all of the maven settings. Any user credentials, for instance. Nexus: a place where you can host dependencies, which will be resolved by Maven. So, any libraries, jars, etc., that you want to make available, you can do so on Nexus. Hope that helps.
@@discospiff It's no surprise, the content was synthesized and sumarized spectacularly. As a developer these kind of videos are everything I wish for. Keep up the good work.
Great pres. One thing - Maven plugins on Eclipse, IntelliJ, etc force us to give values for *groupid* , *artifactid* and *version* . But the XML schema for a POM file maven.apache.org/xsd/maven-4.0.0.xsd clearly states that *minOccurs=0* for each of these elements . . .
@@discospiff Maven plugins won't allow project creation without these value entries. Maybe it was originally set to 0 so people could run simple projects on it or for Maven internal test reasons - then they just configured out this option by making these 3 fields required entries ?
What is the difference between 'create from archetype' and archetype coordinates? Intellij seems to be giving me that extra step but i don't understand the difference. Could someone explain? Thank you
My thoughts are that I want to simply package my project and create a java equivalent of a setup.exe file with the java application I just wrote inside ready to install on my Linux server. And this is a very detailed tutorial but that goal of install my own java application on my server seems to be a distant goal.
Recommendation: you can create a device independent, self-executing jar file by specifying details in MANIFEST.MF in the jar file. I don't have a video on how to do this, but it is possible, and I've done it several times before. The manifest simply needs to indicate which class in the jar has a main method, and should be used to start the application when the jar is clicked. The nice thing is, unlike an .exe file, this is a platform independent approach, and will work on Windows, Linux, etc.
Are you watching these in a playlist? Which playlist? It may be in several. The one I recommend is Microservices and Enterprise Applications: ruclips.net/video/FRw5j5FqdL0/видео.html Most videos should be in order there, but if one is out of sequence, let me know and I will fix.
@@discospiff Hi Brandan, thanks for great tutorials,. There are so many videos in that playlist. Are those videos depending on each other? Should they be watched in that sequence? Could create playlist for each topic, for example Spring videos or just Maven?
Best explanation of POM file and dependncies around youtube, i spent more than 5 hrs studying from difffernet resources and nothing is crlear about the topic.
Thanks! I appreciate the comment. What did you like about the video?
A lot of people have knowledge and few know how to convey it. Thank you for this video
Thanks! I appreciate the feedback. This is my most popular video on RUclips. :)
this video is worth every second in gold. It completely cleared all my doubts. And contains, amazing, to the point explanation. Thanks Mr. Brandan for making this video and making it available in public domain for enthusiastic learners like us.
You deserve WAY more views. Thank you so much for explaining that clearly and concisely.
Every view is important to me... especially yours!
Just started a job where I'm writing Kotlin having only Node experience, this made my understanding of how to configure maven projects so much better- Thank you!
Excellent, glad it helped!
i am training for software developer and this helped a lot to understand the basics of maven and most important the pom.xml file. thnx for the video..
I'm glad it was helpful! Best of luck in training for software developer. How is it going?
You simplified the POM.XML. Thanks and lots and love from INDIA :)
Thanks! I'm happy to hear I was able to explain this in a simple way. :) pom.xml is incredibly useful for dependency management.
Excellent presentation! I'm going to recommend it to a student I'm mentoring. We recently attended a webinar about the security of dependencies. This will be helpful background information.
Very cool! I'm glad you found this useful. Thanks for sharing it with others!
Knowledge is like open source software: it improves when shared. :)
Finally, a tutorial on Maven that instead of fancy graphics has an actually good audio. Thanks!
Excellent! I really appreciate the feedback; it helps me to tailor my future videos. Stay tuned, more videos are coming soon!
Thanks, organizes many build pipeline concepts well. I had to work with this, and intuited what was needed, but this formalizes it better.
thank you so much, you explained everything I think i need to know about maven and pom.xml. mission accomplished. you just saved another soul.
Probably the best explanation of POM file and dependncies. I am new using Eclipse or programming technologies and this video was beyond helpful. I'm looking forward to more videos.
Thanks for the nice comment, I'm glad you enjoyed the video! If you'd like to see how it's used, it's part of a playlist on microservices in java: ruclips.net/p/PL73qvSDlAVVh4QHMkO2gM52deldy64n45
I been through loads of video's about soft . but you are the best thanks for your video's.
Thanks! I really appreciate the feedback.
Great explanation
Thanks! What do you like about it?
perhaps the best intro to POM
Thanks! pom.xml files are very useful for managing dependencies and the like.
Thanks a lot Brandan for your explanation. It helped a lot. The way you explain the things is really nice.
Thanks! I appreciate this feedback. I hope you're building something amazing!
By far best intro for beginners..!
Thanks! I'm glad you found it. What do you like about the video?
Excellent introductory video on Maven. Looking forward to a more in-depth video in the future.
This video hit 100,000 views overnight... you may have been the lucky one!
I rarely comment , but it was so great that i had to. Thank you very much!
Thanks! This is my most viewed video on RUclips. :)
short and precise video on maven intro, thank you so much @brandan for uploading this video, appreciated
Thanks for the feedback! I try to make all of my videos concise, so that is good to hear.
Great walkthrough and explanation! Thank you for taking the time.
Thanks for sharing the feedback! Im glad the video helps.
Can't get better than this for an intro. Thanks a ton @Brandan
That's a great endorsement... thanks!
Nice explanation and slides used are really cool. Could you also make another demo on using the properties/variables and reference the files in external location etc.. in pom file. Thanks.
That's a good idea. Perhaps I should start planning a "More complex explanation of Maven and pom.xml". Or, I can just call it part 2. :) Anyway, I appreciate the suggestion... I'll look into it!
Brilliant explanation, and I myself join with Kishore that you should make another video.
Excellent explanation about Maven basics
I'm happy to hear that it helps! Thanks for the comment.
Waay better explanation than my teacher! Thank you for the video :)
This is one if my favorite videos. Glad it helped!
Extremely helpful video. Thanks, sir for your wonderful explanation.
Thanks so much! I'm happy to know this helped you.
Great video Brandan! Thanks!
Excellent! Maven is really powerful, and I'm glad you liked this video. Thanks for watching!
High quality content ! Well done Brandon 👏👏👏
Thanks! I hope you're building something amazing!
Far and away the best maven intro I've found on yt. This was an excellent overview of dependencies. One thing I think would be nice to see as far as building and packaging would be a comparison with a simple project between maven and doing it completely manually. I personally learned to build java projects from command line several years ago but then didn't have much experience after. Now I'm getting back into java and spring, and I would find it refreshing to see how the mavens config maps to what I remember about java building and packaging.
Thanks! I'm about to make an updated version of this video, in IntelliJ IDEA.
javac.exe build: back then, we were just making .class files,.jar files, and maybe .war files. If we had dependencies, we had to package them up ourselves. What the new build tools bring new to the table is automated dependency management.
Fun fact: I have videos for each of the major build tools on my channel, including command line. This maven video is my highest viewed video, each month.
@@discospiff It does sound simple when you state it like that. The main tasks maven automates are keeping track of and downloading libraries and then adding them to the target package. Thanks! I'll check out your other videos.
Thank you. Your to-the-point explanation has cleared out many of my doubts and given me lots of confidence as I think I am moving in the right direction :)
Thanks! I'm glad it helped. I hope you're building something awesome!
The first 2/3 of the video is great. The last 1/3, some of the stuff you say is underly described for a newbie.
Thanks for the feedback. Anything in particular that's confusing?
@@discospiff tag (what is it, what does 'test' mean, etc.)
also, Maven Plugins... Kinda glossed over that. Plenty of focus on dependencies but nothing about what maven build plugins are used for, example build plugins, what are the required build plugins for simple maven projects. (speaking from someone's who's new to Maven and has no idea about either of these things)
This is amazing. Thank your for the clear and concise transfer of knowledge.
Excellent! I'm happy you found it useful. Maven and pom.xml are very powerful.
Great tutorial I needed this for my job. Thank you!
Excellent! I'm glad you found it helpful. It's one of my most popular videos. :)
MAVEN?
for java project
-universal build system
-manage dependencies and versions
-easy to pull features(libraries, jar files)
want to use MAVEN for your java project?
repository/settings.xml
pom.xml?
xml based documentation
MAVEN core configuration documentation
Excellent video, Thanks a lot Brandan!
Glad it helped! I hope you're doing something great with maven!
Really really really great video! Nicely explained
Awesome! I'm glad it helped.
This is one of my most popular videos on RUclips. :)
This is such a nice vide! It explains the concepts very clearly. Thanks a lot Brandan! :)
I'm very happy to hear it helped... and even happier you took the time to comment. Thanks!
WOW. just wow.
this was a so hard-to-understand issue for me, i just didnt really get everything.
but you just made it so easy to understand, im indebted to you :D
I'm very happy to hear this! This is one of my most popular videos on RUclips. :) Glad you enjoyed it.
Thank you, this easily helped me get an understanding of what is Maven. Great work!
Thanks for the comment... glad the video helped!
Nice explanation. 👍👍
very good content Brandan
Thanks! I'm glad you found the video. I hope you're building something amazing!
you are really wonderful please make more videos, related to automation and java programming! That would be great:)
Thanks for watching, and thanks for the comment! Your feedback helps me to plan my next videos. More are on the way!
This was a super useful and clear explanation, thank you!
I'm happy to hear that. Thanks for watching!
Thanks a lot for the detailed explanation. Completely loved it.
Excellent! I'm glad you found the video useful.
Thankyou for the video, cleared a lot of confusions.
I'm glad it helped to clear things up! Thanks for the comment.
Perfect intro video! Thanks a million
Kkkkkkkkkkkkkkkkkkkkkkkkkkkkkkk
Excellently Explained
Thanks for the comment! Glad it helped.
I wish you could specify multiple executable targets in Maven. I believe you can do that with Ant. I'd assume Gradle can do that too but I don't know.
Well explained ! since its only the pom yet some settings.xml related content and some plugin-how-to would be nice. Since Maven consists basically of plugins. Like how to do your own and modify the existing ones like new Mojos or Configurations for your pom embedded in a settings.xml
Great idea, thanks! I've been thinking of making follow up videos to this.
The m2 folder is not the Maven installation folder, that is usually somewhere else. m2 is as you display the local repository where the dependencies are downloaded too. This way Maven does not have to pull dependencies from a online repository (local on the network like Nexus or publicy) constantly but just grab them locally from your computer. Also the m2 folder does not have to be in that spot. It depends on the config in the settings.xml
Thank you
Glad to find this video. Excellent explanation.
I'm glad you found it, too... it's one of my most popular videos. :)
Great, excellent explanation.
Glad you liked it! Thanks for watching.
Thanks Brandon , High quality content!
Thanks for the comment! Glad it helped.
I'm thinking of making more advanced Maven videos. Is there anything else you'd like to do with Maven?
@@discospiff thanks a lot for asking , im into springboot and microservices . It would be great if you make content on those topics🙏
@@venkateshprasad6432 Glad you asked! Actually, this video is part of a playlist on Spring Boot with Eclipse: ruclips.net/video/FRw5j5FqdL0/видео.html
HOWEVER... I'm making a brand new playlist now, which updates that Microservices and Spring Boot playlist, and uses IntelliJ IDEA. That playlist is about 70% complete. I'm releasing one new video per day, and I'll have the final videos on it in November: ruclips.net/video/6vvUevxlOp8/видео.html
Thanks for watching!
@@discospiff thanks a lot!! Respect++
Great explanation for a first look. Thank you.
Thanks for the feedback... and thanks for watching!
Wow! This is such a wonderful explanation! :O
Thanks for the comment! I'm glad you like the explanation.
So very well explained. Subbed!
Excellent video
Thank you very much! This is one of my favorites. :)
-Brandan
Thank you for the effort put in explaining how maven works ! =)
Glad it was helpful! Maven is quite nice for managing dependencies. Thanks for watching and commenting.
It was a great introduction viedo, Thank you!
Glad you found it. Thanks for watching!
Thanks Sir. great voice
Thank you, sir. This was very helpful.
That's great to hear! I'm happy you found the video helpful.
Very helpful. Thanks!
I'm glad it helped! Thanks for watching!
Thank you so much!!! God bless you
I'm glad it helped! Maven and pom.xml are essential to modern development practices.
Nicely explained, thanks.
loved your video ..thanks
Thanks! I'm glad you found it.
Nice video 👍
Thanks! What did you like about it?
So well explained! Thank you!
Glad it helped! Thanks for taking the time to comment.
Thanks Brandon. Good content
Glad it helped! Thanks for watching.
Great explanation thank you
great video ... thank you
I'm glad you found it useful! Maven is a powerful way to build applications. I hope you're building something awesome!
Thank you! Very good overview and we'll presented
Excellent... thanks for the feedback!
Thanks Brandan. Do you have a video on how to do the maven version on dependencies without hardcoding it and it will change with the "latest version" when there is one automatically?
Thank you so much, this was a very helpful video!
Glad it helped! How are you using maven?
6:12 packaging: .war, .jar, .eat
ohw, the .war in servlet projects is a packaging file - got it
One of my most watched videos on RUclips. ;)
@@discospiff hehe right :)
i just heard the same thing on your pom.xml vid with IntelliJ :D
Thank You! The tutorial was very helpful.
Excellent! When I made this video, I was trying to put my own thoughts into words. Maven can be intimidating, until you have a good foundation on the theory.
Nice explanation sir. Please let m e know the meaning of relative path tag. Also setting file under m2 folder. And lastly wat is nexus?Thanks
m2 settings: A text file with all of the maven settings. Any user credentials, for instance.
Nexus: a place where you can host dependencies, which will be resolved by Maven. So, any libraries, jars, etc., that you want to make available, you can do so on Nexus.
Hope that helps.
Very Helpful!!
Thanks! I'm glad it helped.
Do you have a video showing how to edit softs????
What are softs?
Where to update pom file? It's saying needed maven-enforce-plugin while building using maven project
Thanks a lot sir
rockstar video
good job, sir.
Thank you! I just made an update to this video, using IntelliJ IDEA instead of eclipse: ruclips.net/video/793-O43F-ng/видео.html
Oh... and you're one of the first viewers of this video, after it hit 100,000 views. So, thank you!
@@discospiff It's no surprise, the content was synthesized and sumarized spectacularly. As a developer these kind of videos are everything I wish for. Keep up the good work.
How can we remove unused properties from application.properties in maven project? How did one can validate that removed property is unused one
Nice explanation!
Thanks! I'm happy to hear you liked it.
Great pres. One thing - Maven plugins on Eclipse, IntelliJ, etc force us to give values for *groupid* , *artifactid* and *version* . But the XML schema for a POM file maven.apache.org/xsd/maven-4.0.0.xsd clearly states that *minOccurs=0* for each of these elements . . .
Hmmm. I've never tried it without those elements... curious what would happen if they were not present.
@@discospiff Maven plugins won't allow project creation without these value entries. Maybe it was originally set to 0 so people could run simple projects on it or for Maven internal test reasons - then they just configured out this option by making these 3 fields required entries ?
Could be. I love xsd (very useful), but this wouldn't be the first time I saw minOccurs=0 on a required element, if that's the case. :)
awesome!
Thanks! I'm glad it helped.
Very very helpful!
Excellent! Thanks for watching.
Great video!!
Thanks! Glad you liked it.
And how pom maven is configured for sybase sql anywhere?
Great stuff, thanks
Glad it helped. Thanks for watching!
If you don't provide a version for a dependency, what version is used?
What is the difference between 'create from archetype' and archetype coordinates? Intellij seems to be giving me that extra step but i don't understand the difference. Could someone explain? Thank you
Thank you Brandan :)
Thanks for the feedback! Glad it helped.
Great explanation! Thank you!
Glad to hear. Thanks!
My thoughts are that I want to simply package my project and create a java equivalent of a setup.exe file with the java application I just wrote inside ready to install on my Linux server. And this is a very detailed tutorial but that goal of install my own java application on my server seems to be a distant goal.
Recommendation: you can create a device independent, self-executing jar file by specifying details in MANIFEST.MF in the jar file. I don't have a video on how to do this, but it is possible, and I've done it several times before. The manifest simply needs to indicate which class in the jar has a main method, and should be used to start the application when the jar is clicked. The nice thing is, unlike an .exe file, this is a platform independent approach, and will work on Windows, Linux, etc.
Thanks, very useful
Excellent, I hope it helps to make sense of pom.xml. :)
Did you need to install any eclipse plugins?
No... this is eclipse, out of the box. No plugins required.
Brandon is the sequence of the videos right..? If not then can we get some table of contents of course website.?
Thanks for the course.
Are you watching these in a playlist? Which playlist? It may be in several. The one I recommend is Microservices and Enterprise Applications: ruclips.net/video/FRw5j5FqdL0/видео.html Most videos should be in order there, but if one is out of sequence, let me know and I will fix.
@@discospiff Hi Brandan, thanks for great tutorials,. There are so many videos in that playlist. Are those videos depending on each other? Should they be watched in that sequence? Could create playlist for each topic, for example Spring videos or just Maven?
Thanks a lot, really helpful :)
Glad it helped.... thanks for the comment!
Very clear
Excellent, thanks!