我正在使用Linux系統。亞馬遜aws artifact無法解析
在我本地Maven回購目錄/Users/username/.m2/repository/
我有以下目錄:
com/amazonaws/android/core/amazon-aws-android-core/1.6.1
這意味着該目錄的完整路徑是:
/Users/username/.m2/repository/com/amazonaws/android/core/amazon-aws-android-core/1.6.1
在上面的目錄中,我有文件:
amazon-aws-android-core-1.6.1.jar.lastUpdated
amazon-aws-android-core-1.6.1.pom.lastUpdated
在我的項目,我pom.xml
包含:
<dependency>
<groupId>com.amazonaws.android.core</groupId>
<artifactId>amazon-aws-android-core</artifactId>
<version>1.6.1</version>
<type>jar</type>
</dependency>
但是當我運行mvn clean install
,我總是得到以下錯誤信息:
The following artifacts could not be resolved: com.amazonaws.android.core:amazon-aws-android-core:jar:1.6.1
爲什麼我得到上面的錯誤&如何擺脫它?