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

How to Find Groupid and Artifactid in Nexus3 OSS?

I am new to Nexus3 Artifact & I am trying to pull Docker image from nexus using ansible-playbook. For reference here I am adding ansible script: - name: Pull Docker image maven_artifact: group_id: ubuntu artifact_id: ubuntu …
0
votes
0 answers

Nexus 3 API lacks for maven group update

I am using Nexus 3 Beta REST API, but I discovered that it lacks for the /beta/repositories/maven/group/{repo-group-name} !!! Nor the Groovy API offers such kind of method. Does anybody know as solution for that issue?
Antonio Petricca
  • 8,891
  • 5
  • 36
  • 74
0
votes
1 answer

nexus as a docker repository

Do you have a solution to the docker insecure repo! http response instead of https! I'm getting this upon trying to post to the docker repo on nexus, (v = nexus-3.22.0-02) Docker-details: Version: 19.03.6 API version: 1.40 Go…
morawi
  • 1
0
votes
1 answer

What is the right way to upload CentOS packages to Nexus 3?

I uploaded CentOS-8.1 AppStream and BaseOS packages to Nexus-3 with curl. When I try to install httpd using Nexus-3 yum repository, it gives me "Package httpd-2.4.37 requires mod_httpd2 but none of providers can be installed." First I thought…
Serhat P.
  • 31
  • 8
0
votes
1 answer

Nexus3 and S3 bucket do not mirror each other's artifacts (in synch)

We have fired up a dockerized Nexus3 and map our S3 bucket (s3 Blobstore) Scenario: User uploaded a jar file in customed Host Maven 2 repo that we have created e.g. sample-maven-repository. User was able to upload the jar file and the content…
Yejin
  • 541
  • 2
  • 15
  • 32
0
votes
0 answers

Backup Nexus Login, LDAP config and artifacts uploaded

I have fired up a nexus3 in ec2 instance (dockerized) with changes: LDAP Mapping config, roles and realms S3 Blobstore mapping Custom repository mapping Admin username and password I have an ebs for its volume. But after we terminated and start up…
Yejin
  • 541
  • 2
  • 15
  • 32
0
votes
0 answers

Fetch latest snapshot asset by Nexus Repository API

I'm using Nexus API to fetch snapshots versions, and I'm looking for a way to get the asset of the latest snapshot record. But I couldn't find it in the API documentation…
zb22
  • 3,126
  • 3
  • 19
  • 34
0
votes
1 answer

Sonatype Nexus: Disable showing of the uploads ip

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? https://i.stack.imgur.com/Jyqxt.png Yes,…
Jasper Smit
  • 11
  • 1
  • 2
0
votes
1 answer

How can I associate an Routing Rule to a proxy repository on Nexus OSS via Groovy?

I’ve been able to create, using the Nexus groovy scripts, more specifically associating a Routing Rule to and existing repository. It’s pretty easy to create one; such code evaluated fine from Groovy: RoutingRule routingRule = new…
0
votes
1 answer

If I have the same package name in Nexus private repo as it is in the npm publish repo, which one takes priority when I install?

I am setting up nexus npm repository, and created npm-group = npm-private+npm-registry (proxy to npm offical registry). It comes to me thinking that if I publish my own package and name it say "jest" to my private repo, what happens if I do npm…
void
  • 345
  • 3
  • 13
0
votes
1 answer

Can Nexus Repository Pro check container root priviligies etc

Looking into Nexus Repository Pro to be used as Docker container image registry. As I understand it can do vulnerability scanning but can it also can check if containers runs under root user? Is it possible to validate with such rule? Is it also…
4integration
  • 193
  • 1
  • 3
  • 13
0
votes
1 answer

Nexus scripts doesn't return valid JSON

Context: I'm using the nexus scripting API to return some data. For some reason, returned data isn't JSON compliant. I am on nexus PRO 3.20.1-01. I'm not sure if this is a problem with Nexus or my script. Here is a testable Groovy sample,…
Asoub
  • 2,273
  • 1
  • 20
  • 33
0
votes
0 answers

How can i do login at sonattype nexus3 by line command

I have a VM with Nexus3 running on it. I already config a yum-proxy repository. In another VM I want to run yum update by nexus proxy. If i put my username and password at my /etc/yum.repos.d/nexus.repo everything is going well. But i don't like to…
Jhonatan Morais
  • 169
  • 1
  • 14
0
votes
0 answers

Docker push image to Nexus gives invalid checksum digest format error

I'm trying to push images from Docker Desktop from Windows machine as Linux containers to Nexus system in Linux system. When I tried to push Docker images gives error as: invalid checksum digest format It's my first time using Nexus repository for…
0
votes
1 answer

How to create custom dockerfile using nexus-blobstore-google-cloud?

Can anyone please share Docker file or repository that creates an image on which Cloud Storage plugin is already installed? Nexus plugin to write data into Cloud Storage?