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

Kubernetes ERROR 502 when expose Nexus3 with Nginx Ingress Controller and LetsEncrypt

i'm trying to expose Nexus 3 using an Nginx controller with letEncrypt, but I get 502 Bad Gateway. I created this files: **Namespace: ** apiVersion: v1 kind: Namespace metadata: creationTimestamp: null name: nexus spec: {} status:…
fcammisa
  • 1
  • 1
0
votes
1 answer

How to use nexusupload to upload artifact if using SAP piperpipeline

We are using SAP piperpipeline. At the root level, application source code folder and mta.yaml file is present. The pom.xml file is available under application folder. I am trying to upload the .jar file generated in "Build" stage to nexus. The…
varsha
  • 11
  • 2
0
votes
0 answers

Getting error when trying to upload war file in Nexus by using Nexus artifactory uploader

Getting error like java.lang.null pointer exception while doing Jenkins pipeline job project by using Nexus artifactory uploader and it was working for free style project and it was showing as hudson.security issue here was the error shown in below…
0
votes
1 answer

Runing Nexus behind an SSL Reverse Proxy with Custom Context Path

I'm trying to run nexus behind an SSL Reverse Proxy, where nexus is not working with custom context path. I've also updated with Base URL Capabilities in nexus as https://dev location / { ..... ..... } With location / the request…
Shoaib
  • 1
  • 2
0
votes
0 answers

how to force npm install command prioritize nexus npm registry over downloading from internet?

when I run npm install to download packages for my node.js project at first it look ups internet instead of my nexus repository to download pakages to build my project. i set .npmrc in my project config and all credentials are ok for access.my…
Ali farahzadi
  • 274
  • 2
  • 10
0
votes
0 answers

Nexus: Unable to delete repository when database is frozen.. Database not writable on node

i am trying to publish or to delete from nexus, i get this error: Unable to delete repository when database is frozen.. Database not writable on node any help?
michael
  • 847
  • 4
  • 10
  • 17
0
votes
0 answers

401 Unauthorized error when retrieving dependencies from Sonatype Nexus in Docker

I am currently running Sonatype Nexus on Docker, and I am facing an issue when attempting to retrieve a dependency from it. I consistently encounter a '401 Unauthorized' error. Interestingly, I am able to successfully deploy artifact to Nexus…
0
votes
1 answer

Docker Nexus Repository - Keep stuck on Initializing

I'm trying to access Nexus Repository home page by browser but the page keep on Initializing... indefinitely. Browser: http://:8081/ docker-compose: cup-nexus: image: sonatype/nexus3 restart: always container_name: cup-nexus …
Aldo Inácio da Silva
  • 824
  • 2
  • 14
  • 38
0
votes
0 answers

404 Error while trying to access local klo2k/nexus3 container

I'm playing around with sonatype nexus oss because jfrog's has lost support for awhile now. I have a m1 macbook pro and was told from this post to use klo2k/nexus3 since my mac is arm and offical images are for amd64. I ran the following…
0
votes
0 answers

How to recover Nexus OSS Realms?

I have a Nexus OSS 3.15.6 and accidentally removed these two realms from its config: Local Authenticating Realm Local Authorizing Realm How can I recover these configurations once a time that I don't have any access to Nexus's Dashboard? I have…
0
votes
0 answers

Convert NGINX host mapping example to Traefik host mapping w/ Kubernetes manifest

The broader problem is that I have a Sonatype Nexus server running within a K3s cluster, and I am trying to serve/expose endpoints for Docker clients to pull images from. In Sonatype's documentation they have example host mapping strategies listed…
Roondawg
  • 11
  • 3
0
votes
1 answer

Automation: Nexus docker container

As part of automation, I can do the following configuration in Nexus custom docker file (which is extended from the Nexus image from DockerHub) . However I can not automate the Task creation and disable anonymous access. Any help in this regard pls…
SriSiva
  • 11
  • 1
  • 3
0
votes
0 answers

Nexus3 repository URL to be replaced with Nexus2 URL in npm package-lock.json

We have couple of nexus instances, one on nexus 2 and other on nexus 3. Nexus 3 is a proxy of Nexus 2. Whenever npm builds are run against nexus 3, it adds the repo URL in a different format to the package-lock.json file. When this file is commited…
m18e
  • 1
  • 1
0
votes
0 answers

How to delete the artifacts folder from nexus repo without GUI intervention. I need to delete the folder with the help of maven or curl command

How to delete the artifacts folder from nexus version 3.42.X repo without GUI intervention. I need to delete the artifact folder with the help of maven command or curl command.
Senthil
  • 39
  • 3
0
votes
0 answers

Checksum's mismatch when download file from Nexus

I have reposytory (type raw) in the Nexus (version 3.40) and I am uploading large file to the repo (about 60GB). The issue is quite wierd. When I download this file from Nexus, its checksums differ from original file and from checksums shown by…