I have created an android application using maven-android-plugin, I want to use Android-ViewPagerIndicator and I've added dependency in the pom.xml.
<dependency>
<groupId>com.viewpagerindicator</groupId>
<artifactId>library</artifactId>
<version>2.4.1</version>
<type>apklib</type>
</dependency>
But my android application is giving compile errors if I use the classes from Android-ViewPagerIndicator.
TitlePageIndicator cannot be resolved to a type
I'm getting above error in eclipse.
Do I still need to download the library, import it to eclipse and reference it in the eclipse?
(Sorry if this is a stupid question, since this is my first Android-Maven Project)
Eclipse's configuration ought to be changed in order to use the installed Maven, and its repository and settings instead of the embedded one. Go to "Window -> Preferences -> Maven -> Installations", add externally installed Maven to the list, and select it.
After this, right click on the Maven project -> Maven -> Update Project. Click "Select All" (right side) and make sure all options at the bottom of the dialog box are selected except "Offline". This should refresh your workspace with dependencies from your local Maven's repository.