Closed narner90 closed 2 years ago
I need a custom maven settings.xml file to properly access Google Artifact Registry, namely pre-emptive authentication:
settings.xml
<server> <id>artifact-registry</id> <configuration> <httpConfiguration> <get> <usePreemptive>true</usePreemptive> </get> <head> <usePreemptive>true</usePreemptive> </head> <put> <params> <property> <name>http.protocol.expect-continue</name> <value>false</value> </property> </params> </put> </httpConfiguration> </configuration>
I would then override the maven_config source parameter as such:
maven_config
source: maven_config: "-s path/custom_settings.xml`
How can I supply this custom settings.xml file?
I need a custom maven
settings.xml
file to properly access Google Artifact Registry, namely pre-emptive authentication:I would then override the
maven_config
source parameter as such:How can I supply this custom
settings.xml
file?