After signing in to the Nexus, click on the "repositories" on the right to display the repository currently managed by the Nexus.
By default, Nexus creates the following major repository for us:
1, Publicrepositories, this is a repository group, the repository group contains a number of repository, which contains releases, snapshots, ThirdParty and Central.
2, 3rd party, the repository is to store your company's purchase of the third software Library, it is a nexus itself maintained by a repository.
3, Apache snapshots, look at the name you should know this is what kind of repository, this is a proxy repository, that is, ultimately rely on the Apache website to download, and then cached in the Nexus.
4, Central, this is the agent Maven central repository repository.
5, releases, your own project to release, it should be published in this repository, he is also the nexus of their own maintenance repository, not agents.
6, snapshots, your own project snapshot repository.
Here's how to upload a third party jar package using 3rd parties
In the Repository list, select the 3rd party, check artifact upload, as shown in
Choose GAV defini3ion:gav parameters,auto Guess Hook.
Select the jar format for group, Artifact, version,packaging for the jar package below.
Click the Select Artifact (s) to upload button and select the Jar package to upload.
How to use the uploaded jar package, very simple, if you have built a MAVEN project. Contains pom.xml this file, add the following to this file:
How do I add a third-party jar after using the Sonatype Nexus to build a maven?