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
4
votes
1 answer

Docker local Nexus responded `Empty reply from server` when Curl

I tried setup a local Nexus using Docker as per the instruction in https://hub.docker.com/r/sonatype/nexus3/ I run the below and seems successful docker run -d -p 8081:8081 --name nexus sonatype/nexus3 But when I curl http://localhost:8081/ It…
Elye
  • 53,639
  • 54
  • 212
  • 474
4
votes
3 answers

List of all available groovy functions in Nexus3

Where can I find the groovy API documentation containing the list of available function for Sonatype Nexus 3? I saw the web page below which describes…
Samuel Mutel
  • 79
  • 3
  • 10
4
votes
1 answer

Nexus 3 Query builder how to retrieve artefacts in descending order

Is there a way we can retrieve artefacts in date descending order? I currently have below script here as an example: import org.sonatype.nexus.repository.storage.Asset import org.sonatype.nexus.repository.storage.Query import…
Passionate Engineer
  • 10,034
  • 26
  • 96
  • 168
4
votes
4 answers

Removing old / unused docker images

I'm using Sonatype Nexus as a Docker Registry and after a while, it got really big (new image with every CI build and some old projects). I tried using "Purge unused docker manifests and images" task, but it doesn't seem to do anything.
4
votes
0 answers

Nexus Repository OSS 3 upload WHL file to pypi-internal results in Error 404

I work with Nexus Repository Manager OSS 3.7.1. I try to break the coming packages on groups. I have created group via the admin panel. I have added a repository to the host group. I have stated in the *.pypirc file to url the address on…
4
votes
1 answer

MissingBlobException when pulling or pushing from/into Nexus 3 Docker-Registry

I'm working with Nexus 3.5.0-02 and two Docker repositories. One for snapshots and one for releases. The snapshot repository works fine. But since yesterday I got an MissingBolbException when I try to pull or to push Docker images from / to the…
M. Rolf
  • 51
  • 1
  • 4
4
votes
0 answers

Trigger Jenkins job when new artifact is uploaded to Nexus3 repo

I'm quite new to Nexus3. I've set up a repository in Nexus3 and uploaded some artifacts. My requirement is like I want a Jenkins job to be triggered up on new artifact upload in my Nexus repository. I had used URLTrigger plugin with Artifactory…
vraj010
  • 116
  • 1
  • 2
  • 8
4
votes
0 answers

Setup proxy repos for SBT with Nexus 3

I want sbt to use my own nexus server. When i run sbt command in terminal it downloads plugins and artifacts from central repos. I found this article that explains how to do that: http://www.scala-sbt.org/release/docs/Proxy-Repositories.html What…
Alexander Kondaurov
  • 3,677
  • 5
  • 42
  • 64
4
votes
1 answer

Download artifact from Nexus OSS 3.0.0-03 using browser/wget

I have a local installation of Nexus OSS 3.0.0-03. I am able to upload snapshot and release jars. Now I want to download those jars via the browser or wget, but I can't seem to find the REST API call to do it (for example in a shell script executed…
mahanhz
  • 245
  • 1
  • 5
  • 11
4
votes
1 answer

Sonatype nexus 3 Remote connection pending

I recently upgraded to nexus-3.0.0-M5 for our repository server and I noticed two problems with it. Any repository (hosted) that I create, gets stuck in Remote Connection Pending state and it doesn't change no matter what I do. I already have a…
Saif Asif
  • 5,516
  • 3
  • 31
  • 48
3
votes
1 answer

npm publish of scoped packages to nexus fails

I have a problem publishing scoped npm-packages to a private nexus-repo. The name of the package is @spike/core. The error message is: npm notice Publishing to https://nexus.pitsfs.work/repository/npm-releases/ npm ERR! code E404 npm ERR! 404 Not…
Dieter Rehbein
  • 941
  • 8
  • 16
3
votes
1 answer

Accessing Nexus repository manager password in a kubernetes pod

I have installed Sonatype nexus repository manager in my Kubernetes Cluster using the helm chart. I am using the Kyma installation. Nexus repository manager got installed properly and I can access the application. But it seems the login password…
saurav
  • 5,388
  • 10
  • 56
  • 101
3
votes
1 answer

How to export and import Nexus repositories? (without a Pro account)

I was wondering if it is possible to export and import my nexus-repositories without using the task which sonartype provides to its pro-users. This way it would be possible to backup and restore one specific repository.
davidkfmn
  • 31
  • 3
3
votes
1 answer

Nexus read from existing S3 Bucket

My nexus configured to use S3 Bucket as Blob Store. But the nexus went down. When I created a new nexus server. I would like to use the existing S3 bucket as the Blob Store. But the new Nexus installation sees it as an empty blob store. How can I…
John
  • 791
  • 2
  • 7
  • 25
3
votes
1 answer

Cannot install npm packages from Sonatype Nexus private repository

I am using Sonatype nexus as my repository where I have configured npm to have public and private repositories. npm-public -> proxy for npm registry. npm-private -> private repository to publish company related repositories. npm-group -> group…
Ashwin Kumar
  • 49
  • 1
  • 3