
parameters:
  Options: '$(DefaultOptions)'
  MavenOptions: '$(MemoryOptions) $(LoggingOptions)'
  JdkVersion: $(JavaBuildVersion)

steps:
  - task: Maven@3
    displayName: 'Install reporting tools'
    inputs:
      mavenPomFile: ./eng/code-quality-reports/pom.xml
      options: ${{ parameters.Options }}
      mavenOptions: ${{ parameters.MavenOptions }}
      javaHomeOption: 'JDKVersion'
      jdkVersionOption: ${{ parameters.JdkVersion }}
      jdkArchitectureOption: 'x64'
      publishJUnitResults: false
      goals: 'install'
