Learn Apache Maven Full Tutorial in Java for Beginners

Want to learn Apache Maven? Then you've come to the right place.
This introduction to Maven tutorial for beginners will teach you how to:
- Install Apache Maven
- Build Java projects
- Configure your development environment
- Run unit tests
- Manage dependencies with Apache Maven
- Connect to a central Maven repository
- Use Maven's Plugin framework
- Run static code analysis tools like PMD and FindBugs with Maven
- Use Maven and Jenkins together
If so, this Apache Maven tutorial will take you from novice to expert in not time at all.
0:00 Maven Course Introduction
1:00 What is Maven?
4:00 Maven Prerequisites
4:30 Install Java's JDK
5:30 Install Apache Maven
6:30 Configure MAVEN_HOME
8:00 Maven Archetypes
14:45 mvn compile
16:05 mvn clean
15:20 mvn test
18:40 mvn package
20:00 mvn install
22:00 Maven Dependencies
28:00 Maven Plugins
28:20 Codehaus Mojo
30:30 Maven PMD & CheckStyle
33:30 Eclipse and Maven
34:00 Import Maven to Eclipse
36:30 Maven POM
38:30 Maven and Spring Boot
40:00 Maven RESTful APIs
43:30 Maven Microservices
45:30 Jenkins & Maven
48:45 Jenkins Git Maven
51:00 Jenkins Next Generation
52:00 Jenkins Maven Build Job
53:30 Maven Tutorial Wrapup
54:00 Scrum Agile and Java

