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

Why is error 400 output on uploading a NuGet package to Nexus using Curl?

I try uploading a NuGet package to Nexus using Curl from command line, but I get the error 400. The package is not in the repository. ls -l azure.core.1.24.0.nupkg -rw-rw-r--. 1 ec2-user ec2-user 666796 Jun 8 11:58 azure.core.1.24.0.nupkg curl -v …
0
votes
1 answer

Nexus Repository Manager 3.x connection failed

Using Nexus Repository Manager 3.x Server for connecting Nexus 3. But the Test connection is failing with the below error. Nexus Repository Manager 3.x connection failed com.sonatype.nexus.api.repository.v3.impl.rest.NxrmResponseException: status…
PriyeshG
  • 1
  • 1
0
votes
1 answer

Nexus Jenkins Webhook Integration: Missing to trigger few webhooks

Background I have a Jenkins job that does the resigning of android and ios apps based on the files uploaded to the Nexus repository. I have 3 app versions for each android and ios. Using nexus repo level webhook triggering concept + Jenkins generic…
Vijay Reddy
  • 125
  • 2
  • 14
0
votes
1 answer

Nexus 3 Docker Content Selector selects too many images

I am using Nexus 3 as a docker repository and want to create a user that has only read-only access to a specific docker image (and its related tags) For this I created a Content Selector with the following query (The name of the image is test for…
purzel
  • 138
  • 2
  • 15
0
votes
1 answer

How do I use nexus proxy repository for springboot?

I have a springboot application with pom.xml as below specified. Normally, maven dependencies are downloaded by itself when specified but I want to fetch the dependencies from the proxy repository of nexus. I had created a new proxy repository…
0
votes
1 answer

active docker realms in nexus3 api

How can i active DockerToken realms in nexus 3.38? I use this URL but not work and docker realms is not activated. curl -XPUT -H "accept: application/json" -u admin:pass -d '{"id" : "DockerToken"}' …
pyramid13
  • 266
  • 1
  • 5
  • 21
0
votes
1 answer

Who should have the authority to upload Maven artifacts to the remote repository?

I'd like to know who should have the authority to upload artifacts to the organization's remote repository for maven artifacts. What should be considered as the best practice to follow: All developers should have the authority to use maven deploy…
0
votes
1 answer

Unable to get *.tar.gz files from Nexus Repository

I'm tring to install Maven Wrapper and get "Error installing the Maven Wrapper.: Server returned HTTP response code: 401" from my Nexus Repository. To reproduce the error I can just remove a local cache of Maven Wrapper and try to install it to an…
Denis
  • 1,167
  • 1
  • 10
  • 30
0
votes
1 answer

Download works with curl but not with Java program

I'm having trouble downloading an artifact from Nexus 3 with a Java program. It works fine with curl but not with this Java program. There might be some differences that make the download fail. This curl command works: curl -u user:password -k -L -X…
Sybuser
  • 735
  • 10
  • 27
0
votes
0 answers

unable to download dependencies from nexus repository

I am getting an exception when I try to download dependencies from maven repository in nexus when I run this command: mvn clean deploy here is the error: [ERROR] Failed to execute goal on project lg-logger: Could not resolve dependencies for…
Maurice Amar
  • 129
  • 1
  • 9
0
votes
1 answer

Peculiar Maven Repository Resolution Problem

I am facing a strange phenomena related to Maven repository resolution (Maven version: 3.8.4) which I am unable to explain. The matter is as follows: We have a internal Nexus proxy setup for Central Repository. The URL is…
Ironluca
  • 3,402
  • 4
  • 25
  • 32
0
votes
0 answers

Failed to deploy artifacts: could not find artifact npm

I am a new aspirant of Devops. Most of the blogs addressed related to "404 error Not found" are of maven projects. Can anyone explain how to resolve it for a react project? I am trying to deploy a react project onto nexus through ci…
Manu M
  • 57
  • 5
0
votes
0 answers

maven deploy:deploy-file fails with 405 not allowed

I'm trying to push a zipped bundle on nexus, which our hosted Nexus doesn't accept. We're building a release based on a git tag-name, e.g. 1.0.0 Maven command in our Jenkinsfile: ... steps { sh "mvn -pl distribution deploy:deploy-file…
ndueck
  • 713
  • 1
  • 8
  • 27
0
votes
1 answer

Getting Warning while pushing artifacts to Nexus server

My Nexus server got server disk space full. By removing some artifacts I could able to login to Nexus UI. But now I have another problem. I can't push artifacts to the Nexus server. When I check nexus logs I can see the below errors. 2022-01-19…
prime
  • 769
  • 1
  • 13
  • 27
0
votes
1 answer

Maven download Artifact form Nexus is endless

I have strange behavior with maven. During my build, the download of the json-smart metadata component (the only artifact that seems to be affected by this problem) loops without ever stopping. [INFO] Scanning for projects... [INFO] [INFO]…
Broshet
  • 133
  • 12