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
5
votes
3 answers

yarn not working with nexus 3 npm proxy repository

I have set up a Nexus 3 Manager to host private npm packages. The nexus contains three npm repositories, one hosted, one proxy and one group to combine the other two. The npm bearer realm if activated and i am using a nexus user with admin role for…
Ka.I.Z
  • 155
  • 1
  • 3
  • 10
5
votes
3 answers

Why is docker-compose creating volume in random path instead of the path I specified in docker-compose.yml?

I am trying to store nexus data in persistent volume. To do that I am using this compose yaml: version: '3.5' services: nexus: image: sonatype/nexus3 volumes: - ./nexus-data:/nexus-data sonatype/nexus3 ports: -…
kadir
  • 589
  • 1
  • 7
  • 29
5
votes
1 answer

Nexus 3 Repository Manager Create (Or Run Pre-generated) Task Without Using User Interface

This question arose when I was trying to reboot my Nexus3 container on a weekly schedule and connect to an S3 bucket I have. I have my container set up to connect to the S3 bucket just fine (it creates a new [A-Z,0-9]-metrics.properties file each…
5
votes
3 answers

Sonatype Nexus - Can I manually compact blob store?

My disk is full on my CENTOS7 box. There is nothing to delete to free up some space securely without the risk of corrupting something. Since the disk is full, OrientDB has switched to read-only mode so I can't create a Compact Blob Store task to…
honor
  • 7,378
  • 10
  • 48
  • 76
5
votes
1 answer

Nexus 3 Compact blob store task does not remove images physically

We were deleting old docker images with keeping last 10 of them. We tried Compact blob store task to delete them physically but on the administration/Repository settings, Blob store still shows the same size after deleting images. This is the…
mgurcan
  • 170
  • 1
  • 12
5
votes
1 answer

Push to Nexus 3 NuGet-repository from Jenkins CI without being asked for credentials

This is driving me nuts. I have installed Nexus 3 OSS to use as a private NuGet-repository and created a user foe jenkins. I got an ApiKey for the jenkins user the way the documentation shows and now I try to push my packages to the repo with nuget…
Frank
  • 2,036
  • 1
  • 20
  • 32
5
votes
3 answers

Nexus 3 backup via command line?

In Nexus 3 backup procedure has changed. In Nexus 2 recommended was to run a OS scheduled task / cron job to rsync some directories to a backup location. In Nexus 3 the recommended way seems to be to create to schedule a predefined Nexus Task…
onknows
  • 6,151
  • 12
  • 65
  • 109
5
votes
1 answer

Exceptions on search, register and install on PyPI hosted repos

Nexus OSS 3.7.1-02 running on RHEL7, Python 2.7.5/3.4, twine version 1.9.1 (pkginfo: 1.4.1, requests: 2.8.1, setuptools: 28.8.0, requests-toolbelt: 0.8.0, tqdm: 4.19.5) I am an absolute beginner to Python and Nexus :) Hosting several PyPI…
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
5
votes
3 answers

Error while mounting host directory in Nexus Docker

I am using the following command to run my container docker run -d -p 9001:8081 --name nexus -v /Users/user.name/dockerVolume/nexus:/nexus-data sonatype/nexus3 Container starts and fail immediately. with the following logs mkdir: cannot create…
Anunay
  • 1,823
  • 2
  • 18
  • 25
5
votes
1 answer

How to upload a PyPI package to Nexus3

I am new to Nexus3, I am following the instruction here to upload a PyPI package (python v2.7): https://books.sonatype.com/nexus-book/3.0/reference/pypi.html However, I got the following message prevent me from uploading the the…
Chengzhi
  • 2,531
  • 2
  • 27
  • 41
5
votes
1 answer

Nexus 3 upgrade changed URls for maven repos

I ran the migration utility to upgrade our Nexus 2 (2.14) to Nexus 3.40-02. The Nexus 3 migration tool brought all the content from our 2.14 instance but subtly changed the URLs to all our Maven Repos. For instance…
JvmSd121
  • 351
  • 3
  • 17
5
votes
1 answer

How can I make maven-metadata.xml have the same timestamp as the artifact wen deployed with maven?

I have a Nexus 3 which I deploy some artifacts from Jenkins with "mvn deploy". I have A LOT of modules 500+. The build looks kind of like this: mvn clean package -DskipTests -DskipITs -T C1 mvn install -DskipTests -DskipITs -T C1 mvn deploy…
ddreian
  • 1,766
  • 5
  • 21
  • 29
5
votes
3 answers

What are "sufficient access rights to run the Nexus service" (as nexus user on Linux)

What are "sufficient access rights to run the Nexus service" (as nexus user on Linux) Nexus3 Documentation https://books.sonatype.com/nexus-book/reference3/install.html#configure-service say Then create a nexus user with sufficient access rights…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
5
votes
0 answers

Nexus 3.1 as a docker proxy for DockerHub seems to require authentication but how?

I'm using Docker Toolbox 1.12.3 on Windows 7. I've configured Nexus OSS 3.1.0-04 to have a Docker Proxy repository to connect to DockerHub. When I try to run docker run 192.168.161.103:10001/hello-world I get image not found. When I look in the…
Matt Shaw
  • 51
  • 2
5
votes
5 answers

Error response from daemon: Unexpected status code 404

I am configuring docker registry on nexus 3 configuration. I Am running nexus behind apache and has https enabled. On command line, when I do a docker search, I get the below error: docker search my.nexus.net/ubantu Error response from daemon:…
stara
  • 153
  • 1
  • 2
  • 10
1 2
3
35 36