Simple Explanation of Maven and pom.xml

Поделиться
HTML-код
  • Опубликовано: 5 сен 2024
  • Understand Maven, the pom.xml, artifactId, groupId, version, parent, Effective pom, dependencies, plugins, and more. In this video, we look at a pom.xml file generated by Spring Initializr, and a pom.xml file generated for a simple Java project in Eclipse.
    This video is part of a playlist on building Full Stack Enterprise Applications with Microservices in Java, available here: • Overview of our Sample...
    Source code is freely available on GitHub at: github.com/dis...

Комментарии • 226

  • @CraneMaster9000
    @CraneMaster9000 2 года назад +1

    A lot of people have knowledge and few know how to convey it. Thank you for this video

    • @discospiff
      @discospiff  2 года назад

      Thanks! I appreciate the feedback. This is my most popular video on RUclips. :)

  • @ouhyeap315
    @ouhyeap315 Год назад +2

    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.

    • @discospiff
      @discospiff  Год назад

      Thanks! I appreciate the comment. What did you like about the video?

  • @l.watkins7793
    @l.watkins7793 2 года назад +17

    You deserve WAY more views. Thank you so much for explaining that clearly and concisely.

    • @discospiff
      @discospiff  2 года назад +1

      Every view is important to me... especially yours!

  • @samartajshaikh2601
    @samartajshaikh2601 11 месяцев назад +1

    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.

  • @mojo187ed
    @mojo187ed 5 лет назад +17

    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!

    • @discospiff
      @discospiff  5 лет назад

      Excellent, glad it helped!

  • @bb2k16
    @bb2k16 4 года назад +12

    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.

  • @mubashartariq8076
    @mubashartariq8076 4 года назад

    perhaps the best intro to POM

    • @discospiff
      @discospiff  4 года назад

      Thanks! pom.xml files are very useful for managing dependencies and the like.

  • @pramodreddy3665
    @pramodreddy3665 4 года назад +1

    You simplified the POM.XML. Thanks and lots and love from INDIA :)

    • @discospiff
      @discospiff  4 года назад +1

      Thanks! I'm happy to hear I was able to explain this in a simple way. :) pom.xml is incredibly useful for dependency management.

  • @magdalenaosetek5643
    @magdalenaosetek5643 3 года назад +9

    I rarely comment , but it was so great that i had to. Thank you very much!

    • @discospiff
      @discospiff  3 года назад +4

      Thanks! This is my most viewed video on RUclips. :)

  • @richardbenes9
    @richardbenes9 2 года назад

    Finally, a tutorial on Maven that instead of fancy graphics has an actually good audio. Thanks!

    • @discospiff
      @discospiff  2 года назад +1

      Excellent! I really appreciate the feedback; it helps me to tailor my future videos. Stay tuned, more videos are coming soon!

  • @HallOfMemeYT
    @HallOfMemeYT 2 года назад

    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..

    • @discospiff
      @discospiff  2 года назад

      I'm glad it was helpful! Best of luck in training for software developer. How is it going?

  • @nahidv2.0
    @nahidv2.0 2 года назад

    I been through loads of video's about soft . but you are the best thanks for your video's.

    • @discospiff
      @discospiff  2 года назад

      Thanks! I really appreciate the feedback.

  • @noramcdougall-collins6586
    @noramcdougall-collins6586 11 месяцев назад

    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.

    • @discospiff
      @discospiff  11 месяцев назад

      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. :)

  • @MavericKKumar
    @MavericKKumar Год назад

    By far best intro for beginners..!

    • @discospiff
      @discospiff  Год назад

      Thanks! I'm glad you found it. What do you like about the video?

  • @luis11375
    @luis11375 4 года назад

    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.

    • @discospiff
      @discospiff  4 года назад +1

      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

  • @santhoshkumarchakilam8126
    @santhoshkumarchakilam8126 4 года назад +1

    Can't get better than this for an intro. Thanks a ton @Brandan

    • @discospiff
      @discospiff  4 года назад

      That's a great endorsement... thanks!

  • @JoshMolina
    @JoshMolina 5 лет назад +11

    Great walkthrough and explanation! Thank you for taking the time.

    • @discospiff
      @discospiff  5 лет назад

      Thanks for sharing the feedback! Im glad the video helps.

  • @kishorekumar-ny2il
    @kishorekumar-ny2il 6 лет назад +25

    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.

    • @discospiff
      @discospiff  6 лет назад +13

      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!

    • @CenturionDobrius
      @CenturionDobrius 5 лет назад +1

      Brilliant explanation, and I myself join with Kishore that you should make another video.

  • @mukteshagamer5163
    @mukteshagamer5163 2 года назад

    Thanks a lot Brandan for your explanation. It helped a lot. The way you explain the things is really nice.

    • @discospiff
      @discospiff  2 года назад

      Thanks! I appreciate this feedback. I hope you're building something amazing!

  • @jayeshborgaonkar9166
    @jayeshborgaonkar9166 3 года назад

    short and precise video on maven intro, thank you so much @brandan for uploading this video, appreciated

    • @discospiff
      @discospiff  3 года назад

      Thanks for the feedback! I try to make all of my videos concise, so that is good to hear.

  • @serventofallah3262
    @serventofallah3262 3 года назад +1

    Extremely helpful video. Thanks, sir for your wonderful explanation.

    • @discospiff
      @discospiff  3 года назад +2

      Thanks so much! I'm happy to know this helped you.

  • @dreamether7808
    @dreamether7808 3 года назад +1

    Great tutorial I needed this for my job. Thank you!

    • @discospiff
      @discospiff  3 года назад +1

      Excellent! I'm glad you found it helpful. It's one of my most popular videos. :)

  • @jaideep5613
    @jaideep5613 4 года назад

    Excellently Explained

    • @discospiff
      @discospiff  4 года назад +1

      Thanks for the comment! Glad it helped.

  • @rahilvaseer2809
    @rahilvaseer2809 4 года назад +1

    Waay better explanation than my teacher! Thank you for the video :)

    • @discospiff
      @discospiff  4 года назад +2

      This is one if my favorite videos. Glad it helped!

  • @Who_765
    @Who_765 Год назад

    This is amazing. Thank your for the clear and concise transfer of knowledge.

    • @discospiff
      @discospiff  Год назад

      Excellent! I'm happy you found it useful. Maven and pom.xml are very powerful.

  • @mikemcculley
    @mikemcculley 4 года назад

    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.

    • @discospiff
      @discospiff  4 года назад +1

      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.

    • @mikemcculley
      @mikemcculley 4 года назад

      @@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.

  • @erikmueller5622
    @erikmueller5622 5 лет назад +2

    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.

    • @discospiff
      @discospiff  5 лет назад +1

      Thanks for the feedback. Anything in particular that's confusing?

    • @JonnyCasey
      @JonnyCasey 5 лет назад +1

      @@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)

  • @wanderingnomad1
    @wanderingnomad1 Год назад +1

    Great explanation

    • @discospiff
      @discospiff  Год назад

      Thanks! What do you like about it?

  • @WittCode
    @WittCode 4 года назад +1

    Great video Brandan! Thanks!

    • @discospiff
      @discospiff  4 года назад +1

      Excellent! Maven is really powerful, and I'm glad you liked this video. Thanks for watching!

  • @bbowling4979
    @bbowling4979 3 года назад

    Excellent introductory video on Maven. Looking forward to a more in-depth video in the future.

    • @discospiff
      @discospiff  3 года назад

      This video hit 100,000 views overnight... you may have been the lucky one!

  • @lancelot5192
    @lancelot5192 Год назад

    Really really really great video! Nicely explained

    • @discospiff
      @discospiff  Год назад +1

      Awesome! I'm glad it helped.
      This is one of my most popular videos on RUclips. :)

  • @saxkMr
    @saxkMr 5 лет назад +4

    Thank you, this easily helped me get an understanding of what is Maven. Great work!

    • @discospiff
      @discospiff  5 лет назад +1

      Thanks for the comment... glad the video helped!

  • @guythomas9977
    @guythomas9977 5 лет назад +8

    Perfect intro video! Thanks a million

  • @lemonjuice9844
    @lemonjuice9844 Год назад

    omg, finally I understand Maven, big TNX :)

    • @discospiff
      @discospiff  Год назад

      I'm glad it helped! I hope you're building something awesome.

  • @cybersavvy99
    @cybersavvy99 Год назад

    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
      @discospiff  Год назад

      Thanks! I'm glad it helped. I hope you're building something awesome!

  • @JohnSaenzc
    @JohnSaenzc 3 года назад

    Great, excellent explanation.

    • @discospiff
      @discospiff  3 года назад +1

      Glad you liked it! Thanks for watching.

  • @stefanosbiniam5961
    @stefanosbiniam5961 4 года назад

    Excellent explanation about Maven basics

    • @discospiff
      @discospiff  4 года назад

      I'm happy to hear that it helps! Thanks for the comment.

  • @indrajithvinodnair
    @indrajithvinodnair Год назад

    Thankyou for the video, cleared a lot of confusions.

    • @discospiff
      @discospiff  Год назад

      I'm glad it helped to clear things up! Thanks for the comment.

  • @ulviugur3605
    @ulviugur3605 2 года назад

    High quality content ! Well done Brandon 👏👏👏

    • @discospiff
      @discospiff  2 года назад

      Thanks! I hope you're building something amazing!

  • @sampathyamsani5930
    @sampathyamsani5930 4 года назад

    Nice explanation. 👍👍

  • @tusharmurarka2117
    @tusharmurarka2117 3 года назад +1

    This is such a nice vide! It explains the concepts very clearly. Thanks a lot Brandan! :)

    • @discospiff
      @discospiff  3 года назад +2

      I'm very happy to hear it helped... and even happier you took the time to comment. Thanks!

  • @witchmorrow
    @witchmorrow 3 года назад +1

    This was a super useful and clear explanation, thank you!

    • @discospiff
      @discospiff  3 года назад

      I'm happy to hear that. Thanks for watching!

  • @narendramanglani4386
    @narendramanglani4386 3 года назад

    Excellent video, Thanks a lot Brandan!

    • @discospiff
      @discospiff  3 года назад

      Glad it helped! I hope you're doing something great with maven!

  • @aathiabithap8184
    @aathiabithap8184 2 года назад

    Thanks a lot for the detailed explanation. Completely loved it.

    • @discospiff
      @discospiff  2 года назад

      Excellent! I'm glad you found the video useful.

  • @motzyt
    @motzyt 3 года назад

    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

    • @discospiff
      @discospiff  3 года назад

      I'm very happy to hear this! This is one of my most popular videos on RUclips. :) Glad you enjoyed it.

  • @terryn9450
    @terryn9450 2 года назад

    Excellent video

    • @discospiff
      @discospiff  2 года назад

      Thank you very much! This is one of my favorites. :)
      -Brandan

  • @whereismycheese2089
    @whereismycheese2089 4 года назад +7

    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

  • @nishithakontam7023
    @nishithakontam7023 2 года назад

    you are really wonderful please make more videos, related to automation and java programming! That would be great:)

    • @discospiff
      @discospiff  2 года назад

      Thanks for watching, and thanks for the comment! Your feedback helps me to plan my next videos. More are on the way!

  • @Joseph-oz7tx
    @Joseph-oz7tx Год назад

    very good content Brandan

    • @discospiff
      @discospiff  Год назад +1

      Thanks! I'm glad you found the video. I hope you're building something amazing!

  • @Imetalh
    @Imetalh 2 года назад

    Thank you so much!!! God bless you

    • @discospiff
      @discospiff  2 года назад

      I'm glad it helped! Maven and pom.xml are essential to modern development practices.

  • @asmersoy4111
    @asmersoy4111 2 года назад

    Very helpful. Thanks!

    • @discospiff
      @discospiff  2 года назад

      I'm glad it helped! Thanks for watching!

  • @venkateshprasad6432
    @venkateshprasad6432 3 года назад

    Thanks Brandon , High quality content!

    • @discospiff
      @discospiff  3 года назад

      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?

    • @venkateshprasad6432
      @venkateshprasad6432 3 года назад

      @@discospiff thanks a lot for asking , im into springboot and microservices . It would be great if you make content on those topics🙏

    • @discospiff
      @discospiff  3 года назад

      @@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!

    • @venkateshprasad6432
      @venkateshprasad6432 3 года назад

      @@discospiff thanks a lot!! Respect++

  • @kashifraza7550
    @kashifraza7550 4 года назад

    Glad to find this video. Excellent explanation.

    • @discospiff
      @discospiff  4 года назад

      I'm glad you found it, too... it's one of my most popular videos. :)

  • @carlosarturovivanco2190
    @carlosarturovivanco2190 5 лет назад

    Great explanation for a first look. Thank you.

    • @discospiff
      @discospiff  5 лет назад

      Thanks for the feedback... and thanks for watching!

  • @DeathBender
    @DeathBender 3 года назад

    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

    • @discospiff
      @discospiff  3 года назад

      Great idea, thanks! I've been thinking of making follow up videos to this.

  • @amarlukade2225
    @amarlukade2225 3 года назад

    loved your video ..thanks

    • @discospiff
      @discospiff  3 года назад

      Thanks! I'm glad you found it.

  • @ottersden1143
    @ottersden1143 4 года назад

    Thank you for the effort put in explaining how maven works ! =)

    • @discospiff
      @discospiff  4 года назад +1

      Glad it was helpful! Maven is quite nice for managing dependencies. Thanks for watching and commenting.

  • @spyl42
    @spyl42 3 года назад

    So well explained! Thank you!

    • @discospiff
      @discospiff  3 года назад

      Glad it helped! Thanks for taking the time to comment.

  • @ajayshekar01
    @ajayshekar01 3 года назад

    It was a great introduction viedo, Thank you!

    • @discospiff
      @discospiff  3 года назад

      Glad you found it. Thanks for watching!

  • @andrewsoto1630
    @andrewsoto1630 3 года назад

    Thank you, sir. This was very helpful.

    • @discospiff
      @discospiff  3 года назад +1

      That's great to hear! I'm happy you found the video helpful.

  • @imimran924
    @imimran924 Год назад

    great video ... thank you

    • @discospiff
      @discospiff  Год назад

      I'm glad you found it useful! Maven is a powerful way to build applications. I hope you're building something awesome!

  • @Mersal-tq9lm
    @Mersal-tq9lm 2 года назад

    Nice video 👍

    • @discospiff
      @discospiff  2 года назад

      Thanks! What did you like about it?

  • @hrudayaranjansahoo2781
    @hrudayaranjansahoo2781 2 года назад

    Wow! This is such a wonderful explanation! :O

    • @discospiff
      @discospiff  2 года назад

      Thanks for the comment! I'm glad you like the explanation.

  • @Utkarshkharb
    @Utkarshkharb 2 года назад

    So very well explained. Subbed!

  • @satyajit0904
    @satyajit0904 4 года назад

    Nicely explained, thanks.

  • @SohailKhan-ll9kh
    @SohailKhan-ll9kh 3 года назад

    Thanks Brandon. Good content

    • @discospiff
      @discospiff  3 года назад

      Glad it helped! Thanks for watching.

  • @chrisbru9318
    @chrisbru9318 5 лет назад

    Thank you! Very good overview and we'll presented

    • @discospiff
      @discospiff  5 лет назад

      Excellent... thanks for the feedback!

  • @donwinston
    @donwinston 8 месяцев назад

    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.

  • @swarpatel2927
    @swarpatel2927 2 года назад

    Very Helpful!!

    • @discospiff
      @discospiff  2 года назад

      Thanks! I'm glad it helped.

  • @wiel-spin
    @wiel-spin 4 года назад

    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

  • @yash1152
    @yash1152 10 месяцев назад

    6:12 packaging: .war, .jar, .eat
    ohw, the .war in servlet projects is a packaging file - got it

    • @discospiff
      @discospiff  10 месяцев назад

      One of my most watched videos on RUclips. ;)

    • @yash1152
      @yash1152 10 месяцев назад

      ​@@discospiff hehe right :)
      i just heard the same thing on your pom.xml vid with IntelliJ :D

  • @dhwanisondhi8635
    @dhwanisondhi8635 5 лет назад

    Thank You! The tutorial was very helpful.

    • @discospiff
      @discospiff  5 лет назад

      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.

  • @ChrisAthanas
    @ChrisAthanas 3 года назад

    Great explanation thank you

  • @specialsounds3411
    @specialsounds3411 3 года назад

    Thanks Sir. great voice

  • @enlistq750
    @enlistq750 4 года назад

    Thank you so much, this was a very helpful video!

    • @discospiff
      @discospiff  4 года назад

      Glad it helped! How are you using maven?

  • @accalija8403
    @accalija8403 5 лет назад

    Great explanation! Thank you!

  • @akira9900
    @akira9900 3 года назад

    good job, sir.

    • @discospiff
      @discospiff  3 года назад +1

      Thank you! I just made an update to this video, using IntelliJ IDEA instead of eclipse: ruclips.net/video/793-O43F-ng/видео.html

    • @discospiff
      @discospiff  3 года назад +1

      Oh... and you're one of the first viewers of this video, after it hit 100,000 views. So, thank you!

    • @akira9900
      @akira9900 3 года назад

      @@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.

  • @logic_master950
    @logic_master950 3 года назад

    Thanks a lot sir

  • @darrenalderman8463
    @darrenalderman8463 4 года назад

    Very very helpful!

    • @discospiff
      @discospiff  4 года назад

      Excellent! Thanks for watching.

  • @lindavijayapriyagondhi5827
    @lindavijayapriyagondhi5827 3 года назад

    Where to update pom file? It's saying needed maven-enforce-plugin while building using maven project

  • @leoalberer8080
    @leoalberer8080 4 года назад

    Great stuff, thanks

    • @discospiff
      @discospiff  4 года назад

      Glad it helped. Thanks for watching!

  • @peterchen9944
    @peterchen9944 5 лет назад +3

    rockstar video

  • @justinvilleneuve251
    @justinvilleneuve251 Год назад

    awesome!

    • @discospiff
      @discospiff  11 месяцев назад

      Thanks! I'm glad it helped.

  • @kappy_prasad
    @kappy_prasad 5 лет назад

    Nice explanation!

    • @discospiff
      @discospiff  5 лет назад +1

      Thanks! I'm happy to hear you liked it.

  • @MrFIDO76
    @MrFIDO76 4 года назад

    Great video!!

    • @discospiff
      @discospiff  4 года назад

      Thanks! Glad you liked it.

  • @katdareshruti
    @katdareshruti 3 года назад

    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

  • @sandeepverma1316
    @sandeepverma1316 4 года назад

    Thanks a lot, really helpful :)

    • @discospiff
      @discospiff  4 года назад

      Glad it helped.... thanks for the comment!

  • @joeroc4622
    @joeroc4622 4 года назад

    Thank you Brandan :)

    • @discospiff
      @discospiff  4 года назад

      Thanks for the feedback! Glad it helped.

  • @monsieur_
    @monsieur_ 4 года назад

    Thanks, very useful

    • @discospiff
      @discospiff  4 года назад +1

      Excellent, I hope it helps to make sense of pom.xml. :)

  • @ishangarg9199
    @ishangarg9199 3 года назад

    How can we remove unused properties from application.properties in maven project? How did one can validate that removed property is unused one

  • @benzflynn
    @benzflynn 5 лет назад

    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
      @discospiff  5 лет назад

      Hmmm. I've never tried it without those elements... curious what would happen if they were not present.

    • @benzflynn
      @benzflynn 5 лет назад

      @@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 ?

    • @discospiff
      @discospiff  5 лет назад

      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. :)

  • @nicolasalima
    @nicolasalima 4 года назад

    Thanks a lot ! Very clear (and I'm french and my english is not so well, so... ;)

    • @discospiff
      @discospiff  4 года назад +1

      vous êtes les bienvenus! I don't speak French myself, but I did work in Bretagne, FR and Nice, FR for a while. I really enjoyed it!

  • @jmac2543
    @jmac2543 5 лет назад

    Very clear

  • @karengoh5495
    @karengoh5495 3 года назад

    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?

  • @zombiezombie1977
    @zombiezombie1977 5 лет назад +1

    Thanks :)

    • @discospiff
      @discospiff  5 лет назад

      You're welcome! Thanks for watching.

  • @alfredourriburuavendano3887
    @alfredourriburuavendano3887 3 года назад

    And how pom maven is configured for sybase sql anywhere?

  • @matthewbaynham6286
    @matthewbaynham6286 3 года назад

    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.

    • @discospiff
      @discospiff  3 года назад

      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.

  • @alabamamothman2986
    @alabamamothman2986 2 года назад

    Is it at all possible to just download a jar file from the repository without having to use maven. My eclipse does not work with maven at all.

    • @discospiff
      @discospiff  2 года назад

      We don't put compiled files in version control, but you can always build with maven on command line/terminal. Give that a try

    • @alabamamothman2986
      @alabamamothman2986 2 года назад

      @@discospiff why?

    • @alabamamothman2986
      @alabamamothman2986 2 года назад

      @@discospiff maven snorts too many times. PLEASE Make jars available

  • @listener090
    @listener090 4 года назад

    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

    • @discospiff
      @discospiff  4 года назад +1

      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.

  • @tail1410
    @tail1410 3 года назад

    If you don't provide a version for a dependency, what version is used?