eng/maven.publish.settings.xml (22 lines of code) (raw):

<settings xmlns="http://maven.apache.org/SETTINGS/1.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/SETTINGS/1.0.0 https://maven.apache.org/xsd/settings-1.0.0.xsd"> <servers> <server> <id>target-repo</id> <username>${repo.username}</username> <password>${repo.password}</password> </server> </servers> <profiles> <profile> <id>signing</id> <properties> <gpg.executable>${gpgexe}</gpg.executable> </properties> </profile> </profiles> <activeProfiles> <activeProfile>signing</activeProfile> </activeProfiles> </settings>