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

Getting Error while connection Nexus via docker host

I have configured Sonatype nexus in docker and trying to Docker login from other host while doing so getting the below error. docker login -u -p http://: Error saving credentials: error storing credentials - err: exit status 1, out: Error calling…
Senthila
  • 51
  • 1
  • 4
0
votes
1 answer

Docker - run provisioning script in Dockerfile

This is I want to achieve - please, don't ask me why :) I want to run container with two scripts (using Dockerfile): default one + additional script which will execute some operations on container after 1 minute. EDIT: This is service container so…
Wicia
  • 575
  • 3
  • 9
  • 28
0
votes
1 answer

How to use regex param in Nexus v3 groovy scripting

I need to get in my raw Nexus v3 repository every files that contains a '-' character Ive found how to use storageFacet to make some queries but I cant find how to use a regex with it: def repo =…
Ollie K.
  • 51
  • 6
0
votes
1 answer

how to build umbrella chart with exact dependency helm chart version in requirements.yaml file

We have Micro services application which has different helm charts for each MS, and there is umbrella chart which adds all these charts and create an integrated chart for simple deployment purpose, we use Nexus3 as a helm repo. In umbrella chart…
0
votes
0 answers

Phantom Nexus Group

I have group in my maven-releases repository with no artifacts in it. I have tried everything I could think of to delete it but my attempts have failed. I am using Nexus OSS 3. Can anyone tell me how I can delete the group?
rohitsan
  • 1,001
  • 8
  • 31
0
votes
2 answers

Docker - Connecting to localhost - connection refused

This is my Dockerfile: FROM sonatype/nexus3:latest COPY ./scripts/ /bin/scripts/ RUN curl -u admin:admin123 -X GET 'http://localhost:8081/service/rest/v1/repositories' After running build: docker build -t test./ The input is: (7) Failed connect to…
Wicia
  • 575
  • 3
  • 9
  • 28
0
votes
0 answers

Nexus - storage folder missing

Basically we already had a nexus server configured but now we do not have access to that server for some reason. Now, I have the repository folder which contains all the dependency I will require to upload it in new nexus server. So, for this I can…
Hiren
  • 1,427
  • 1
  • 18
  • 35
0
votes
1 answer

Init Eclipse Che pulling images from a Nexus group repository to docker hub

I'm trying to deploy a Eclipse Che multiuser server using Docker Enterprise Edition 2.0. The Docker EE server is NOT exposed to internet and Docker Hub access is proxed by a Nexus Repository server (nexq.xxxx.it). I'm looking for a -e parameter to…
carloreggiani
  • 331
  • 1
  • 9
0
votes
1 answer

default attributes override for nexus_api in chef cookbook fail to update values

I'm writing a wrapper cookbook for nexus3 wherein I override the default attributes like so in the attributes/default.rb file of my cookbook # Nexus Options node.default['nexus3']['properties_variables'] = { port: '8383', host: '0.0.0.0', args:…
Anadi Misra
  • 1,925
  • 4
  • 39
  • 68
0
votes
0 answers

Maven repository directory structure on nexus3

My team has a process that builds and uploads artifacts to nexus2 repository. I am working on moving this process to upload to a nexus3 repository. we don't have control of either of the nexus repository settings and its at enterprise level. In the…
mediumpike
  • 33
  • 7
0
votes
0 answers

Error injecting constructor, java.lang.NoSuchFieldError: CN

I have installed nexus repository ( nexus-3.0.2-02 ) in a red hat machine. In nexus startup it gives the following error. 1) Error injecting constructor, java.lang.NoSuchFieldError: CN at…
Shalika
  • 1,457
  • 2
  • 19
  • 38
0
votes
1 answer

Creating a full replica/offline copy of the public pypi repository

Nexus Repository Manager OSS 3.9.0-01. I wish to create a 'proxy' Nexus repository that will a replica of the public pypi repository. The other machines can then be configured to point to this Nexus repo. so that a 'pip install' on these machines…
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
0
votes
1 answer

Nexus3 docker different repo for different env, such as dev, prod

Sir, May I ask a question, if I want to setup multiple separate repos for different env, such as dev, prod for different repo to avoid unstable image to be used in prod version. does that means I have to use different port for different repos? Such…
0
votes
1 answer

bower register not hosting package source to Nexus

I have few dependencies in angular.js application that needs vpn to access them, I have to run my application through docker container and I don't want to install vpn inside of container. I found way to host that dependencies on Nexus Repository…
Arkadi
  • 1,153
  • 1
  • 14
  • 35
0
votes
1 answer

Prevent from uploading older version of a GAV to a nexus repository

Is there a way to ensure that only newer versions of an artifact are uploaded to a nexus repository? I see there is an option to not allow redeploying an artifact but I am looking for a way to prevent an older version from getting uploaded.
Vikdor
  • 23,934
  • 10
  • 61
  • 84