Skip to main content
Level 2
September 16, 2017
해결됨

Maven advantages

  • September 16, 2017
  • 2 답변들
  • 1159 조회

What's the advantage of using Maven's dependency management in the parent pom.xml ?

이 주제는 답변이 닫혔습니다.
최고의 답변: kautuk_sahni

The dependency management section is a mechanism for centralizing dependency information. When you have a set of projects that inherit a common parent it's possible to put all information about the dependency in the common POM and have simpler references to the artifacts in the child POMs.

Source:- Maven – Introduction to the Dependency Mechanism

~kautuk

2 답변

joerghoh
Adobe Employee
Adobe Employee
September 17, 2017

This question is not specific to AEM.

You can find a description of this mechanism in Maven – Introduction to the Dependency Mechanism .

I see the benefit to depend on very same artifacts in many different maven projects (having just 1 bundle might be common, but I know many projects with more than 1 project bundle).

Jörg

kautuk_sahni
Adobe Employee
Adobe Employee
September 18, 2017

The dependency management section is a mechanism for centralizing dependency information. When you have a set of projects that inherit a common parent it's possible to put all information about the dependency in the common POM and have simpler references to the artifacts in the child POMs.

Source:- Maven – Introduction to the Dependency Mechanism

~kautuk

Kautuk Sahni