Search code examples
androidmavenandroid-holo-everywhere

Install a Android Library into local Maven Repo


I am trying to use HoloEverywhere 1.3.2 in my android project and I am using Maven to build the project. The latest version of HoloEverywhere in Maven Central is 1.2.0.

Authors of HoloEverywhere are in the process of pushing the latest version of library to the Maven Central in the mean time I wish to install the library to my local Maven Repo.

My Question

How to install a Android Library (HoloEverywhere) to local Maven Repo?


Solution

  • So download source code and execute mvn clean install.

    From the http://maven.apache.org/plugins/maven-install-plugin/

    The Install Plugin is used during the install phase to add artifact(s) to the local repository. The Install Plugin uses the information in the POM (groupId, artifactId, version) to determine the proper location for the artifact within the local repository.

    The local repository is the local cache where all artifacts needed for the build are stored. By default, it is located within the user's home directory (~/.m2/repository) but the location can be configured in ~/.m2/settings.xml using the element.