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

Problems with Nexus hosted pypi repos after updating from 3.46 to 3.47

Hello today I updated my NEXUS OSS repo manager from 3.46 to 3.47. In the system status page I am seeing the error message: X transactions with excessive retries in last hour with the counter X steadily mounting. Users are unable to download pip…
1
vote
0 answers

Docker login failing with v2/ failed with status: 404 Not Found

I have deployed Nexus repo manager 3 in an EKS cluster. An AWS network loadbalancer, listening on port 443 forwards traffic to my nexus service. My ingress controller in nginx. My ingress config is k describe ing ingress-nxrm Name: …
Jason Stanley
  • 386
  • 1
  • 3
  • 20
1
vote
0 answers

Proper way to preconfigure Nexus3 to mirror our internal repository when running in Docker?

We have a set of legacy Gradle projects that I am working on migrating to building in Docker. Unfortunately they download quite a bit of Maven artifacts from our internal Artifactory server for every build, which is rather slow when working remotely…
1
vote
1 answer

Can't create task scheduler with groovy script in nexus3.x

I want to create a script with helping of this document but I don't know how to pass a groovy file instead of json and when I execute curl -u admin:admin123 -X POST --header 'Content-Type: application/json' \ …
Jessica
  • 127
  • 2
  • 10
1
vote
0 answers

sonatype nexus auto create repository when publish maven artifact

Can I set up Nexus Repository OSS to automatically create a repository if it doesn't exist when publishing artifacts ?
Spliterash
  • 191
  • 3
  • 9
1
vote
0 answers

How to develop Nexus 3 repository plugin?

In my team, we want to create our own Nexus plugin (for Nexus 3) to prevent or allow some packages to be downloaded based on our own custom rules. I know about such a solution as Nexus Firewall, but we can not use it, since it is not free. I have…
Sergey Luchko
  • 2,996
  • 3
  • 31
  • 51
1
vote
1 answer

How to configure LDAP in Nexus3 using groovy script

I installed Sonatype Nexus OSS 3.42.0-01, now I'm trying to configure LDAP using a script. This is because I need to deploy new servers and automate the configuration I created this groovy scrip: import…
Marco Ferrara
  • 516
  • 1
  • 8
  • 26
1
vote
0 answers

Nexus repo not showing

I'm new in nexus and jenkins. I have a basic maven project on github and tried to create ci/cd pipeline with nexus repo. But nexus repo not showing it says: no components/assets found in this repository. here is my pom.xml
1
vote
1 answer

Error occurred while executing a write operation to database 'component' due to limited free space on the disk (1759 MB)

I am getting database error while creating tasks in nexus repository management, in the logs it showing as follows. Error Log 2022-09-23 09:57:34,637+0000 ERROR [status-delayed-tasks-2-thread-1] *SYSTEM…
MADHU
  • 11
  • 4
1
vote
1 answer

Is there a way use SAML IDP with Sonatype nexus repository manager?

We want to migrate our old nexus to new one. bur in the new one I wanna use SAML Idp for authentication but not found anything about it. Is there a way to configure SAML Idp in nexus? And our nexus is not Pro version of course.
1
vote
0 answers

nexus 3: get more than 9999 artifacts

I'm querying all artifacts using the Nexus API "curl -u username:pw -X GET 'https://xxx.xxx/service/rest/v1/search?repository=xxx&group=xxx'" under a huge Nexus raw repository with more than 200000 artifacts. It works well with small directories,…
KOMAX233
  • 53
  • 7
1
vote
0 answers

How to resize default blob storage in Nexus Repository Manager OSS 3?

How can I increase the File Blob storage size? Or how to create a storage of a certain size, for example 200 GB? Thanks.
Magi
  • 111
  • 3
1
vote
1 answer

Tool for versioning parent and child

I have the next uses cases: Project parent v1.9 Child project 1 v1.3 (in .net) Child project 2 v1.6 (in c++) All child projects are in a repository in bitbucket. I need to find a tool where I can administrate these use cases. Any ideas??
Mario Villanueva
  • 327
  • 3
  • 10
1
vote
1 answer

Push Jar file instead of Zip using maven nexus

I am trying to push zip file using mvn deploy command. The command I am using is: mvn clean -s settings.xml \ package deploy:deploy-file \ -Dfile=${ARTIFACT_ID}-${VERSION}.zip \ -Durl=${NEXUSURL}/repository/maven-${PKGREPO} \ …
Chintamani
  • 1,076
  • 7
  • 23
  • 47
1
vote
1 answer

Unable to create auth in docker config.json inside Minikube: server gave HTTP reponse to HTTPS client

I am running a local Kubernetes cluster (Minikube) against an also local private registry (Nexus OSS) and I am having a difficult time configuring my Minikube cluster to work off of my private registry in my host machine. Basically I can push/pull…
Viriato
  • 2,981
  • 7
  • 40
  • 54