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

Nexus Asset Search API no results with java HttpClient

im running a nexus (OSS 3.36.0-01) instance which hosts some maven artefacts for my application (Apache Flink Jobs). These Jar-files needs to be downloaded by a java a application (it's a flink k8s operator). Using the nexus-internal swagger UI on…
Peter C. Glade
  • 543
  • 2
  • 8
  • 16
0
votes
2 answers

Delete docker images from nexus registry using api

There's a nexus setup running for docker registry. I'm struggling to delete old/unnecessary images from nexus setup using the APIs.So far I'm aware of below available APIs. There are 2 requirements: Delete images older than 30 days. Keep at least 5…
Chetan
  • 21
  • 1
  • 5
0
votes
1 answer

Is there any specific configuration needed to run docker images from a private registry within a crio runtime?

I'm deploying an OKE kubernetes cluster which uses crio as container runtime. I have already configured a reverse proxy nginx for a private registry (with nexus3, and outside the cluster) and tried and succeed locally pulling, pushing and running…
0
votes
1 answer

In Sonatype Nexus Docker proxy, how do I debug "Bad request" error?

I've been following the instructions to set up a Proxy Repository for Docker. I am intending to set up a proxy for Docker hub, that is for https://index.docker.io/. My setup details on Nexus Nexus version 3.36.0-01 Installed via…
EdwardTeach
  • 615
  • 6
  • 18
0
votes
1 answer

Nexus Sonatype - Getting NugetAPI Key through API/CLI?

Is there a way through the API or CLI I can retrieve that newly created uses API key? I have used an Ansible Role to setup/configure Nexus Sonatype. https://github.com/ansible-ThoTeam/nexus3-oss#example-playbook I re-run the role everytime i need a…
ZZTest
  • 89
  • 7
0
votes
0 answers

Can not "npm publish" to internally-hosted npm repository?

I followed Using Nexus 3 as Your Repository – Part 2: npm Packages to set up an internal npm repository. I'm then able to do this, $ npm view jsreport dist.tarball https://registry.npmjs.org/jsreport/-/jsreport-3.0.1.tgz I have this in my ~/.npmrc…
Chris F
  • 14,337
  • 30
  • 94
  • 192
0
votes
1 answer

How to download and install Nodejs from Nexus proxy repo

I am trying to download and install nodejs in a dockerfile. It works when run below i commands in dockerfile - RUN curl -sL https://deb.nodesource.com/setup_10.x | bash - RUN apt-get install -y nodejs but as per my company policy, i need to use…
0
votes
0 answers

can we install jenkins plugin using nexus as proxy

I want to install a specific version of jenkins plugin using nexus as a proxy. Is it possible to install from the jenkins UI. If possible, can someone help?
Janani K
  • 1
  • 1
0
votes
0 answers

Sonatype Nexus OSS 3 - Enable Upload Snapshot

How can I enable Nexus to make upload of SNAPSHOT version jar? On "server configuration and administration" tab I can see maven-snapshots repository but I can't see on Upload tab. PS: I'm logged in as admin user
Aldo Inácio da Silva
  • 824
  • 2
  • 14
  • 38
0
votes
1 answer

Nexus Docker Registries: blob unknown: blob unknown to registry

I have 3 docker registries in my nexus repo: docker-hosted, docker-proxy, docker-group docker-hosted is a registry that I can push images into it. docker-proxy is used when I want to pull images from the docker hub and used as a cache for the docker…
Nader
  • 318
  • 1
  • 6
  • 16
0
votes
2 answers

Migrating Data from Nexus2 to Nexus3 via Upgrade Agent

based on the documentation to upgrade Nexus2 to Nexus3 we can use the Upgrade Agent but now I am wondering is it possible to use it for data migration, my use case is, I have already Nexus3 with data inside, for the other project we are using Nexus2…
GeoCom
  • 1,290
  • 2
  • 12
  • 33
0
votes
1 answer

maven3.x deploy to nexus3 issue

pom.xml config: com.java.study docker 1.0.SNAPSHOT jar
0
votes
0 answers

docker login with domain name does not work from Mac in same LAN, but from other devices

I can't log in to a self hosted docker registry from my Mac, other devices work. Home LAN, all in 192.168.0.xxx: raspberry pi with docker version 20.10.8 Mac with MacOS and docker version 20.10.8 PC hosting the registry at 192.168.0.12: ubuntu with…
user2366975
  • 4,350
  • 9
  • 47
  • 87
0
votes
2 answers

Docker image pull fails with not found: manifest

I'm using Docker version 20.10.8, build 3967b7d on CentOS-7.9 host and Sonatype Nexus Repository Manager version - OSS 3.30.1-01 being used as private docker registry. When i tried to pull the image using docker-compose it always fails with below…
user4948798
  • 1,924
  • 4
  • 43
  • 89
0
votes
0 answers

nexus3 docker push has no blobs

I have a nexus3 and I have created a docker(host) repository I have pushed the windows/nanoserver images to this repository docker push 192.168.10.10:5000/mcr.microsoft.com/windows/nanoserver:1809-amd64 I can find images ,tags and manifests of the…