Jfrog Artifactory Upload/deploy maven artifacts

Поділитися
Вставка
  • Опубліковано 26 бер 2023
  • This video describes the below.
    How to deploy a maven build artifact to a repository in Jfrog Artifactory?
    How to resolve “401: unauthorized “ Error while uploading maven artifacts to Artifactory?
    For providing user permissions in Artifcatory,please refer the below video
    • Jfrog Artifactory User...
    For Creating repositories in artifactory,please refer the below video.
    • Jfrog Artifactory Repo...
  • Наука та технологія

КОМЕНТАРІ • 20

  • @gam3m0d3_1
    @gam3m0d3_1 6 місяців тому

    Excellent narration buddy. 🎉.

  • @jFernandoZ
    @jFernandoZ 11 місяців тому

    hey, What about versioning? JFrog by default increment the tag based on the previous artifact found in JFrog artifact repo?

    • @technologytheoryhandson863
      @technologytheoryhandson863  11 місяців тому

      Hi..Are you talking about maven snapshot versions? Can you please elaborate your question in detail?

    • @jFernandoZ
      @jFernandoZ 11 місяців тому

      @@technologytheoryhandson863 yes, I mean, when you run mvn clean deploy to send the artifact to JFrog remote artifact repo, How the artifact version is tagged.

    • @technologytheoryhandson863
      @technologytheoryhandson863  11 місяців тому +1

      Yes..by design for snapshot repos..they contain artifacts with timestamps and build number as tags as we have multiple snapshots for the same version.The metadata.xml file contains the info about these timestamps to identify which is latest.For releases, we do not have these as we have only one version of the artifact...if you want to keep only few snapshots for the version you can configure the repo in artifactory with "max unique snapshots" in repo configuration.

  • @magicforethiopians2546
    @magicforethiopians2546 8 місяців тому

    how about tibco shared modlules i want to push them to jfrog artifactory

    • @technologytheoryhandson863
      @technologytheoryhandson863  8 місяців тому

      I am not sure about tibco modules...but how they are packaged?..if they are packaged as maven packages then you can assign group I'd,artifact I'd, version for that package and you can an push to maven repo of artifactory....if not packaged as maven package,then you may follow Generic package format using generic repositories

  • @Lamoboos223
    @Lamoboos223 9 місяців тому

    thank you so much, i have successfully deployed my jar artifact. now how to import it as dependency?

    • @technologytheoryhandson863
      @technologytheoryhandson863  9 місяців тому

      Thank you..glad it helped you...once the jar is uploaded,it can be used in other projects as other maven dependencies by declaring it in pom.xml in dependencies section by mentioning group I'd, artifact I'd and version

    • @Lamoboos223
      @Lamoboos223 9 місяців тому

      @@technologytheoryhandson863do the other developer need to mention jfrog server config so it can download the jar from there?

    • @technologytheoryhandson863
      @technologytheoryhandson863  9 місяців тому

      @@Lamoboos223 Yes..pls follow the below video for downloading dependencies from artifactory
      ua-cam.com/video/e7RiD--jb84/v-deo.html

    • @simo47768
      @simo47768 7 місяців тому

      Why are using snapshot and not realeaes repo?

    • @Lamoboos223
      @Lamoboos223 7 місяців тому

      @@simo47768 what is the difference between the two of them?

  • @candyxoxo28
    @candyxoxo28 9 місяців тому

    It’s failing that it can’t download metadata.xml file as it doesn’t exist and unauthorised

    • @technologytheoryhandson863
      @technologytheoryhandson863  9 місяців тому

      Generally until the first upload successful,we will not have metadata.xml file in repository... unauthorised means the user is not having proper permissions to upload the artifact in repository.. pls check whether the user has permissions to upload in repository.

    • @candyxoxo28
      @candyxoxo28 9 місяців тому

      @@technologytheoryhandson863maven deploy plug-in is getting failed to download the xml file as not authorized

    • @candyxoxo28
      @candyxoxo28 9 місяців тому

      And when I go to link it says 404 item url/path/snapshot does not exist

  • @juliriya
    @juliriya 11 місяців тому

    It's not possible. I have tried.