File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -106,11 +106,27 @@ extends:
106106 inputs :
107107 artifactsFeeds : ' GraphDeveloperExperiences_Public'
108108
109- - script : ./mvnw install -Psigning --no-transfer-progress
109+ - task : Maven@4
110110 displayName : Publish to local Maven for verification
111+ inputs :
112+ mavenPomFile : ' pom.xml'
113+ goals : ' install'
114+ options : ' -Psigning --no-transfer-progress'
115+ publishJUnitResults : false
116+ javaHomeOption : ' JDKVersion'
117+ jdkVersionOption : ' 1.21'
118+ jdkArchitectureOption : ' x64'
111119
112- - script : ./mvnw deploy -Psigning --no-transfer-progress -DaltDeploymentRepository=ADO::default::file://$(Build.SourcesDirectory)/target/staging-deploy
120+ - task : Maven@4
113121 displayName : Stage artifacts for ESRP
122+ inputs :
123+ mavenPomFile : ' pom.xml'
124+ goals : ' deploy'
125+ options : ' -Psigning --no-transfer-progress -DaltDeploymentRepository=ADO::default::file://$(Build.SourcesDirectory)/target/staging-deploy'
126+ publishJUnitResults : false
127+ javaHomeOption : ' JDKVersion'
128+ jdkVersionOption : ' 1.21'
129+ jdkArchitectureOption : ' x64'
114130
115131 - pwsh : |
116132 $pomXml = [xml](Get-Content pom.xml -Raw)
You can’t perform that action at this time.
0 commit comments