简体   繁体   中英

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?

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM