Coding Planet
Spring boot and Maven / Whis is Maven? ๋ณธ๋ฌธ
๋ฐ์ํ
| What is Maven?
- Maven is a Project Management tool
- Most popular use of Maven is for build management and dependencies
| What Problems Does Maven Solve?
- When building your Java project, you may need additional Jar files
- For example: Spring, Hibernate, Commons Logging, JSON etc.,
- One approach is to download the JAR files each project web site.
- Manually add the JAR files to your build path / classpath
| Maven Solution
- Tell Maven the projects you are working with (dependencies)
- Maven will go out and download the JAR files for those projects for you
- And Maven will make those JAR files available during compile/run
- Think of Maven as your freindly helper / personal shopper :-)
| Maven - How It Works
| Handling JAR Dependencies
- When Maven retrieves a project depencency
- It will also download supporting dependencies
- For example : Spring depends on commons-logging...
- Maven will handle this automatically
| Building and Running
- When you build and run your app, Maven will handles class / build path for you
- Based on config file, Maven will add JAR files accordingly
๋ฐ์ํ
'๐ฑSPRING' ์นดํ ๊ณ ๋ฆฌ์ ๋ค๋ฅธ ๊ธ
Comments