I’m mavenizing RoboBillingLibrary and I’ve got a dependency on Amazon’s in-app purchasing library that’s not in Maven Central. What’s the proper way to add the dependency (without submitting it to central myself)?
I have already installed it locally, and this works fine for me, but not so well for anyone who wants to use my library. Also, I’d like to deploy RoboBillingLibrary to central and this dependency is preventing me from doing so. I tried
mvn clean install
from the parent directory just to see if I could install it and it complains:
Could not find artifact com.amazon:in-app-purchasing:jar:1.0.3 in
central
mvn install:install-file -Dfile=in-app-purchasing-1.0.3.jar -DgeneratePom=true -Dpackaging=jar -Dversion=1.0.3 -DgroupId=in-app-purchasing -DartifactId=in-app-purchasingchange values according or use a pom file -DpomFile=pom.xml