일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 |
- MYSQL에러
- Lombok
- VUE
- gradle
- intellij
- 우분투에war배포
- Seek_Keyset
- Java
- frontend
- windows10
- pagination
- offset
- MySQL
- CloutNative
- springMVC
- NullPointerException
- SQL
- Postman
- 스프링에러
- restful api
- String
- minikube
- spring
- appleM1
- DB생성
- MySQL시작하기
- K8S
- SpringBoot
- 이클립스
- wappalyzer
- Today
- Total
미운 오리 새끼의 우아한 개발자되기
[Maven] Plugin vs. Dependencies 본문
I've been working on Maven Project these days and I was wondering what's the difference between Plugings and Dependencies. I guess you guys might had the same questions about it when you see POM which means Project Obeject Model.
First, what is POM file? and what does this file do? POM is defined like below by Apache foundation website.
POM is an XML(Extensible Markup Language) file that countails information about the project and configuration details used by Maven to build the project.
>>Check the link below to see more description about POM.
https://maven.apache.org/guides/introduction/introduction-to-the-pom.html
So in this POM file there are lots of dependencies and plugins.
I've searched the diffrence between them and I found one answer in Stack over flow.
He/She said...
Both are Jar files. But most of work is done using plugins (You could see Maven compiler plugin) and dependency is just a Jar file which will be added to the classpath while executing the tastks.
Plugin is a Jar file which executes the task, and dependency is a Jar which provides the class files to execute the task.
Hope this could be the answer what you've been looking for!
'IT 이모저모' 카테고리의 다른 글
[Clean Code] 4장 주석 (0) | 2022.02.06 |
---|---|
[Clean Code] 6장 객체와 자료 구조 (0) | 2022.02.06 |
[Clean Code]10장 클래스 (0) | 2022.02.06 |
iBatis isNot Empty 와 isEmpty 를 MyBatis 로 바꾸기 (2) | 2021.01.23 |
웹사이트가 무엇으로 만들어졌는지 알 수 있는 Wappalyzer (0) | 2020.09.23 |