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

Nexus OSS not starting after adding the R repository plug-in

Nexus OSS 3.7.1-02 running on RHEL 7. I am referring to the 'permanent install' section of the R plug-in. I added the entries in the nexus-oss-feature-3.7.1-02-features.xml:
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
1
vote
1 answer

Unable to proxy a private docker registry in Nexus

I'm trying to proxy our private docker registry and it cannot see the image everytime I access it via the proxy with the following error: /usr/bin/docker-current: pinging docker registry returned: error pinging repository, response code 404 The…
mit13
  • 129
  • 1
  • 9
1
vote
0 answers

Locked UI in Nexus3 manager (Sonatype)

I am using Nexus3 manager for NPM packages, While fixing some issue I accidentally made ** Nexus Authorizing Realm** inactive after that UI got stuck. Settings options are not visible to admin. Is there any way to modify Realm settings through…
superB
  • 288
  • 2
  • 13
1
vote
1 answer

How to install npm own local packages?

I have 2 projects(packages) in npm, I want to inject package_A as dependency to package_B. In package_A root folder, I run npm install -g, then npm install it to C:\Users\Myuser\AppData\Roaming\npm\node_moduls\package_A folder. Now in packages.json…
Morteza Malvandi
  • 1,656
  • 7
  • 30
  • 73
1
vote
1 answer

OSS Nexus 3 - link to the latest release artifact

I'm building artifacts by jenkins and uploading them to maven2 repo in OSS Nexus 3.6 by nexusArtifactUploader on every git commit. On tagged commit it's uploading as release with version mentioned in git tag; untagged commits are published as…
1
vote
1 answer

Sonatype Nexus 3 content selector by docker container name?

I can't seem to find the documentation on how to set a content selector by a docker container name. I tried to find all containers that have "_api" in the name: format == "docker" and name =~ "_api" which does not seem to work I also tried: format…
Theo
  • 2,262
  • 3
  • 23
  • 49
1
vote
2 answers

GKE: nexus disk not writable

I would like to run nexus3 within the Google Container Engine. I created a persistent disk and configured the following deployment file: apiVersion: apps/v1beta1 kind: Deployment metadata: name: nexus3 labels: app: nexus3 spec: replicas:…
reschifl
  • 377
  • 4
  • 13
1
vote
2 answers

Nexus 3.6 OSS Docker Hub Proxy - Can docker search but not docker pull

I've deployed Nexus OSS 3.6 and it's being served on http://server:8082/nexus I have configured a docker-hub proxy using the instructions in http://www.sonatype.org/nexus/2017/02/16/using-nexus-3-as-your-repository-part-3-docker-images/ and have…
1
vote
0 answers

Nexus 3.5.1 proxies from snapshot repo nothing but maven metadata files

I have upgraded nexus repository from 2.x to 3.x through following path: 2.4.14 -> 3.4.0 -> 3.5.1 All nexus services were packed in docker with data directory mapped from host's. For all services I use default either sonatype/nexus or…
Jacek
  • 11
  • 4
1
vote
0 answers

Nexus 3 docker proxy to a v1 proxy not working (using v2 api calls)

I have a Nexus 3 docker proxy repository created proxying an old v1 repository we have. No matter what I do, the nexus proxy is attempting to make /v2 api calls to the proxy. I have v1 support on the nexus 3 proxy enabled. The following is…
dopey
  • 95
  • 2
  • 9
1
vote
2 answers

Nexus 3 Upgrade broke maven deploy:deploy

After upgrading from Nexus 2.14 to Nexus 3.x (3.4.0-02), We now get 500 errors from our Maven jobs when we run deploy:deploy Failed to transfer file: https://nexus.foo.net/repository/snapshots/com/foo/foo-server/1.1.0-SNAPSHOT/maven-metadata.xml.…
JvmSd121
  • 351
  • 3
  • 17
1
vote
1 answer

How to create a docker proxy repo with gcr.io?

My settings: logs: 2017-07-18 01:49:01,592+0000 WARN [qtp330844155-323] admin org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: GET /v2/gcr.io/google-containers/addon-resizer/manifests/2.0: 403…
Sartner
  • 25
  • 2
  • 6
1
vote
1 answer

How to configure sbt to publish to private nexus maven repo?

[error] (*:publish) java.io.IOException: PUT operation to URL http://corporate.nexus:8081/repository/snapshots/service/local/staging/deploy/1.0/foo-1.0.pom failed with status code 503: Service Unavailable [error] Total time: 23 s, completed Jun 9,…
ShakyaS
  • 353
  • 1
  • 5
  • 20
1
vote
0 answers

Nexus3 Startup Error

Nexus OSS 3.x. I found this error on nexus.log upon startup. Any idea what's going on? This issue just pops out suddenly; never did any changes (unless the system did something automatically?). ERROR [FelixDispatchQueue] *SYSTEM…
David Lim
  • 11
  • 3
1
vote
2 answers

Unable to browse artifacts on Nexus Repository ManagerOSS 3.3.0-01

I have created a maven plugin, this is dependent on a series of JARS. i have uploaded these JARs and poms to the relevant location on the server under nexus-data/blobs/maven-thirdparty/{group-id}. when i run a task to "Rebuild Maven repository…
Wolver1ne
  • 125
  • 1
  • 11