Before you start, make sure you’ve defined the snapshots repo in your local ~/.m2/settings.xml
file:
<settings>
<servers>
<server>
<id>apache.snapshots.https</id>
<username>xxxxxxx</username>
<password>yyyyyyy</password>
</server>
...
</servers>
...
</settings>
where xxxxxxx
and yyyyyyy
are your Apache LDAP username and password. For more information, see these ASF docs.
{note
It is also possible to configure to use .ssh
secure keys, and thereby avoid hardcoding your Apache LDAP password into your .m2/settings.xml
file. A description of how to do this can be found, for example, here.
}