Skip to content

Latest commit

 

History

History
21 lines (16 loc) · 598 Bytes

README.md

File metadata and controls

21 lines (16 loc) · 598 Bytes

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.