Second, it searches for the main method to flag as a runnable class.įinally and perhaps most importantly, it collects all the jars on the classpath and builds a single, runnable über-jar. There are several convenient reasons to use the plugin mentioned above in this place.įirst, it provides a built-in dependency resolver that sets the version number to match Spring Boot dependencies. Note that if we have our own parent project, we can instead import the dependency management as a Bill of Materials (BOM) in the section of the pom.xml: įinally, the initial dependencies are going to be quite simple:įinally, we'll use the Spring Boot plugin: look for Modules -> Dependencies -> Click on + Sign -> Select for JARs. ![]() For our library module, we'll use jar packaging: Īs we want to take advantage of Spring Boot dependency management, we'll use the spring-boot-starter-parent as the parent project, taking care to set to an empty value so that Maven will resolve the parent pom.xml from the repositories: selenium Intellij is an IDE that helps you to write better and.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |