Closed doompadee closed 1 year ago
hi, @doompadee
try this,
<servers>
<server>
<id>mapbox</id>
<configuration>
<httpHeaders>
<property>
<name>Authorization</name>
<!-- Base64-encoded "mapbox:token" -->
<value>Basic bWFwYm94OnRva2Vu</value>
</property>
</httpHeaders>
</configuration>
</server>
</servers>
Great! It builds fine now. Thanks much for your help.
Trying to consume the latest Mapbox Java API with Maven 3.8.6 fails due to missing authorization:
I've tried to match the steps outlined for Gradle: https://docs.mapbox.com/android/maps/guides/install/
Download:READ
permissionProvided the token through the
~/.m2/settings.xml
file:Is this a known problem with Maven? Any workaround?