Questions tagged [nexus3]

Nexus is a Repository Manager for Maven, NuGet, Docker registries and other binary artifact repositories. Repository managers serve two purposes: they act as highly configurable proxies between your organization and the public repositories and they also provide an organization with a deployment destination for your internally generated artifacts.

Since version 3.x, Nexus Repository Manager and Nexus Repository Manager OSS support Docker registries as the Docker repository format for hosted and proxy repositories. These repositories can be exposed to the client-side tools directly or as a repository group. This reduces time and bandwidth usage for accessing Docker images in a registry as well as provides a platform to share images in a hosted repository.

Nexus is an open source repository manager for Maven and other repository formats like P2, NuGet, static sites, RPM/YUM, NPM, NuGet, RubyGems and more. Repository managers serve two purposes: they act as highly configurable proxies between your organization and the public repositories and they provide an organization with a deployment destination for your internally generated artifacts.

The true power of Nexus comes into play with its caching mechanism i.e its ability to cache any component from any source. On first request, nexus scans its storage to see if the requested component is present in the storage location or not. In case the particular artifact is not present, it will fetch the artifact from a list of configured remote repositories and place it in its storage location before serving the requester. Next time the same component is requested, it will be served directly from the storage, thus saving the overhead of fetching it from the remote repository.

In addition Nexus provides a user interface around the administrative and user related tasks such a searching components and provides further features like support for release process, control over available artifacts, audit and security controls. Nexus Professional also displays up-to-date information about known security vulnerabilities and license issues.

Nexus improves build times as described in this video presentation which provides an overview of how a local Nexus server, that you set up and manage, caches artifacts that are downloaded from the Central Repository (aka Maven Central) and other repositories. There is a commercial version, Nexus Professional, with more features available. You can find out more about it all on the dedicated user community website with lots of helpful blog posts, videos and more.

540 questions
0
votes
1 answer

AWS ELB health check endpoint for Sonatype Nexus OSS?

I want to setup a classic AWS ELB in front of an EC2 instance running Nexus OSS. I got the app running an can access http://IPaddress:8081. I now want to put a classic load balancer in front of it. On the ELB's "Health Check" tab, what should be the…
Chris F
  • 14,337
  • 30
  • 94
  • 192
0
votes
0 answers

Not able to access nexus3 OSS on port 8081 installed on Amazon Ec2 RHEL

I have installed Nexus3 OSS on AWS Ec2 using the below link. http://www.cidevops.com/2017/09/how-to-setup-sonatype-nexus-on-redhat.html But not able to open with http://public_ip:8081 I have installed httpd too using yum install. Not sure what am…
Kalyan
  • 29
  • 1
  • 1
  • 3
0
votes
1 answer

Nexus Repository Manager 3.14 with Ceph blobstore performance

I've set up NXRM 3.14 with a ceph (S3 compatible) blobstore back-end. I've been testing it both on physical hardware and inside a docker container. It "works" but is much, much slower than uploading directly to the bucket (a 2 second upload directly…
Kendall Trego
  • 1,975
  • 13
  • 21
0
votes
1 answer

Nexus REST API to map LDAP user to existing Roles

Is there any possibility of having a Groovy script for mapping the LDAP user to existing nexus roles? I have created a Groovy script which will check my employee no in LDAP and map the nexus role to my user id. import…
user2439278
  • 1,222
  • 7
  • 41
  • 75
0
votes
1 answer

How to delete a Sonatype Nexus OSS(3) Component from a Repository?

I recently installed the Sonatype OSS 3.14.0-04. I new to nexus and I am creating roles stuff. I have seen nexus 2, but I did not have any involvement in setting it up or administrative work. What I seem to be having issues with now is deleting…
pitchblack408
  • 2,913
  • 4
  • 36
  • 54
0
votes
1 answer

there is no properly docs for nexus 3. So seems I got problem in searching the token key

is there anybody here, who has programmatically accessed the "Nexus Repository Manager 3" ? in particular I can not achieve the token key
Hayk Mkhitaryan
  • 388
  • 9
  • 26
0
votes
1 answer

auto update projects on Nexus Repository Manager when pushing to private Gitlab

First of all, sorry for my bad english. I am currently working on workflow performance. My Idea is, when I push changes from IntelliJ to a private GitLab Server; I would like that my GitLab instantly create a finished .jar file from new code and…
Mienu
  • 1
0
votes
1 answer

Creating a repository and uploading artifacts to a Nexus3 docker container

This is basically a two part question. First I would like to know how I would go about creating a new repository on a Nexus3 container after the container starts up. I know the rough outline on what has to be done, I just dont know how to do…
user538578964
  • 723
  • 9
  • 25
0
votes
0 answers

Get remote url of an artifact

Is there a way to get the the remote url of an artifact stored by Nexus 3 OSS? Or even the id of the repo if a group is used. I tried with the REST APIs but there isn't what I'm looking for. I'm trying to create a maven plugin that lists remote urls…
Alf
  • 2,291
  • 1
  • 28
  • 34
0
votes
2 answers

Upload files to Sonatype Nexus 3 using Python

I'm trying to figure out how to upload some rpm files to a Nexus 3 yum repository. Can't figure out how to configure the request call.
MrPY
  • 67
  • 2
  • 7
0
votes
0 answers

cant connect to docker private registry "getsockopt: no route to host"

I created a docker private registry on nexus3 (dockerized). when im trying to log in using: "docker login -u admin -p admin123 myIP:8213" i get the following message: "Error response from daemon: Get https://myIP:8213/v2/: dial tcp myIP:8213:…
Oz Giat
  • 127
  • 3
  • 10
0
votes
1 answer

Configure helm to connect to nexus

I searched on internet to find a tutorial to connect helm with nexus, without success. DO you know a tutorial who can help me to do that ? i found that one but they dont tell how to configure a registery on nexus to add helm packages . Thank in…
morla
  • 675
  • 4
  • 15
  • 32
0
votes
1 answer

Nexus 3: Version clash for one artifact in two different repos of one group

In Nexus 3 (OSS 3.13.0-01) I created a group "public" which contains (besides others) the proxy repositories maven-central (https://repo1.maven.org/maven2/) and atlassian (https://maven.atlassian.com/repository/public/). Both of these repositories…
Timbo
  • 43
  • 1
  • 4
0
votes
1 answer

How to configure a Nexus3 repository for Gauge plugins?

I'm in the process of introducing Gauge in one of my projects. One pre-requisite is providing all development environments with a Nexus3 local repository of external dependencies. Raw repositories should be the way to go, but it's not clear to me…
0
votes
1 answer

Attach key/value pairs to artifacts in Nexus

Is it possible to save key/value pairs along with artifacts in Nexus? At the moment, we are using 2.14, but I would also be interested in the situation with Nexus 3. If so, do they need to be deployed along with the artifact, or can they be set…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142