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

Upgrading nexus repository manager to 3.48.0

We are planning to upgrade our production nexus repository manager version from 3.22.1-02 to 3.48.0. Questions: Can we directly upgrade the nexus version up to 3.48.0 from nexus 3.22.1.2 If there is any impact on this upgrade which is the most…
Michael
  • 69
  • 6
0
votes
0 answers

Download all artifacts from a nexus Repository

As I don't have Nexus Pro, I can't download all artifacts out of the box. Any of you know a process or script to download all artifacts from a repository, to import in another instance? Thanks a lot. I tried a few scripts but I can't figured it out…
0
votes
0 answers

How to use with REST API curl to query blob count of a gitlfs component

Are there examples on how to query Nexus OSS Repo Manager the blob count of a gitlfs component ? the blob count of a Blob Store ? We find the API section insufficient Thank you
chz
  • 355
  • 1
  • 7
  • 21
0
votes
1 answer

Docker compose with private local maven repository: Connection refused

I have a docker file that allows me to build a springboot project. FROM eclipse-temurin:17-jdk-jammy as builder RUN addgroup installergroup; adduser --ingroup installergroup --disabled-password installer USER installer WORKDIR /opt/app # note we…
davidvera
  • 1,292
  • 2
  • 24
  • 55
0
votes
0 answers

Docker manifest missing layer size

We are using Sonatype Nexus as registry to host our docker images. The manifests of all our recently built/pushed images have some layers with missing size attributes (see example). We checked the referred files in the blob-storage, they are all…
Sascha b
  • 1
  • 1
0
votes
1 answer

Upgrade of OSS Nexus Repository Manager from 3.29.2 to 3.48.0 fails on exception during index creation

I am trying to upgrade Nexus from version 3.29.2 to 3.48.0. For deployment of Nexus we use Official Docker container (originally 3.29.2; target version 3.48.0). Environment i test it on is: OS: Ubuntu 22.04.2 LTS (Jammy Jellyfish) Docker:…
Jakub P
  • 11
  • 2
0
votes
0 answers

Sonatype Nexus as proxy for a npm hosted repository in Google Artifact Registry (GAR)

I'm trying to configure a proxy repository in Sonatype Nexus, to proxy packages that exist in a hosted npm repository in Google Artifact Registry. My current outcome is that I get these 403 in my Nexus logs and of course, I'm unable to install the…
carrotcakeslayer
  • 809
  • 2
  • 9
  • 33
0
votes
0 answers

Upgrade/Nexus Migration errors

I am trying to migrate nexus from one nexus instance to another. Current instance version "Sonatype Nexus Repository Manager - OSS 3.22.0-02" installed on "Ubuntu 16.04.7 LTS" which is not supported any more in AWS, need to migrate this to a new…
Pavan
  • 1
0
votes
0 answers

add "jar-with-dependencies" as dependency in maven dosent download all jars

Currently i am uploading a jar to nexus repository, its a "jar with dependencies" (jwd). Now when i try to use this jwd as dependency in my other maven project, it searches for the specified dependency in jwd inside m2. So there are 2 jars…
Ankit Ostwal
  • 1,033
  • 3
  • 14
  • 32
0
votes
0 answers

Upload gradle cached artifacts to Nexus repository

I want to upload all of the cached dependency artifacts of my android project to Nexus Repository using gradle. Cached artifacts are in this path in windows: C:\Users\\.gradle\caches\modules-2\files-2.1 Here is my gradle configuration in…
Squti
  • 4,171
  • 3
  • 10
  • 21
0
votes
1 answer

In nexus3 how can I find out what consumes space in a blobstore (apart from the sum of assets)?

I have a question quite similar to this one on a more abstract level: Via API I get a blobstore size (totalSizeInBytes) and a left free space value (availableSpaceInBytes) of resulting in roughly 566gb of used space. Iterating over all repositories…
frans
  • 8,868
  • 11
  • 58
  • 132
0
votes
1 answer

filters are not working on nexus3 extended choice paramter jenkins plugin

I am trying to fetch nexus latest builds as input paramters in jenkins,using nexus3 extended choice parameter for it, my repository is raw repository hence does not contain groupid and artifactid. I am able to fetch latest builds but only when I add…
0
votes
0 answers

Cannot login to local nexus repository with docker

I'm running the nexus repository as a docker container in my local network [192.168.0.100:8081] Step 1. Create a new docker-hosted repository. In the repository, settings assign a new port in the HTTP field [8083] Step 2. Create…
0
votes
0 answers

Not able to import classes from jar (already downloaded) using custom maven nexus repository

I am able to successfully upload my jar to custom nexus repository. Now when i try to use this jar as dependency in another project, i see its downloaded but not able to import classes from it. As i type the name of class, it gives suggestion but as…
Ankit Ostwal
  • 1,033
  • 3
  • 14
  • 32
0
votes
0 answers

npm login to nexus3

I tried every post on googles first 2 pages and always get this error. This is my code that I use: TOKEN=$(curl -s \ -H "Accept: application/json" \ -H "Content-Type:application/json" \ -X PUT --data '{"name": "'${DEPLOY_USER}'", "password":…
axi92
  • 1