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
2
votes
1 answer

find corresponding docker images of docker layers

We are using nexus oss 3.13 as a private docker registry. During development due to misconfiguration, some images/layers can get extremly big. Currently we have a nexus groovy script which generates a report of the biggest files (==layer), but…
bulle
  • 51
  • 5
2
votes
1 answer

Uploading maven artifacts to Nexus 3.13.0 very slow and fails occassionally

I have a nexus3 oss (3.13.0) docker container deployed in aws backed with a s3 blobstore. Our ci jobs are continuously uploading artifacts to this repo and worked just fine. However, off late uploading maven artifacts takes a long time and in some…
Nemo
  • 21
  • 4
2
votes
0 answers

Cant connect to Nexus Repository Manager with Jenkins Plugin

I want to upload my generated artifacts (.zip) to my Nexus Repository Manager (nexus3). Therefore I downloadede the Nexus Repository Manager Pluginfor my Jenkins instance. With confige System -> Nexus Repository Manager Servers I am able to…
Rod Kimble
  • 1,302
  • 3
  • 18
  • 44
2
votes
1 answer

pulling artifacts from a second nexus

I have 2 artifact repositories in a close environment. One is used for developers to download artifacts and the second to pull artifacts from the outside world. Every time that a user wants to download a new artifact that are not presented in the…
soninob
  • 428
  • 11
  • 22
2
votes
2 answers

Read only error when creating a mounting a PVC in IBM Cloud Kubernetes

I'm trying to deploy Nexus3 as a Kubernetes pod in IBM Cloud service. I am getting this error, probably because the PVC is mounted as read only for that user. I have had this problem other times in Postgres for example but I can't recall how to…
icordoba
  • 1,834
  • 2
  • 33
  • 60
2
votes
2 answers

Upload JHipster app to Nexus Repository 3 does not work

When I try to deploy a JHipster application via Maven deploy plugin to Nexus I get the following error. Failed to execute goal org.apache.maven.plugins:maven-deploy-plugin:2.7:deploy (default-deploy) on project profiletoolservice: Failed to deploy…
2
votes
0 answers

Nexus OSS 3: Avoid download of specific artifacts

this might be similar to this SO question, but might not. I want to avoid that ANY remote repository (called proxy repository in Nexus) will ever try to download an artifact starting with my.company. I tried using Content selectors, but no luck; it…
Benjamin Marwell
  • 1,173
  • 1
  • 13
  • 36
2
votes
1 answer

Is it possible to deploy artifacts from local folder in Sonatype Nexus Repository Manager 3.x

I use Sonatype Nexus Repository Manager 3.5.2 and want to add artifacts to nexus blob store from local folder (where nexus is lockated). I couldn't find solution in Nexus documentation and tryed to find in the Net - unsuccessfully. Is it possible…
kozmo
  • 4,024
  • 3
  • 30
  • 48
2
votes
1 answer

How to install CA certificate on Nexus 3?

I have installed Nexus Repository Manager OSS 3.0.2-02 on my CentOS Linux release 7.4.1708. Also I have CA certificate: Issued to: \*.mycompany.com Issued by: Go Daddy Secure Certificate Authority - G2 Valid from 2016-11-12 to 2018-01-11 The…
2
votes
2 answers

Publishing @progress/kendo-ui to nexus 3..5.1 npm pkg repository

We've migrated from Nexus 3.01.01 to 3.5.1-02. In the process we had to migrate internally published npms. One of those is the kendo-ui (commercial one) from Telerik/Progress. We have downloaded the licensed copy from Telerik and publishing it to…
Uchitha
  • 998
  • 8
  • 24
2
votes
1 answer

Is the timestamp of Maven SNAPSHOTs of the same form in all repositories?

We use Nexus 2, which assigns a timestamp to every SNAPSHOT jar. This timestamp can be used to address the specific jar. We are thinking about moving to Nexus 3 or Artifactory in the future. I wonder whether the timestamp format is a Maven standard…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
2
votes
2 answers

groovy script to delete artifacts on nexus 3 (not nexus 2)

i have nexus 3 server that i save artifacts on it, and it has been filled to max. i wish to create a task to delete the old artifacts every day but always remain with at least 50 artifacts. the problem is that the default task that should do it,…
Ori Wiesel
  • 488
  • 2
  • 8
  • 26
2
votes
2 answers

Cannot start Sonatype Nexus3 service when running docker Windows image

I'm new to docker and I'm trying to get Nexus3 running in a windows container. My machine is running Windows 10 and I'm using: Docker CE Version 17.03.1-ce-win12 (12058) Channel: stable d1db126 I have the following DockerFile content. FROM…
DelboyJay
  • 2,799
  • 1
  • 13
  • 18
2
votes
2 answers

Classname Search in Nexus 3

The "Classname Search" seems to be not available in Nexus 3 and will not according to https://issues.sonatype.org/browse/NEXUS-6811, isn't it? So I tried to search for a classname with maven-indexer and my local Nexus 3. However, it does not return…
Max
  • 21
  • 4
2
votes
1 answer

Is Nexus Repository 3 blob store setup necessary?

I am configuring Nexus Repository 3 and I have currently created two different blob stores: default and docker. default is composed of maven and NuGet. docker is composed of docker (obviously). Are there any advantages of storing the repositories…
Chris Bolton
  • 2,162
  • 4
  • 36
  • 75