You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The setup-java action provides support for configuring a settings.xml:
- name: Set up Apache Maven Centraluses: actions/setup-java@v1with: # running setup-java again overwrites the settings.xmljava-version: 1.8server-id: maven # Value of the distributionManagement/repository/id field of the pom.xmlserver-username: MAVEN_USERNAME # env variable for username in deployserver-password: MAVEN_CENTRAL_TOKEN # env variable for token in deploygpg-private-key: ${{ secrets.MAVEN_GPG_PRIVATE_KEY }} # Value of the GPG private key to importgpg-passphrase: MAVEN_GPG_PASSPHRASE # env variable for GPG private key passphrase
One should be able to use this action to updatesettings.xml. I believe the two options are skip and override, but ideally there is a merge option too so that one could use this action to add a new server record to an existing settings.xml.
The text was updated successfully, but these errors were encountered:
The setup-java action provides support for configuring a
settings.xml
:One should be able to use this action to update
settings.xml
. I believe the two options areskip
andoverride
, but ideally there is amerge
option too so that one could use this action to add a newserver
record to an existingsettings.xml
.The text was updated successfully, but these errors were encountered: