I am using Linux system.
Under my local maven repo directory /Users/username/.m2/repository/
I have the following directory:
com/amazonaws/android/core/amazon-aws-android-core/1.6.1
Which means the full path of the directory is:
/Users/username/.m2/repository/com/amazonaws/android/core/amazon-aws-android-core/1.6.1
Under the above directory, I have files:
amazon-aws-android-core-1.6.1.jar.lastUpdated
amazon-aws-android-core-1.6.1.pom.lastUpdated
In my project, my pom.xml
contains :
<dependency>
<groupId>com.amazonaws.android.core</groupId>
<artifactId>amazon-aws-android-core</artifactId>
<version>1.6.1</version>
<type>jar</type>
</dependency>
But when I run mvn clean install
, I always get the following error message:
The following artifacts could not be resolved: com.amazonaws.android.core:amazon-aws-android-core:jar:1.6.1
Why I get the above error & How to get rid of it?