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

what is hard delete and soft delete in Nexus3

Can someone help me to understand what is hard delete and soft delete in nexus, since I am bit confuse if I delete something from Nexus3 GUI I can still see blob count as same, and when I run clean up task then only it gets reflected. also wanted to…
Samurai
  • 121
  • 1
  • 4
  • 15
0
votes
1 answer

Get the current user information through nexus 3 api

Nexus 3 offers some API (https://help.sonatype.com/repomanager3/rest-and-integration-api) but no endpoint seems to exist to get the current user information (name, email, ...) I don't have an admin access, so I can't use /security/users endpoint Is…
jaudo
  • 2,022
  • 4
  • 28
  • 48
0
votes
0 answers

nexus: 331: cd: can’t cd to ../jre/bin

We are using Nexus3 - 3.23.0-03 while starting up our Nexus container it gives us below warning “Removing .lock file removed ‘/nexus-data/lock’ /sonatype/nexus/bin/nexus: 331: cd: can’t cd to …/jre/bin 2020-11-30 11:57:25,441+0100 INFO…
Samurai
  • 121
  • 1
  • 4
  • 15
0
votes
0 answers

How to make artifacts searchable in https://mvnrepository.com/?

I have few clarifications regarding https://mvnrepository.com/. Using the above link, I could able to find the available artifacts in different public repositories. My requirement is, I have artifacts uploaded in my hosted nexus 3 repository and I…
Karthikk
  • 326
  • 2
  • 7
0
votes
0 answers

Running official Nexus3 Image where script running is enabled

I'm trying to start a container of Nexus 3.22.0 where the script running option is automatically enabled. From this link (https://support.sonatype.com/hc/en-us/articles/360045220393) I can see that it is possible to enable it after I create the…
0
votes
2 answers

How to setup private registery credentials on cluster ip

We have setup private registery using nexus on kubernetes cluster. we expose our registery on cluster ip for dedicated ip and we are able to pull push using docker. when i setup docker credentials for private registery using secrets, i am getting…
0
votes
1 answer

Sonatype Nexus OSS 3 content selector to query specific repositories

I would like to know if Sonatype Nexus Repository OSS 3 supports querying on specific repositories, i.e, I need to filter the results from the docker_hosted_repo, but on the other hand, everything in docker_group_repo should be returned. According…
psergiocf
  • 1,493
  • 2
  • 20
  • 27
0
votes
0 answers

Sonatype Nexus3 send a wrong url to download artifact

As it says in the title, the Nexus3 send a wrong url to download artifact. I am getting the following error on the console. [INFO] Scanning for projects... Downloading from maven-group:…
0
votes
0 answers

How to change Nexus 3 repository base url?

I need to set multiple dns to Nexus Repository Manager 3. I tried setup nginx for url rewrite like below https://npm.example.me/$1 -> http://internal-nxrm-dns/repository/npm-proxy/$1 https://nxrm.example.me/$1 -> http://internal-nxrm-dns/$1 But it…
Uanid
  • 1
  • 1
0
votes
1 answer

Skip and try other modules if nexus upload fails for a submodule

My company's admin team have introduced a new restriction on Nexus repository where they do not allow update on same artifact version again. My project has 7 sub-modules (say m1..m7) where all have different versions. They all are independent and…
Akhil
  • 533
  • 2
  • 11
  • 26
0
votes
1 answer

How to remove all roles from nexus user through swagger UI

I am trying to update user in nexus through /beta/security/users/{userId} Update an existing user. { "userId": "dummy", "firstName": "dummy", "lastName": "dummy", "emailAddress": "dummy1@dummy.net", "source": "default", "status":…
0
votes
1 answer

Nexus API - using curl to get specific asset

Using the Nexus API docs I can retrieve a list of assets within a repository with the following curl command: curl -u user:password -X GET 'https://nexusurl/service/rest/v1/components?repository=docker' How can I get a specific asset? e.g. in the…
Yunter
  • 274
  • 3
  • 17
0
votes
1 answer

Disable HTTP/2 on Nexus Repository Manager OSS 3

I'm new to Repository Manager OSS and i need to disable HTTP/2 for my SSL-Certificate. But i don't know where i can turn off HTTP/2. Can anyone say it to me?
Jerome Wolff
  • 356
  • 3
  • 19
0
votes
1 answer

Gitlab CI-CD via Docker : can't access Nexus in another container

I'm using Gitlab CI-CD to build some projects using a single Runner (for now) on Docker (the runner itself is a docker container, so I guess this is Docker in Docker..) My problem is that I can't use my own nexus/npm repository while building... npm…
0
votes
1 answer

upload regular file to Sonatype Nexus Repository Manager

I'm new to nexus. using nexus 3. I managed to created and push docker images into nexus. Now I would like to upload simple files into nexus. To which repository type should I push file to? (I managed to upload via GUI into "maven-release"…
Liav
  • 65
  • 3
  • 9