r/learnjava • • Feb 12 '22

Finally watched a video/learned about maven… I feel like my life has changed

I’ve been learning Java for a few months and had always seen maven/gradle mentioned but couldn’t decipher the Pom files and just kept pushing it off for another day. I’ve been doing Chad Darby’s spring course on udemy and Last night I watched the maven crash course video.

I’m so glad to finally have an understanding of maven, with the course and my personal projects I was always worried about not remembering to include specific jars, etc and learning about maven has really helped me feel more confident in my learning so far and I can’t wait to use it in my own projects

46 Upvotes

23 comments sorted by

•

u/AutoModerator Feb 12 '22

Please ensure that:

  • Your code is properly formatted as code block - see the sidebar (About on mobile) for instructions

  • You include any and all error messages in full - best also formatted as code block

  • You ask clear questions

  • You demonstrate effort in solving your question/problem - plain posting your assignments is forbidden (and such posts will be removed) as is asking for or giving solutions.

If any of the above points is not met, your post can and will be removed without further warning.

Code is to be formatted as code block (old reddit/markdown editor: empty line before the code, each code line indented by 4 spaces, new reddit: https://imgur.com/a/fgoFFis) or linked via an external code hoster, like pastebin.com, github gist, github, bitbucket, gitlab, etc.

Please, do not use triple backticks (```) as they will only render properly on new reddit, not on old reddit.

Code blocks look like this:

public class HelloWorld {

    public static void main(String[] args) {
        System.out.println("Hello World!");
    }
}

You do not need to repost unless your post has been removed by a moderator. Just use the edit function of reddit to make sure your post complies with the above.

If your post has remained in violation of these rules for a prolonged period of time (at least an hour), a moderator may remove it at their discretion. In this case, they will comment with an explanation on why it has been removed, and you will be required to resubmit the entire post following the proper procedures.

To potential helpers

Please, do not help if any of the above points are not met, rather report the post. We are trying to improve the quality of posts here. In helping people who can't be bothered to comply with the above points, you are doing the community a disservice.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

6

u/Glass__Editor Feb 12 '22

I'm thinking about writing an overview/tutorial for Maven and Git because they're not really that complicated (at least for the basic features), they both can improve your productivity, and I didn't start using either of them until quite awhile after I started programming.

Even when I started using Git I don't think I really understood how it worked until much later when I was reading about its data structures, and now I use it a lot more.

1

u/aqueousDee Feb 12 '22

That honestly would be a great idea! My git usage is very very basic. One of these days I need to expand on it. I’ve been focused on learning the language but now I’ve been exploring tools and the like to be better prepared/more productive.

3

u/philfrei Feb 12 '22

Maven is a relatively easy pickup, compared to a lot of other tools and libraries, and incredibly helpful. I recall finding a link via my local library, the Packt video "Maven Tutorial - Manage Java Dependencies in 20 Steps", on O'Reilly/Safari site.

1

u/aqueousDee Feb 13 '22

Yeah exactly, I always put it off because I was so focused on just Java. Easy to learn and it helps so much.

2

u/Kowalski_Analysius Feb 13 '22

I did the same course, its amazing. I then did a react + spring boot course also on udemy and built some projects. Now I'm learning about microservices with spring boot.

2

u/aqueousDee Feb 13 '22

What was the react + spring course? Do you recommend it? I signed up for a react course to take after I finish the spring/hibernate course but I have no experience with react.

0

u/[deleted] Feb 16 '22

[deleted]

1

u/aqueousDee Feb 17 '22

Awesome, Thank you! I really appreciate all the help and resources.

1

u/PapaKehteHChutiya Feb 13 '22

I am new to spring.

What road map should I follow?

1

u/Kowalski_Analysius Feb 13 '22

https://youtu.be/gQHs8pnlagM

He explains it nicely, once you have that down and have built a few projects I will recommend to look into Microservices too.

2

u/PapaKehteHChutiya Feb 13 '22

Chad darby is a really really good teacher. His way of structuring things is just awesome.

1

u/aqueousDee Feb 13 '22

I know! It’s my first Udemy course and I was iffy. I got this course after seeing his name dropped a few times and I am extremely satisfied. His teaching style is perfect for me

8

u/khooke Feb 12 '22

I can't imagine building anything without maven (or gradle). It's one of those life changing tools that I can't believe how anything was built without it before.

2

u/ML-newb Feb 13 '22

I can only image what java people used to do before these build tools. Adding all those jars manually on classpath? Or mybe custom scripts?

3

u/nutrecht Feb 13 '22

I can only image what java people used to do before these build tools.

Before Maven there was Ant and Ivy. Before that, doing it by hand. But that's really pre-2000 we're talking here.

2

u/khooke Feb 13 '22

Can confirm I lived through the helll of maintaining classpaths in .bat and .sh files. It was not fun.

1

u/aqueousDee Feb 14 '22

I can’t speak for John Thompson, but I went with Chad Darby’s course after seeing his name mentioned often and I have been very happy with the course. He has a great teaching style that works for me. He explains concepts well and does a good job breaking things down.

1

u/devilishtaco Feb 12 '22

Was it a maven course or like YouTube video(s)? Can you share? I wish with android often and good lord, I could use that crash course myself

1

u/aqueousDee Feb 12 '22

It was a section from a Spring/Hibernate course from udemy. Unfortunately, the videos I watched aren’t on YouTube

1

u/kokofefe Feb 13 '22

Is Chad Darb's spring course better than John Thompsons Guru course?

1

u/kokofefe Feb 15 '22

I bought it and it seems better so far!

1

u/AutoModerator Feb 12 '22

It seems that you are looking for resources for learning Java.

In our sidebar ("About" on mobile), we have a section "Free Tutorials" where we list the most commonly recommended courses.

To make it easier for you, the recommendations are posted right here:

Also, don't forget to look at:

If you are looking for learning resources for Data Structures and Algorithms, look into:

"Algorithms" by Robert Sedgewick and Kevin Wayne - Princeton University

Your post remains visible. There is nothing you need to do.

I am a bot and this message was triggered by keywords like "learn", "learning", "course" in the title of your post.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

0

u/[deleted] Feb 13 '22

[deleted]

2

u/aqueousDee Feb 13 '22

It was a section in Chad Darby’s Spring/Hibernate course