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

Nexus Docker container eating up all of my hosts’s memory?

Nexus v 3.32.0-03 I have a dedicated Linux Ubuntu host with 32G memory running my Nexus server, which I configured to run as a Docker container, which I start this way. docker run --rm -d -p 8081:8081 --memory 16g --name nexus -v…
Chris F
  • 14,337
  • 30
  • 94
  • 192
1
vote
0 answers

How do I search by checksum (SHA1, etc...) with Nexus 3 REST API?

I had a look at the documentation of the API but did not find a listing of all the possible query parameters, and in particular, could not find an appropriate parameter to search by SHA1, or other checksum…
Sybuser
  • 735
  • 10
  • 27
1
vote
0 answers

Nexus proxy repo not used by Gradle builds?

I set up an internal Nexus v3.28.x repo, and it's caching artifacts through the proxy repositories that I setup. However, I still see this even though I set up a Maven proxy repo for it, with the remote (source) URL set to…
Chris F
  • 14,337
  • 30
  • 94
  • 192
1
vote
0 answers

gradle can't resolve dependency in privare repository (nexus)

I am running into problems with gradle while resolving dependencies. Some of my projects uses a core-lib which I provide by my private repository - nexus3. And the weirdest part is, one of this projects resolves the dependency, while the others…
WinterMute
  • 145
  • 2
  • 11
1
vote
1 answer

Gradle not resolving dependencies from private Nexus 3 repository

I'm trying to build a gradle project the uses a library from a private Nexus repository. Versions: Gradle 7.4 Nexus OSS 3.37 This is the build.gradle: plugins { id 'java' } group 'io.riccardopedrielli' version '1.0.0' repositories { …
1
vote
1 answer

How to set Nexus container data disk space size?

Nexus v3.x running as a Docker container. I setup a Ubuntu VM with 1TB disk space. However, the container seems to only use 180G (from df -h or du -sh), and has run out of space. Hence I can’t even log in. How can I set the amount of disk space the…
Chris F
  • 14,337
  • 30
  • 94
  • 192
1
vote
0 answers

Service connection error with sonatype nexus connection in Azure Devops

I am using a generic service connection for sonatype nexus repository in Azure Devops but I'm getting an error HttpResponse.statusCode: 404, HttpResponse.statusMessage: Repository not found I can upload artifacts using curl command and have valid…
1
vote
0 answers

Logback json configuration return no logs

I'm trying to get json logs from Nexus 3. Since it use logback, I tried ton change the logback.xml file but, for some reason, it result to no logs at all... Does someone know what I did wrong? The only things I changed is to add those lines to the…
1
vote
1 answer

Sonatype Nexus cleanup task in Waiting status

We've configured cleanup policies in Sonatype Nexus 3.22.1-02 and also created tasks Cleanup service Admin - Cleanup repositories AND also Admin - Compact blob store and ran them manually but they are still in waiting status after a couple of hours.…
JGS
  • 11
  • 2
1
vote
1 answer

Apache Reverse Proxy - Virtual Host - Allow Encoded Slashes not working

I am trying to expose a (Dockerize) Nexus 3 NPM registry behind Apache HTTPD on CentOS. I have this virualhost: ServerName ci-cd.domain DocumentRoot /var/www/cicd ProxyRequests …
1Z10
  • 2,801
  • 7
  • 33
  • 82
1
vote
1 answer

What happens if we reupload the artifact already present in nexus respository?

I am using curl command to manually add artifacts in the nexus repository. What will happen in the case if I reupload the artifact of the same version which is already present in the nexus repo. Does it replace the previous one or not push at all in…
1
vote
1 answer

Nexus Repository - Azure DevOps Release Pipeline

I am trying to download my uploaded artifact from nexus repository manager in azure devops release pipeline with the help of Sonatype Nexus Repository Release Artifact. However, I have created service connation and configure and then I am trying to…
1
vote
0 answers

Sonatype Nexus: How to circumvent when unavailable?

It can happen that the internal sonatype nexus manager is not available like in case of vpn issues. What can I do to still be able to download packages in that case? Even when explicitly setting a channel like in below example conda install -c…
beginner_
  • 7,230
  • 18
  • 70
  • 127
1
vote
1 answer

Getting the Latest Release of an Artifact in Nexus

I'm currently trying to build some Docker Images through Dockerfiles. To do that, I need to get the newest build of an Maven Artifact from Nexus 3. But i can't seem to get the API call to work. To get the following Artifact: Repository:…
thelooter
  • 25
  • 1
  • 5
1
vote
1 answer

What's is the different between docker volume with mountpoint docker volumes

What's is the different between docker volume with mountpoint docker volumes, please see the attached picture Can someone help me? Two volumes, different configuration
Pini
  • 13
  • 3