How to upload the jar package to nexus via the web page

How to upload the jar package to nexus via the web page

When using Maven to manage projects, how to upload the jar package to a private warehouse? The following is a brief introduction to the upload method.

Environment: nexus private library

Here are the steps:

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


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


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



4. The artifact upload interface displays GAV Parameter, groupId, artifactId, Version, Packaging and other parameters, as shown in the figure:


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



Note: This method only uploads the jar package. Reference the current jar through Maven, and cannot obtain the jar's dependencies

Select the pom file and jar by using the from pom method. When you import a jar through Maven, the dependencies of the jar are automatically loaded.

The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM.

You may also be interested in:
  • How to use Nexus to add jar packages to private servers
  • Getting started with Maven: Using Nexus to build a Maven private server and upload and download jar packages
  • Using Docker to build a Nexus private warehouse to implement Maven private service
  • How to publish Maven project (jar package) to Nexus private server
  • Nexus3x creates a private repository and uploads the jar package using gradle

<<:  MySQL encryption and decryption examples

>>:  Ubuntu MySQL 5.6 version removal/installation/encoding configuration file configuration

Recommend

Detailed explanation of mandatory and implicit conversion of types in JavaScript

Table of contents 1. Implicit conversion Conversi...

Responsive layout summary (recommended)

Basic knowledge of responsive layout development ...

Execute the shell or program inside the Docker container on the host

In order to avoid repeatedly entering the Docker ...

7 Ways to Write a Vue v-for Loop

Table of contents 1. Always use key in v-for loop...

How to represent various MOUSE shapes

<a href="http://" style="cursor...

Vue Element front-end application development to obtain back-end data

Table of contents Overview 1. Acquisition and pro...

How to view the status of remote server files in Linux

As shown below: The test command determines wheth...

Negative margin function introduction and usage summary

As early as in the CSS2 recommendations in 1998, t...

Detailed explanation of the processing of the three Docker Nginx Logs

Because colleagues in the company need Nginx log ...

Two implementations of front-end routing from vue-router

Table of contents Mode Parameters HashHistory Has...

Docker nginx + https subdomain configuration detailed tutorial

Today I happened to be helping a friend move his ...

What is ZFS? Reasons to use ZFS and its features

History of ZFS The Z File System (ZFS) was develo...