Number945
Number945

Reputation: 4940

Maven dependency inheritance in child pom from parent pom

As far as I know, maven uses artifactId + groupId + classifier + type to identify wether to merge or override dependencies in child pom from its parent module pom. Why do we need type here ? What could go wrong if this was done only by artifactId + groupId + classifier ?

Upvotes: 1

Views: 280

Answers (1)

J Fabian Meier
J Fabian Meier

Reputation: 35785

I guess we would not need the type for that. I don't see anything that would go wrong. On the other hand, I see no situation where the actual behaviour hurts.

Upvotes: 1

Related Questions