Пікірлер: 39

  • @oscarbecerril8343
    @oscarbecerril83437 ай бұрын

    "This Walmart folder, sorry, a target folder 😂" Thanks for such a Great video!

  • @cameronmcnz

    @cameronmcnz

    7 ай бұрын

    Encourage me and you'll get more bad Dad jokes! Seriously, Maven gets a lot easier once you get these basics under your belt!

  • @shaolin6150

    @shaolin6150

    6 ай бұрын

    This had me rofling as well

  • @scrumtuous
    @scrumtuous3 ай бұрын

    This Apache Maven tutorial needs more views!!!

  • @cameronmcnz

    @cameronmcnz

    3 ай бұрын

    I know, right!

  • @LearningMan-wl9uz
    @LearningMan-wl9uz2 ай бұрын

    Thank you, Mr. McKenzie. You are a handsome and clever man giving lessons of the best quality. There are no words to express my grace. I created a KZread account just to subscribe to your channel and press the like button. Please, continue making videos. I see it as clear as a day: you will have 200k+ subscribers in a few years. Best regards!

  • @cameronmcnz

    @cameronmcnz

    2 ай бұрын

    Thank you for the kind words! I can tell by your comments that you've caught a few of my catch phrases. I love technology and I love Java. Makes me feel great to know others share that passion too. I'd say I have one of the worst youtube channels out there in terms of visibility. 600 videos and not a lot of views. But I do it for the love, and hopefully one day I'll catch that KZread algo and rocket into the stratosphere!

  • @chethannv2.0
    @chethannv2.019 күн бұрын

    You bring life to Softwares and make the interaction between them interesting. Thank you CMCKZ

  • @scrumtuous

    @scrumtuous

    19 күн бұрын

    Don't stroke his ego! ❤

  • @cameronmcnz

    @cameronmcnz

    19 күн бұрын

    Thanks so much for the kind words!

  • @Preelu
    @Preelu4 ай бұрын

    Finally understood archetypes!! Thanks for this simple yet comprehensive guide 😊

  • @cameronmcnz

    @cameronmcnz

    4 ай бұрын

    Yeah, Maven archetypes rock! And thanks for watching. I had a lot of fun putting together this Apache Maven tutorial. It's still my goto build tool even after all these years.

  • @RAZR_Channel
    @RAZR_Channel6 ай бұрын

    It's great to have my skepticism about Node reinforced by tutorials like this in that Java is still very much relevant for deployment although that is not the focus of this video. The market has always been way too trend driven… so I appreciate you taking the time to make this video. it takes quite a bit of dedication to learn Java… Maybe that's why there's hardly any videos on KZread about Java development. Every time I hear the long-winded phrase "event driven non-blocking asynchronous event loop blah blah blah.." constantly vomited out from the General community… I am literally driven to nausea. only now 10 years or more into the future can my suspicions about node vs java be confirmed. it's like PHP actually in that there's nothing technologically wrong with node… It is by definition more efficient than legacy sequential. So its not the stack... it's the people... so when the general workforce enters the equation you get people of average intelligence doing stupid things and running it all into the ground. Perhaps you've heard of the somewhat recent : everything dependency that essentaily created a gigantic dependency trap. If not : in short : a dependency was released that indicated to include ALL Dependencies in NPM. and due to a change in 2016 that prevents the deletion of a dependency that is a dependency in another.. it can't be removed. so they got tapped in their own bullshit. Even if only for a while it's rather funny. so the complexities of Java and learning all of it is actually a benefit in that it to a degree: it leads out the lower level people… thanks again for taking the time to do this and explaining it so clearly…

  • @cameronmcnz

    @cameronmcnz

    6 ай бұрын

    Thanks for the insightful commentary! Yeah, I was talking about the everything dependency the other day. I'm surprised it took that long to happen. So predictable. I think Java is just really mature, which is why there is so much focus on Node and Python on KZread? Maybe I should start putting out some more Java tutorails?

  • @DJRanoia
    @DJRanoia2 ай бұрын

    Amazing video even easy to follow for a linux user.

  • @cameronmcnz

    @cameronmcnz

    2 ай бұрын

    Thanks for the kind words! I really enjoyed putting this tutorial together.

  • @ivanphone4917
    @ivanphone491711 ай бұрын

    That’s a lot of info packed into one Apache Maven tutorial.

  • @cameronmcnz

    @cameronmcnz

    11 ай бұрын

    Hopefully this course makes it easy to learn Maven quickly.

  • @nellyamirkhanian5617
    @nellyamirkhanian56177 ай бұрын

    Love this tutorial! The greatest tutorial so far!

  • @cameronmcnz

    @cameronmcnz

    7 ай бұрын

    Thanks Nelly! I put a lot of effort into this and really wanted to cover all of the important parts about Maven so people can quickly start using it effectively! I've got one on Jenkins too if you ever move into that direction that picks up where this one leaves off!

  • @alonsobraithwaite2690
    @alonsobraithwaite26903 ай бұрын

    Great video, I am a fresher trying to learn DevOps self-paced to transition into a cloud job and this video was very helpful and inspiring to learn new something new.

  • @cameronmcnz

    @cameronmcnz

    3 ай бұрын

    Glad I could help! Maven is everywhere, so if you're in the DevOps space, it's a good tool to know. And this tutorial actually went pretty advanced, If you could keep up, I grant you expert status!

  • @lucasgameiroborges6086
    @lucasgameiroborges60869 ай бұрын

    very nice tutorial, thank you for this!

  • @cameronmcnz

    @cameronmcnz

    9 ай бұрын

    Thanks for watching! Maven does so many things, it's difficult to figure out what to cover and what to leave out in a quick Apache Maven tutorial!

  • @silver-wp7ky
    @silver-wp7kyАй бұрын

    Thank you for tutorial 😁 can you make a tutorial how to understand pom.xml according apache Maven docmentation?

  • @wonderfulvamsi
    @wonderfulvamsi5 ай бұрын

    Wow...The tutorial is so good!

  • @cameronmcnz

    @cameronmcnz

    5 ай бұрын

    Thanks! I really enjoyed putting this Maven tutorial together, and I covered all the things I tend to use it with regularly. It's a very in depth look at Maven. If it all made sense to you, you're now an expert. Thanks for watching!

  • @cameronmcnz
    @cameronmcnz11 ай бұрын

    This is part of the Maven Tutorial and Crash Course I wrote over at TheServerSide. Check it out! www.theserverside.com/blog/Coffee-Talk-Java-News-Stories-and-Opinions/maven-course-tutorial-apache-java-jenkins-build-spring-eclipse-compile-test

  • @MichaWojcik-favicon
    @MichaWojcik-favicon6 ай бұрын

    man, you are doing a great job! as a beginner I learned a lot from your video. it is far better than those indian versions where u can't understand shit. hope u doing great ❤

  • @cameronmcnz

    @cameronmcnz

    6 ай бұрын

    Thanks for the kind words! I'm particularly proud of the Maven and Jenkins tutorials I did. Somewhat sad they haven't got more traction. Maybe in time? Thanks again for watching!

  • @Almita-ql1gt

    @Almita-ql1gt

    6 ай бұрын

    Dude the internet is cheap doesn't mean that you have to be too. There are people all over the world who have learnt a lot from Indian teachers on YT, and they praise it all over social media. So, it is you with some issues which stops you from understanding those creators' content, stop spitting stupid comments, especially on a country's name.

  • @cameronmcnz

    @cameronmcnz

    6 ай бұрын

    @@Almita-ql1gt I've definitely learned a lot from my Indian friends in the tech sector!

  • @shaolin6150
    @shaolin61506 ай бұрын

    I really appreciate the video. Got me laughing with the dad joke style.

  • @cameronmcnz

    @cameronmcnz

    6 ай бұрын

    Funny? Like I'm a clown? Like I'm here to amuse you? What do you mean funny? Sorry. Goodfellows reference. Thanks for watching, and I'm glad I could make learning Apache Maven a more enjoyable experience. Build tool tutorials, by nature, tend to be somewhat dry.

  • @shaolin6150

    @shaolin6150

    6 ай бұрын

    @cameronmcnz 🤣 🤣 🤣 🤣 🤣. It's 5am just spent several hours learning this stuff and I'm in zombie mode. Idk how you still got me laughing so hard.

  • @mondemlanshmi
    @mondemlanshmi6 ай бұрын

    Awesome 👌 and ❤

  • @cameronmcnz

    @cameronmcnz

    6 ай бұрын

    Thanks for the kind words, and that's for watching. I put my heart and soul into that Maven tutorial!

  • @chandug4164
    @chandug41649 ай бұрын

  • @cameronmcnz

    @cameronmcnz

    9 ай бұрын

    Thanks for watching! Put a lot into this Maven tutorial!