Long story short, starting with an empty ~/.m2 repo, I run the
following commands
git clone
https://github.com/simpligility/maven-android-sdk-deployer.git
cd maven-android-sdk-deployer
mvn install -fn
cd ..
git clone
https://github.com/osmdroid/osmdroid.git
cd osmdroid
mvn clean install -fn (fails)
mvn install -fn (fails)
mvn install -fn (passes)
In both failing cases, it appears to have trouble either resolving
android dependencies or trouble resolving previously built modules.
The above script is what we're using for travis and it's just strange
and unexpected that this was the only solution I could get working.
This also happens on my local machine but is less noticeable since i
don't clear out the maven repo too frequently