I have an android project which I am developing on eclipse and building with maven. I wanted to include a lib (apklib) in it, and similarly to other includes, I have tried appending the dependency to my pom in the following way:
<dependency>
<groupId>groupID.name</groupId>
<artifactId>artifact.name</artifactId>
<version>version</version>
</dependency>
However, when trying to build it either from m2eclipse or from maven on the console, I would get an error
(Failed to execute goal on project projectName: Could not resolve dependencies for project project Failure to find apklib in repo was cached in the local repository, resolution will not be reattempted until the update interval of repo has elapsed or updates are forced)
saying that this dependency could not be found even if I can see the dependency in my .m2 directory