How To Approach Dependency Management in Java

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024

ความคิดเห็น • 33

  • @__Name_It__
    @__Name_It__ ปีที่แล้ว +2

    Yes to more Maven-related content !
    Thank you Marco!

  • @rieckpil
    @rieckpil ปีที่แล้ว +6

    Great video, Marco! Excellent that you talk about how to "trust" dependencies.

    • @ChrisAthanas
      @ChrisAthanas ปีที่แล้ว +1

      Trial and error and hope for the best, there are no solutions, only trade offs

  • @AleksandarT10
    @AleksandarT10 ปีที่แล้ว +1

    Great topic and video. Nailed it. We need more similar topics like this. Keep it up Marco!

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว

      Thanks! Anything specific you have in mind?

  • @dkaluza19
    @dkaluza19 ปีที่แล้ว +1

    Seeing what you have to say regarding more complex topics like transitive dependencies would be great, that's for sure :)

  • @Karthik-mq3ki
    @Karthik-mq3ki ปีที่แล้ว

    Thanks Marco ! I'm a fan since your OAuth In-depth tutorial :) Would definitely like to see more on internal artifact repositories and other advanced aspects you mentioned...

  • @gideonlegrange9886
    @gideonlegrange9886 ปีที่แล้ว

    This video is a nice mix of theory with practical application. I've been using Maven for more than a decade and this video motivated me to make a BOM for my one multi-module library and use in my projects. Thank you for great content.

  • @andrewzabur982
    @andrewzabur982 ปีที่แล้ว

    Great job)
    Watching every video)
    Everything you are explaining is really easy to catch)
    Thank you)

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว

      Thanks for watching!

  • @c3n0dr33v
    @c3n0dr33v ปีที่แล้ว

    Great video, as usual :)
    btw, instead of right clicking -> open in new tab (e.g. at 13:48) it's usually faster to use ctrl + left click :)

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว

      Thanks! And also thanks for the shortcut! Learn something new every day :)

  • @mercury801115
    @mercury801115 ปีที่แล้ว +1

    Thanks for the video! Could you make another video talking about different scopes maven provided and their use cases please?

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว +1

      Hey, probably not, but here is a quick summary: maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#dependency-scope
      If that doesn't help, let me know and I'll see how I can transform the remaining open questions into a video :)

  • @jesper2455
    @jesper2455 ปีที่แล้ว

    Great content!

  • @jopadjr
    @jopadjr ปีที่แล้ว

    76th...Thanks Marco. I'm learning a lot from you mate.

  • @Jod4light
    @Jod4light ปีที่แล้ว

    Wonderful video!

  • @rakinar2
    @rakinar2 ปีที่แล้ว

    Great advice, Marco!

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว +1

      Glad it was helpful!

  • @adame26
    @adame26 ปีที่แล้ว

    Please also talk about dependencies conflicts and best practices to resolve them

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว

      Will see what I can do. Any conflicts you specifically ran into in the past?

  • @NomanAliAbbasi
    @NomanAliAbbasi ปีที่แล้ว

    @MarcoCodes very informative and waiting the next episode transitive dependency

  • @__Name_It__
    @__Name_It__ ปีที่แล้ว

    Marco maybe this would work as idea for the next maven related video - example of a docker image built and spin up with maven? Thank you.

  • @tipazas
    @tipazas ปีที่แล้ว

    Great topics and your take on them as always. It is also interesting to hear what is your take on balancing libs\frameworks for every case vs. using Java API as much as possible?

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว

      Great point, I'll see how to put that into a video.

  • @kennethcarvalho3684
    @kennethcarvalho3684 3 หลายเดือนก่อน

    Hello Marco another great video.. What happens when two different jars pull in the same child jar.. Which version of child would be picked?

    • @MarcoCodes
      @MarcoCodes  3 หลายเดือนก่อน

      You might want to dig deeper into this article: maven.apache.org/guides/introduction/introduction-to-dependency-mechanism.html#Dependency_Management

  • @asterixcode
    @asterixcode ปีที่แล้ว +1

    Thanks for the video Marco. Just have one question, maybe you can help :)
    For whatever reason I can't find the 'dependencies' tab on my IntelliJ IDEA 2023.2.3 (Ultimate Edition).
    If I go to the pom.xml, and do cmd+N, it shows me the option Generate > Dependency (I've noticed you have Add Dependecy instead), but if I click on it, it's doesn't open the tab on the left, it's a pop up window.
    Is it because I am on macos version?
    Has JetBrains changed the UI of it? Am I missing something?
    Thanks :)

    • @MarcoCodes
      @MarcoCodes  ปีที่แล้ว +2

      Hey Lucas, it's very likely because we unbundled the "Package Search" plugin in newer IntelliJ IDEA versions and you need to install it first. Could you give that a try and see if it changes anything?

    • @asterixcode
      @asterixcode ปีที่แล้ว +1

      @@MarcoCodes wow! Thanks for the quick reply :) There we go, problem solved! I was definitely missing the "Package Search" plugin. I've just installed and now the 'Dependecies' icon is back on the left tab of my IntelliJ! Great, vile danke :)

    • @marywhite4299
      @marywhite4299 4 หลายเดือนก่อน

      @@MarcoCodes Thank you! I had the same issue on IntelliJ IDEA 2023.2.7, couldn't find Package Search, installing the Plugin solved it.