Eldad Assis
Eldad Assis

Reputation: 11055

Maven dependencies. Asking for aws-java-sdk jar 1.6.8 but getting 1.5.0

I'v declared the dependency for com.amazonaws:aws-java-sdk:jar:1.6.8, but I'm getting jar 1.5.0.
While running mvn dependency:tree, I see the following line:

com.amazonaws:aws-java-sdk:jar:1.5.0:compile (version managed from 1.6.8)

What does it mean? How do I resolve it and actuaully get 1.6.8?

Upvotes: 0

Views: 474

Answers (1)

YMomb
YMomb

Reputation: 2387

It means that in your pom.xml or in the parent of your pom.xml, their a dependencyManagement section that declares that the version of com.amazonaws:aws-java-sdk must be the 1.5.0.

Upvotes: 1

Related Questions