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
2 answers

docker-nexus3 ARM official support

Recently I've been trying to deploy Nexus Sonatype to ARM based device, but I get standard_init_linux.go:211: exec user process caused "exec format error". After a little bit googling I've found that it may be an architecture differences issue. I…
Tomasz Durda
  • 134
  • 1
  • 9
1
vote
0 answers

Problem migrating dockerized nexus 3.from different VMs

The problem is that i can't start Nexus 3.14 after migrating nexus-data folder from other MV. What should I do? The versions are the same. The docker command to start the container is: docker run -p 20001:8081 -u 0 -v /u01/nexus-data:/nexus-data…
1
vote
0 answers

Sonatype Nexus: Hide Uploader's IP Address

I'm using a hosted sonatype nexus for dependency distribution but I want to hide the IP address of my computer from being easily accessible from browsing the repository. How can I disable this being shown?…
1
vote
0 answers

How to form search url for nexus 3

We have migrated our Nexus repo from Version 2.x to 3.0. I have confusion on how to modify the nexus url now. Please help on this Nexus 2.x url: http://{NEXUS_URL}/nexus/service/local/lucene/search?g=com.test.furycom Please help what i need to…
1
vote
1 answer

Jenkins project version in Nexus Repository Manager Publisher plugin

This is my current working setup: I want to automate these variables: Is there a way to automate the version number in this build step? E.g. extract it from the root pom.xml? I already tried putting ${project.version} inside the version field, but…
Devxln
  • 556
  • 6
  • 18
1
vote
0 answers

Need docker registry URL for mcr.microsoft.com

In our org, we have to use Nexus as proxy for downloading docker images from internet as our servers won't have internet connectivity. I've setup proxy for Docker hub registry using URL "" I want to setup proxy for the new MCR (mcr.microsft.com)…
1
vote
1 answer

nexus configure initial repositories non-interactively

I would like to create a docker for our nexus instance with the correct repositories, proxies etc already created. Inspired by this question I started using the script API to configure my repositories. The repositories configured through this API…
Chris Maes
  • 35,025
  • 12
  • 111
  • 136
1
vote
0 answers

Search not working with nexus-repository conan

I have a nexus server which has conan plugin installed. I am able to connect to nexus remote using conan client. All the commands seem to work fine except for conan search. If I try to upload something it is working: conan upload…
Ankit Koirala
  • 354
  • 3
  • 13
1
vote
1 answer

What causes sonatype nexus 3 to go into read only mode?

Once in a while we get this error in our jenkins jobs: Failed to transfer file: creativeFileName Return code is: 503, ReasonPhrase: Nexus Repository Manager is in read-only mode. We got jobs sceduled at night when other nexus tasks as f.e. compact…
Frankenstein
  • 653
  • 9
  • 18
1
vote
1 answer

Cache issue with NPM publish and Nexus groups

We have the following setup in our Nexus (3.15.2-01) instance for NPM packages: npm-group (npm: group) ├── npm-private-repository (npm: proxy) └── npm-proxy-to-npmjs.com (npm: hosted) When we publish a NPM package to npmjs.com, it is not…
1
vote
1 answer

Change Nexus default data directory

How do I change Nexus OSS’s default data directory from /opt/sonartype to /data directory in Linux running on AWS? I have attached a larger volume and mounted it to /data directory so all Nexus repository data saves in /data location of Linux.
cloudify
  • 95
  • 4
  • 10
1
vote
0 answers

Migrate Nexus repository Data

We are upgrading Openshift Cluster from 3.6 to version 3.11. What is the best strategy to be followed to move the nexus repository data from version 3.6 to Openshift cluster 3.11. The data is stored in persistent volumes
P Ekambaram
  • 15,499
  • 7
  • 34
  • 59
1
vote
1 answer

Build on jenkins and sonatype maven giving me a bad request

When I try to build a maven artifact with Jenkins the build output says the following: I had already a bunch of successful builds on version 1.0. I'm using CentOS and Nexus 3 OSS.
tommyduarte
  • 41
  • 1
  • 5
1
vote
1 answer

Nexus in docker container how to configer another server as backup location in the tasks?

I'm setting up Nexus as artifact manager for maven projects. I am using Nexus 3 in a docker container and I am trying to set a weekly backup as a task in the configuration area of Nexus. Unfortunately I cant find anything in the Nexus documentation…
Sato
  • 11
  • 3
1
vote
1 answer

maven dependency snapshot version number is different from nexus snapshot version number by 1 second

We are using Maven as build manager and Nexus as our artifact repository. From time to time we are having this dependency problem and Maven is not able to find the artifact in Nexus by a slight difference in the snapshot version number. In this…
honor
  • 7,378
  • 10
  • 48
  • 76