D
D
Denis Kuznetsov2019-04-23 22:56:50
Java
Denis Kuznetsov, 2019-04-23 22:56:50

Where to get dependencies for a Maven project?

I started watching a cycle of lessons on Spring, but everything is done in the ultimate idea and a spring project is created right away, but I use the community and therefore I need to prescribe libraries in the xml help, where I can get a complete list of these spring properties so that as soon as I see what is in In the lesson, this is used, take the necessary property and insert it, and another question, it seems like in the spring there is an imbedet tomcat so that you don’t have to compress everything in war and shove it on the tomcat, like the spring does it itself, can this also be organized in the community or not?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
F
Frozen Coder, 2019-04-23
@DennisKingsman

IDE has nothing to do with it at all. Everything can be done in notepad.
To generate a project with a bunch of dependencies that you select with the mouse, go here - https://start.spring.io/ .
Understand with maven and pom.xml how to connect the repository. All you need to know is the name of the lib, then go to mvnrepository, look for it, and there is even a code for copy-paste - https://mvnrepository.com/repos/central. For example - https://mvnrepository.com/artifact/org.apache.comm...
You can shove it into jar with embedded tomcat, you can shove it into war. IDE has nothing to do with it. Everything can be done in the community. I don’t know what tutorials you are looking at, but I advise you to look at https://spring.io/guides- they are simple, everything is described step by step, even the contents of pom.xml. There are even translations - spring-projects.ru/projects/spring-framework

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question