Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

How to upload a jar package to nexus through a web page

2025-02-25 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

When using Maven to manage projects, how to upload jar packages to private repositories, the following briefly describes the upload method.

Environment: nexus private library

The procedure is as follows:

1. Log in to the installed nexus private repository, as shown in the figure:

2. Click on the left menu "Repositories" and select the right list "3rd party"

3. Click "3rd party" and select artifact Upload, as shown below:

4. GAV Parameter,groupId,artifactId,Version,Packaging and other parameters are displayed in the artifact Upload interface, as shown in the figure below:

5. After filling in the above parameters, select the jar package to upload, click "add artifact", and finally click "save" button, as shown in the following figure:

Note: This method only uploads jar packages. Reference current jar via maven, cannot get dependency of jar

By way of from pom, select the pom file and jar. When a jar is introduced via maven, the dependencies of the jar are automatically loaded.

The above is all the content of this article, I hope to help everyone's study, but also hope that everyone a lot of support.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report