# Maven
# Build your Java projects and run tests with Apache Maven.
# Add steps that analyze code, save build artifacts, deploy, and more:
# https://docs.microsoft.com/vsts/pipelines/apps/java/build-maven

queue: 'Hosted Linux Preview'

steps
- task: Maven@3
  inputs:
    mavenPomFile: 'pom.xml'
    goals: 'package'
    javaHomeOption: 'JDKVersion'
    jdkVersionOption: '1.10'
    jdkArchitectureOption: 'x64'
    testResultsFiles: '**/TEST-*.xml'

Set up CI with VSTS Pipelines
Set up CI with VSTS Pipelines