title: Build failed with "package org.apache.poi.xssf.usermodel does not exist" error in Azure DevOps
body: <p>As I run my below script to read data from excel functionality locally no issues in the execution.</p>
  <pre><code>public String getCellDataString(String sheetName, int rowNum, int colNum) throws IOException {      
          File file = new File(System.getProperty(&quot;user.dir&quot;)+&quot;/excel/ExcelWorkBook.xlsx&quot;);
          FileInputStream fis = new FileInputStream(file);
          XSSFWorkbook wb = new XSSFWorkbook(fis);
          XSSFSheet sheet = wb.getSheet(sheetName);           
          String cellData = sheet.getRow(rowNum).getCell(colNum).getStringCellValue();             
          return cellData;                                                                         
  }
  </code></pre>
  <p>I have all apache-poi added to pom.xml.</p>
  <pre><code>&lt;dependency&gt;
          &lt;groupId&gt;org.apache.maven.plugins&lt;/groupId&gt;
          &lt;artifactId&gt;maven-compiler-plugin&lt;/artifactId&gt;
          &lt;version&gt;3.7.0&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;artifactId&gt;poi&lt;/artifactId&gt;
          &lt;version&gt;4.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;artifactId&gt;poi-ooxml&lt;/artifactId&gt;
          &lt;version&gt;4.1.2&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;artifactId&gt;poi-ooxml-schemas&lt;/artifactId&gt;
          &lt;version&gt;4.1.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;artifactId&gt;poi-scratchpad&lt;/artifactId&gt;
          &lt;version&gt;4.1.1&lt;/version&gt;
      &lt;/dependency&gt;
      &lt;dependency&gt;
          &lt;groupId&gt;org.apache.poi&lt;/groupId&gt;
          &lt;artifactId&gt;openxml4j&lt;/artifactId&gt;
          &lt;version&gt;1.0-beta&lt;/version&gt;
      &lt;/dependency&gt;
  </code></pre>
  <p>As I upload to Azure DevOps and build, I get a package org.apache.poi.hssf.usermodel does not exist error for each of the imports and build failed.</p>
  <ul>
  <li>package org.apache.poi.xssf.usermodel does not exist</li>
  <li>cannot find symbol</li>
  </ul>
  <p><a href="https://i.stack.imgur.com/8ZUn5.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/8ZUn5.png" alt="Click here to see Azure DevOps Build failed error" /></a></p>
  <p>I did tried below links but could not find any solution,</p>
  <p><a href="https://stackoverflow.com/questions/53809709/package-org-apache-poi-ss-usermodel-does-not-exist">Link 1</a>
  <a href="https://stackoverflow.com/questions/5878341/cannot-import-xssf-in-apache-poi">Link 2</a></p>
  <p>I see that Azure Devops unable to download sources, May I please know what am I missing ?</p>
  <p>EDITED:
  Below is my Azure DevOps pipeline definition
  <a href="https://i.stack.imgur.com/Z1qK1.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/Z1qK1.png" alt="Azure DevOps Pipeline Definition" /></a></p>