How to Deploy artifact with pom file using artifactory GUI
I have artifact with corresponding pom file. How can i upload the artifact to Artifactory via GUI so that its GAVC parameters are saved according to the information contained in the provided together pom?
Is it possible using CLI or rest?
Re: How to Deploy artifact with pom file using artifactory GUI
To deploy an artifact along with it's POM.xml file using Artifactory UI, you can perform the following steps:
1. While inside your Artifactory UI, click on 'Deploy' tab.
2. Click 'Choose file' and select the artifact you wish to upload.
3. If the artifact is a jar file and the POM.xml is already archived, Artifactory will generate the information and once you will click 'upload' the GAVC parameters will be filled automatically.
If this is not a jar file and it doesn't have any POM.xml assigned to it, you can still choose 'Deploy as Maven artifact' and you will be able to manually fill the GAVC fields.
To answer your second question, it is indeed possible to upload artifacts and POM.xml using REST, but you will need to upload them individually and the process is simpler using the UI.