Hey there welcome back friends in this video we will try to understand how to create a Spring Boot project using Maven. So this will be interesting. Let me get rid of this dashboard and I will also minimize outline and spring Explorer. All right, now let's navigate to file we will click on new and in here we have couple of options like a spring starter project. Then there are a couple of more options but we will go back to the Maven project. Now in here we have this checkbox create a simple project escape our type and we will select this one.
We will make use of a simple project and we will do everything is step by step so we will skip on it. We will click on next and in here, now we need to add couple of details. First of all is group ID. Now what is a group ID? Now definitely group ID as the name suggests is the ID for the group of friends if you guys are not able to understand fully these concept of artifact ID, group ID and version that's perfectly fine later down the line when we will grow old using Maven definitely you guys will understand the usage of these terms All right. Now moving forward, let us give the group IDs or dot steady easy dot Spring Boot maybe.
Now we will give the artifact ID as a starter project Alright, so this looks good. And now we will keep the version as it is this is the first version so we will keep it as a 0.0 point one snapshot. And then finally, let us give the name to this project. It could be 02 dot 05, which is nothing but the naming convention which we follow zero to standard For section 205, which stands for lecture 05. Spring Boot starter. Alright, so this looks good.
Let me click on Finish. Now Maven has created this small little project in front of us, right. So this is cool. And if we check we have like couple of things in here. And in fact, Maven is creating this project. And here are like a couple of more things which Maven has just added.
Now let us check this POM dot XML file. If we open this file, there is like couple of content inside this file. And the content is related to our existing configuration, like the group ID, artifact ID version and things like that. But as of now, there is absolutely nothing to do with Spring Boot. We have only given the name as a Spring Boot starter, but there is no dependencies added or things like that. First of all, let me format things a little bit To give us better view here as our file.
Now friends, in order to make use of a Spring Boot in our application what we need to do as we need to add some configuration inside this POM dot XML file, let me show you the configuration. If we Google for Spring Boot is start on Maven Project 10 definitely we will get this particular search result and the result would be from spring.io. Now in here we have couple of configuration. Now this search query is a little complicated to remember. So I have added a redirector in our website, which is studies.org slash Spring Boot dash starter and you will be redirected to the page where we have this tutorial. Now what exactly is this tutorial, we won't read anything out of it, but we will take help of this particular part where it says creating form.
Now in here, if we check we have this particular parent node. Now, what is a parent node? This isn't nothing but a parent project in which we have the configuration already done, these are like configurations which we can inherit, we can take the configuration from this parent project. Now, since Spring Boot is opini, ated, right, we already know like 80% of the scenario or 90% of the scenario which will be same in majority of the project right. And for rest of the things we will configure, tweak our application a little and our work would be done. So for getting this opinionated project implemented in our own application, right away, we can make use of this parent project which is nothing but Spring Boot starter parent project, right so we will simply copy it This particular part, we will navigate to our project and we will add this configuration inside our project node and I will see if this POM file.
Now what happens is Maven will build our workspace and if I right click and try to update our project by navigating to Maven update project then definitely we should be able to see some changes. Alright, so the changes has been done. What was the change? Definitely the Java SE version was upgraded from 1.5 to 1.8. But where are the jar files which will be used for Spring Boot application. Now in order to add the dependencies, again, we will navigate to this particular article and if we check here are the dependencies.
So if we copy this particular part, copy this and paste the dependencies in here And then save the pom dot XML file. Again Maven will update couple of things and the jars will be added. And here is the magic of Maven. Maven has added this node Maven dependencies. And if we check there are like multiple JAR files in here. And these are what we need to get started with Spring Boot.
We need not to worry about dependencies or missing chars or things like that we are all set and we can start coding right away. So how to code how to program how to start with a Spring Boot is something which we will see in detail in our forthcoming videos. And that's it for today. I hope you guys enjoyed this. Thanks for watching. Have a nice day and take care