I have a maven project (in a pipeline) that needs to consume artifacts deployed (via mvn deploy) in another azure pipeline as a dependency.
I am able to upload and do
Firstly, for Universal package, it is just a collection of files that you’ve uploaded to our service and labelled with a name and version. And you can download it through Universal Package task during build or release.
More information, you can refer to: Getting started with Universal Packages
Since you are using JAVA package, please deploy/publish JAVA package through MVN deploy.
Secondly, there are collection and project level/scope feeds. For project level/scope, you need to specify project name in URL, such as https://pkgs.dev.azure.com/{org}/{project}/_packaging/{feed}/maven/v1.
Thirdly, to use JAVA package in another JAVA project, you need to configure credential in settings.xml in user's folder (${user.home}/.m2). For build or release pipeline, you just need to add Maven Authenticate task for authentication.
Then, you need to specify package in pom.xml (under section). You could get this information in Connect to feed > select Maven.
More information, you can refer to: Get started with Maven feeds and Artifacts