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
2
votes
0 answers

Starting Nexus 3 Karaf console

In Chapter 16.2 of the Sonatype books for Nexus 3 it is stated that you can start the Karaf console by pressing enter after the nexus run command: Bundles can be loaded via the Karaf console. To enable the console, set karaf.startLocalConsole in…
2
votes
0 answers

Does Nexus 3 docker private registry support bearer authentication?

I want to use nexus 3 as a private docker registry. All was ok until I tried to connect Spinnaker to this registry, and when the spinnaker is trying to connect to a registry with credentials I see this error: 2017-02-06T12:22:54.867681925Z…
2
votes
2 answers

Searching Assets/Components via Nexus 3 programmatically

Since the new version of Nexus has no more REST functionality to search the repositories for artifacts my idea is to use a Groovy script to build "my own REST" system. Currently I am trying to post a script that looks like this: @Singleton class…
2
votes
0 answers

Cannot login to Nexus 3 docker registry

I have set up an AWS EC2 instance with Docker, Nexus3 and a Docker repository in Nexus with HTTP port 8123 and all the necessary settings so that I can see it from Docker. I have added after a lengthy research the right options in my docker config…
Dimitris
  • 2,030
  • 3
  • 27
  • 45
2
votes
1 answer

Unofficial migrate Nexus 2 -> 3 possible for Maven artifacts?

First, I know that the upcoming Nexus 3.1 will offer migration of v2 to v3. I also just applied for the beta migration for v2 to v3 (google forms). My timing sucks, since the next few days I am going to setup and integrate a new Nexus 3 server. Is…
Bossk
  • 707
  • 8
  • 24
2
votes
3 answers

Execute Nexus 3 embedded groovy

I want use Nexus 3's embedded groovy instead of installing groovy package that installs openjdk java. Is there an easy way to do this? I want to run this command using the embedded groovy: groovy addUpdateScript.groovy -u "admin" -p "admin123" -n…
Dennis Hoer
  • 3,039
  • 2
  • 23
  • 34
2
votes
3 answers

How to solve 405 error on maven build to Nexus 3?

I have created proxy repos in Nexus 3 pointing to Nexus 2 hosted repositories. This is to snapshot and release repositories on Nexus 2. Now, on distributionManagement tag, I am using the proxy URLs and trying do a mvn clean deploy. I am getting the…
stara
  • 153
  • 1
  • 2
  • 10
2
votes
1 answer

docker push to nexus 3 - invalid checksum digest format

Though I am able to successfully push a newly pulled docker image to Nexus 3 docker hosted repo, an error like "invalid checksum digest format" is thrown at the end. I pulled "jenkins:latest" from dockerhub, then tagged it and then pushed it to a…
machzqcq
  • 1,029
  • 13
  • 15
1
vote
0 answers

Sonatype Nexus Login Issue via Private Ingress Controller in EKS Cluster

I have deployed a Sonatype Nexus application in my EKS cluster, and it is configured with several local users and roles. Additionally, I have set up two ingress controllers using the nginx Ingress controller Helm chart: one public ingress controller…
Bala krishna
  • 519
  • 1
  • 10
  • 24
1
vote
0 answers

Are "Repositories" needed in Maven for mirrors to work?

We have a central, company-wide Repository Manager (Nexus OSS), that works as a mirror for central and also holds our repositories "releases" and "snapshots". We have defined a group "public" which contains all repositories. The pom.xml's for all…
Julian
  • 109
  • 9
1
vote
0 answers

Docker nexus3 repo failing to come up, Orient DB corrupted

The nexus repository have been running in docker for years, never faced any issue. The server it's running on is a VM and using ceph cluster storage where the nexus data is being stored. Last week there was an RAM upgrade activity on the base…
Chetan
  • 21
  • 1
  • 5
1
vote
0 answers

Nexus docker proxy behind nginx reverse proxy separate push and pull

I've set up a nexus docker registry with the proxy type. And I put the registry behind an Nginx reverse proxy as follow: file registry.example.com.conf: upstream nexus { server 127.0.0.1:8080; } proxy_send_timeout 120; proxy_read_timeout…
Emad Helmi
  • 652
  • 8
  • 25
1
vote
2 answers

ArgoCD using Self signed certificate

For testing purposes, I have deployed an insecure nexus registry using self-signed certificates. I have created the rootCA, certificates and the signatures using this cheat-sheet. I have updated the certificates in the host root@master:~/cert2#…
sfl0r3nz05
  • 547
  • 8
  • 14
1
vote
1 answer

Connect ArgoCD to insecure nexus registry

For testing purposes, I have deployed an insecure nexus registry. I want to access from ArgoCD to the images using http. However, by default ArgoCD expects https connection. Adding a http in front of the imagerepository implies a formatting…
sfl0r3nz05
  • 547
  • 8
  • 14
1
vote
0 answers

Nexus Repository OSS 3.4.0 Unusable due to memory leak

We've encountered a sudden issue with our Nexus Repository Manager OSS 3.4.0 server running on a VM. The nexus UI, docker pulls/pushes all began timing out. Initial logs indicated a JVM OOM during garbage collection, which we attempted to address…