W dokumentacji Mavena masz :) dokładnie tutaj: https://maven.apache.org/settings.html sekcja Servers.
Dodatkowo każde repo jakiego używasz też powinno mieć taką instrukcję. Jednak zawsze się wszystko sprowadza do sekcji Servers.
Np.JFrog:
Authentication is configured in Maven using <server> elements in the settings.xml file.
Each <repository> and <mirror> element specified in the file must have a corresponding <server> element with a matching <id> that specifies the username and password.