Maven not installing aws-encryption-sdk-java dependency

Kei :

maven noob here

I have this in my pom.xml file

<dependency>
  <groupId>com.amazonaws</groupId>
  <artifactId>aws-encryption-sdk-java</artifactId>
  <version>1.6.1</version>
</dependency>

but for some reason, when I do mvn dependency:resolve, this will never show up in the list, and the code itself is forever failing to import com.amazonaws.encryptionsdk. Also the jar file wouldn't appear under External Libraries in IntelliJ.

If my googling skills haven't filed me, isn't mvn dependency:resolve suppose to download the jar file? Please let me know what I'm missing. Thanks!

Manuel :

Which repositories are you connecting to?
Are you connecting to nexus/artifactory/... which in its turn cannot download the dependency?
You can check the repositories in the settings.xml (usually in a .m2 folder).
If using nexus/artifactory/... please check in the respective application if something fails

Are you behind some kind of proxy server?

You can check additional logging output by adding one of following flags to the command:

-e, --errors  (Produce execution error messages)
-X, --debug (Produce execution debug output)

I commonly use mvn clean install

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=296192&siteId=1