2023-Upload the jar package to Alibaba Cloud maven private warehouse (cloud effect product warehouse)

1. Background introduction 

         If you want to upload the code tool jar package that you usually accumulate to the cloud, so that everyone in the team can use it together. It is too easy to pass), compared to the domestic Alibaba Cloud Maven warehouse, it looks good (fast, convenient, and easy to operate), but most of the existing upload tutorials on the Internet are for the old version of the cloud effect and use Maven in the cloud effect   construction Private warehouse service (aliyun.com)

         Therefore, this blog will upload the jar package to the cloud Maven private warehouse for the new version of Alibaba Cloud's cloud effect product warehouse.

1. Upload steps 

        First, log in to the official website of Alibaba Cloud and enter Cloud Effect DevOps.

        After entering Cloud Effect DevOps, click on the product warehouse.  

 

        Or directly search for "Aliyun Yunxiao maven".

         After logging in, enter this page and click one-click activation.

        Both ways will eventually lead to this page. According to your actual situation, choose whether to upload to the production library or the non-production library.

         After selecting the Maven warehouse, enter the production warehouse (choose which one you choose according to your own situation, you can delete it if you upload it wrong, don’t worry). There are jar packages, just choose the way to upload files.

 

 Just enter the corresponding parameters according to the prompts. After the input is complete, select the jar package and click upload.

After the upload is complete, just reference this dependency.

        At the same time, you need to modify the settings.xml file in the Maven environment (click on the configuration file directly, you can download it, copy it and overwrite the original file)

It can be found that the settings.xml file has been modified, and it can be directly imported normally

2. Matters needing attention

① 

②. When modifying the settings.xml file (don’t modify the source file, just copy and paste all the settings.xml files on the official website), and remember to back up the source file. Remember to backup first).

Guess you like

Origin blog.csdn.net/weixin_49171365/article/details/131856386