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

Is there any ways we can update talend patch from Talend Studio?

I am using Nexus repository for new updates of talend and i have new updates But i dont think that updates are getting reflected in my Talend Studio 7.1 I am facing Certificate expiration issue which is resolved in talend patch and i have that patch…
AkashWagh
  • 55
  • 5
1
vote
1 answer

Gradle error when deploying to Nexus Repository

Today, I have been migrating some Java plugins using maven to gradle. The plugins do successfully build properly however, I am having trouble automatically deploying them to our nexus. What I am trying to is upload my Java jar file automatically to…
SkylixMC
  • 132
  • 1
  • 2
  • 8
1
vote
0 answers

How to get created time for package in nexus through api

I use nexus to store my java artifacts using for my projects. Now I want to find any packages which is create after specific date. I followed nexus api document: https://help.sonatype.com/repomanager3/rest-and-integration-api. But it doesn't help…
1
vote
1 answer

How to pull a Docker image from an authenticated registry to a specific repository in ECR using Bamboo?

I have a task that I need to pull a Docker image from authenticated custom registry (Nexus3) to a specific repository in ECR using Bamboo. Anyone has an idea how to do? What are the flows? I have already got AWS ECR variables injecting and…
Low Tech
  • 41
  • 1
  • 4
1
vote
1 answer

How do I import org.sonatype.nexus.repository.Repository

We are running Nexus:3.29.2 and I want to add a groovy script to a Admin-Execute task. To start I am attempting to execute the following sample script: import org.sonatype.nexus.repository.Repository repository.repositoryManager.browse().each {…
Bob C.
  • 141
  • 2
  • 15
1
vote
2 answers

Jenkins pipeline fails for docker login to pull public image from dockerhub

With the below declarative pipeline code i am trying to pull an public image from dockerhub in jenkins however it fails with below error. pipeline { agent { docker { image 'ubuntu:latest' label…
1
vote
0 answers

Get latest version number from sonatype API for a Maven library

I am new to publishing library to Maven Central repo. I have pushed a library to Maven Central using the following configuration ossrh
user101
  • 139
  • 10
1
vote
1 answer

Download latest snapshot artifact from Nexus Repository Manager OSS 3.30.0-01using wget/curl command

I am facing difficulty downloading the latest snapshot version from Nexus Repository Manager OSS 3.30.0-01 using wget /curl the problem I am facing is that in nexus there are multiple version of artefacts within the same snapshot version…
gibyalex
  • 629
  • 3
  • 9
  • 19
1
vote
1 answer

nexus - unable to query xz extension on the rest api

I used to be able to query maven.extension=xz: http://nexus-server.com:8081/service/rest/v1/search/assets/download?&repository=maven-releases&maven.baseVersion=1.1.7&maven.groupId=com.xxx&maven.artifactId=xxx&maven.extension=xz After upgrading to…
Thiago Sayão
  • 2,197
  • 3
  • 27
  • 41
1
vote
0 answers

How to output Nexus3 logs in JSON format?

I'm have successfully deployed Nexus3 on openshift cluster via Nexus3 Helm Chart. In order to feed the nexus container logs in the EFK stack I want nexus container to output logs in JSON format. I'm unable to find some documentation to change the…
U. Ahmad
  • 76
  • 1
  • 11
1
vote
0 answers

Nexus OSS Docker proxy repository authentication required

When I docker pull mcr.microsoft.com/dotnet/aspnet in log admin org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: HEAD /v2/mcr.microsoft.com/dotnet/aspnet/manifests/latest: 401 -…
1
vote
1 answer

Nexusartifactuploader bulk upload multiple artifacts

I have close to 60 artifacts(jar) created from a project I want to upload it to nexus ,I have tried diff wildcards it failed. can I create a loop or is there a beter way to do this . below is snippet from my jenkins file nexusArtifactUploader…
Mano
  • 51
  • 1
  • 10
1
vote
1 answer

maven Failed to transfer jar file to nexus repository

I have a nexus installed on my server behind a Nginx reverse proxy. I created maven-snapshots and maven-releases repositories. Redeployment is allowed for both repositories. Version policies are Snapshot for maven-snapshots and Release for…
Ali Behzadian Nejad
  • 8,804
  • 8
  • 56
  • 106
1
vote
0 answers

Sonatype Nexus search api is very slow because of small page size

I have a code which keep fetch the following page until the continuation token is null. It's very slow because each call only return 50 items and there are many…
ca9163d9
  • 27,283
  • 64
  • 210
  • 413
1
vote
1 answer

Enable Docker Bearer Token Realm as generally outlined in Realms

As per the Nexus 3.x docx, "You also need to enable the Docker Bearer Token Realm as generally outlined in Realms. This realm is inactive by default" Does anyone know how to make this bearer token…
Aditya Malviya
  • 1,907
  • 1
  • 20
  • 25