From 0679ce52e0e5b4561fa1aef3498c5ca2df3ac745 Mon Sep 17 00:00:00 2001 From: MaruthiShankarG <160142741+MaruthiShankarG@users.noreply.github.com> Date: Thu, 22 Feb 2024 23:48:32 +0530 Subject: [PATCH] Update azure-pipelines-1.yml for Azure Pipelines --- azure-pipelines-1.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/azure-pipelines-1.yml b/azure-pipelines-1.yml index e1acdd916..aa3bb5e1a 100644 --- a/azure-pipelines-1.yml +++ b/azure-pipelines-1.yml @@ -10,11 +10,11 @@ pool: vmImage: ubuntu-latest steps: -- task: JavaToolInstaller@0 +- task: UseJavaVersion@0 inputs: - versionSpec: '17' - jdkArchitectureOption: 'x64' - jdkSourceOption: 'PreInstalled' + version: '17' # Specify the Java version you need + addToPath: true + - task: Maven@3 inputs: mavenPomFile: 'pom.xml'