What is Build
Maven
What is
Archetype
in maven- quick start archetype
Maven Coordinate
Maven Coordinate
identify uniquely a project, a dependency, or a plugin defined in POMCombination of
- a group identifier
- an artifact identifier
- and the version
- + ) packagin and the classifier
<groupId>org.prgms</groupId> <artifactId>harry-maven-study</artifactId> <version>1.0-SNAPSHOT</version>
Maven supports multi module project
- 부모 POM 파일에는 modules 태그 추가
- 자식 POM 파일에는 parent 태그 추가
Maven Lifecycle|


Transitive Dependencies - 전이 의존성
Maven avoids the need to discover and specify the libraries that your own dependencies require by including transitive dependencies automatically.
Introduction to the Dependency Mechanism - Document Link
mvn dependency:tree
[INFO] org.prgms:harry-maven-study:jar:1.0-SNAPSHOT [INFO] \- junit:junit:jar:4.11:test [INFO] \- org.hamcrest:hamcrest-core:jar:1.3:test
dependency scope
Dependency scope is used to limit the transitivity of a dependency and to determine when a dependency is included in a classpath.
Gradle
Gradle
- Gradle 은 또 다른 build tool
- groovy, kotlin 기반 빌드 스크립트 작성 가능
Gradle Task

- gradle task 는 plug in 을 통해 설정된다.