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

Nexus - authentication password: must not be blank

our Nexus (Nexus3 3.38.0) is currently down and just keeps on restarting, we use docker to run nexus as a container and when we check the container logs, we get this error: javax.validation.constraintViolationExceiption:…
dani
  • 1
0
votes
1 answer

Does upgrading nexus3 container from 3.18.0 to 3.47 have any path?

I want to upgrade my Nexus Docker container from sonatype/nexus3:3.18.0 to sonatype/nexus3:3.47.1 My docker-compose is nexus: image: sonatype/nexus3:3.18.0 restart: always environment: NEXUS_CONTEXT: nexus …
Saeb Molaee
  • 109
  • 15
0
votes
0 answers

Cocoapods does not display the custom message sent from Sonatype Nexus Repository Manager

We are trying to implement Cocoapods support for one of our plugins developed for Sonatype Nexus Repository Manager (NRM). The users set up Cocoapods Proxy in NRM to download and install the packages. Our goal is to send back and display a custom…
0
votes
0 answers

How to upload existing .tgz file into nexus3

I have already created an npm repository in Nexus3. According to my scenario, I have a build command to run then it is created as a dist folder. Under this folder, I have .tgz file. I need to upload this .tgz file to Nexus. I set up my package.json…
0
votes
1 answer

Can't login to nexus3 docker repo: https://registry.mysite.online/v2: 404

When I trying to login Nexus docker repo - I get an error: docker login https://registry.mysite.online Username: admin Password: Error response from daemon: login attempt to https://registry.mysite.online/v2/ failed with status: 404 Not Found I…
Emma Rein
  • 11
  • 3
0
votes
1 answer

Nexus 3.44.0-01 doesn't start anymore

Recently I migrated from Nexus 2 to Nexus 3.44.0-01, running directly on a Ubuntu 22.04 VM, not in a docker container. Everything went fine for 2 days, yesterday I tried to fix a warning about maximum file descriptors by adding nexus - …
0
votes
0 answers

Can I upload js files to Sonatype Nexus REPOSITORY MANAGER 3?

Currently I know that Sonatype Nexus REPOSITORY MANAGER 3 can upload the corresponding package of npm to the hosted repository of npm in tgz format, how should I upload the js file to Sonatype Nexus REPOSITORY if I want to upload it?
Andrew8460958
  • 147
  • 1
  • 10
0
votes
0 answers

Nexus3 Pro Replication

I've installed the trial version of nexus3 Pro for POC of Bi-Directional replication. I've followed all the instructions mentioned in the…
0
votes
1 answer

Jenkins Fargate Plugin cant acceess Nexus in EC2

I am using Jenkins Fargate Plugin(https://plugins.jenkins.io/amazon-ecs/) for builds and push. I have an EC2 machine and in this machine I have Jenkins master, nexus repository and sonarqube. And with this jenkins fargate plugin I create fargate…
0
votes
1 answer

Nexus Repository Manager configure OpenLDAP to allow users in a specifig group only

I'm trying to configure Nexus 3.42.0-01 with OpenLDAP. I set the configuration as below: LDAP server address: ldaps://192.168.0.1:636 Search Base DN: dc=my,dc=domain,dc=local Authentication Method: Simple…
Marco Ferrara
  • 516
  • 1
  • 8
  • 26
0
votes
1 answer

Nexus on k3s on restart does not persist Users and data

I have installed on K3S raspberry pi cluster nexus with the following setups for kubernetes learning purposes. First I created a StatefulSet: apiVersion: apps/v1 kind: StatefulSet metadata: name: nexus namespace: dev-ops spec: serviceName:…
deroccha
  • 1,181
  • 4
  • 22
  • 41
0
votes
1 answer

Nexus and Docker Caching error for images with username

I've been using nexus as a docker repository for a while to mitigate flakey internet. However recently, I've hit an issue that seems a bit weird. So, if I run: docker pull server:8042/alpine:3.16.2 it works fine and it all gets cached. However, if I…
trickster
  • 75
  • 1
  • 9
0
votes
0 answers

nexus redirecting unwanted to https

I am running nexus3 on a Linux Mint 19.3 Tricia, named "horst" (=CNAME). The machine has several DNS aliases like (and for example) "jenkins", "nexus" etc. So, until I updated Mint today, the (http-)URL nexus:8081 worked (like jenkins:8081,…
user7410331
0
votes
0 answers

Failed upgraded from 3.41.0 to 3.41.1 (3.42.0)

The nexus is located in kubernetis, before that it was updated without problems. At the moment I get the following error, no matter which version I upgrade to 3.41.1/3.42.0. Log output from version…
0
votes
0 answers

Add yum repo to Sonatype Nexus Repository in Proxy mode

Im new with Nexus Repository ( using OSS 3.37 in RHEL 7.7). Im trying to add a simple Yum repo. What i do: Name: TestRepo Proxy > Remote Storage: "http://mirror.centos.org/centos/" Storage > Blob Store: "default" Finally URL to access will be…
FrankieGG
  • 21
  • 4