/azure-pipelines-maven-mirror

Azure DevOps extension: Configure Maven Mirror

Primary LanguageTypeScriptMIT LicenseMIT

Azure DevOps pipeline extension

Configure Maven Mirror

Configure Maven Mirror in settings.xml by pipeline step

Examples

Azure pilepines (yaml):

steps:
- task: kharkevich.azure-devops-mvn-mirror.mvn-mirror.mvn-mirror@1
  displayName: 'Maven Mirror'
  inputs:
    inputId: <Azure Artifacts Repository ID>
    inputName: <Mirror Repository Name>
    inputUrl: 'https://pkgs.dev.azure.com/<ORG>/<PROJECT>/<FEED>/maven/v1'
    inputMirrorOf: <mirrored (source) repo name> # e.g. central, or *

See http://maven.apache.org/guides/mini/guide-mirror-settings.html for more details.