0

this may be the stupid question, but I haven't found the answer here : https://github.com/mosabua/maven-android-sdk-deployer (maybe I am blind). I want to use this tool to install my library into sdk and then load it to <dependency> in my POM.xml. But I can't see any instructions how to do this. My library is httpclientandroidlib-1.1.2.jar. Where should I put it and what command should I run to load it to sdk via sdk-deployer ?

I know I can use Maven Central, but they don't have the version I need.

4

1 回答 1

1

如果我完全理解这个问题,你就不需要 maven-android-sdk-deployer。如果问题是您需要安装库以便可以使用它,您可以使用类似这样的方法将其添加到本地 maven 存储库中

mvn install:install-file -Dfile=./android-support-v4.jar -DgroupId=com.google.android -DartifactId=support-v4 -Dversion=r12 -Dpackaging=jar

从罐子所在的目录

这是我用于 android-support-v4 的,您需要使用正确的 groupId 等为 httpclientandroidlib-1.1.2.jar 调整它

于 2013-08-22T13:49:19.983 回答