title: Azure Pipelines + Maven: Unable to locate executable file: 'mvn'
body: <p>I'm getting <code>##[error]Unhandled: Unable to locate executable file: 'mvn'</code> in Azure devops
   when using an <code>azure-pipelines.yaml</code> file like this.</p>
  
  <pre><code>trigger:
    - releases/*
  
  pool:
    vmImage: "ubuntu-18.04"
  
  container: mcr.microsoft.com/java/jdk:11-zulu-ubuntu
  
  steps:
  - task: Maven@3
    inputs:
      mavenPomFile: 'pom.xml'
      goals: 'package'
      publishJUnitResults: false
      javaHomeOption: 'JDKVersion'
      mavenVersionOption: 'Default'
      mavenAuthenticateFeed: false
      effectivePomSkip: false
      sonarQubeRunAnalysis: true
      sqMavenPluginVersionChoice: 'latest'
  </code></pre>
  
  <p>Possibly related: </p>
  
  <ul>
  <li><a href="https://github.com/microsoft/azure-pipelines-tasks/issues/8630#issuecomment-430751485" rel="nofollow noreferrer">https://github.com/microsoft/azure-pipelines-tasks/issues/8630#issuecomment-430751485</a></li>
  </ul>