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

What's the proper way to publish an electron app into Nexus

I have an electron app that needs to run on multiple architectures. I use electron-packager to make a distribution folder. I originally tried to npm publish this folder to a nexus repo. npm publish strips the node_modules out of the built app which…
1
vote
1 answer

Received fatal alert: protocol_version

I have the problem that when I build the project at my place no errors occur. However, when I do this through my configured GitHub workflow, the following error occurs: Execution failed for task ':network-protocol:compileKotlin'. > Could not resolve…
Jerome Wolff
  • 356
  • 3
  • 19
1
vote
0 answers

Incorrect docker manifest generated

I'm building my project as a docker image and pushing it to an on-premise Nexus repository. The trouble is that sometimes the image is pushed with the wrong manifest version. If everything goes right the manifest should…
atoMerz
  • 7,534
  • 16
  • 61
  • 101
1
vote
0 answers

how to push docker images to nexus3 repository without the usage of docker commands?

Can anybody please let me know on how to push docker images to nexus3 repository (where i have hosted a docker repo) without the usage of docker commands ? I believe we can use curl command but i would want to know the full syntax of curl command …
1
vote
0 answers

How to access a particular Maven repository from a project in GitLab?

I have different projects in GitLab and every project should have its own Maven repository (-releases) in Nexus Repository Manager 3, like GitLab Maven Repository: With the GitLab Maven Repository, every project can have its own space to…
dur
  • 15,689
  • 25
  • 79
  • 125
1
vote
0 answers

private nexus npm proxy registry and tarball location

We are using Nexus as our artifact repository in a corporate build environment. We have proxy repositories/registries configured for things like maven, nuget, and npm. Our jenkins build servers only have access to our local intranet, so they pull…
erbrecht
  • 46
  • 5
1
vote
0 answers

Getting Users in the Sonatype Nexus

I am trying to implement additional functionality for Nexus that will allow users to create commands and manage their rights, as well as their personal ones. I implemented this functionality by modifying the ExtJS UI and writing Groovy scripts. Now…
Nikolai
  • 11
  • 1
1
vote
1 answer

Retrieve file information of Nexus via REST

I am using the Sonatype Nexus Repository OSS 3.18.1-01 and I am trying to find a way to access meta file information via the REST API. As far as I can see, the documentation states that the Rest API has a variety of different calls, but file size,…
HelloWorld
  • 2,392
  • 3
  • 31
  • 68
1
vote
1 answer

Docker unable to login to Nexus docker registry (hosted)

I have configured the Docker registry (hosted) in the nexus server https://nexus.mycompany.com and have enabled the HTTP connector port on 8083. I am unable to push images to the Docker repository from my Jenkins server. I have added nexus server in…
Mano
  • 51
  • 1
  • 10
1
vote
1 answer

Nexus Content Selector to download only specific path

I am new to nexus. I have a requirement to create a privilege/role to be added to a specific use who can only download artifacts from our nexus repository. I have 2 jars below which are both present in our maven-custom-repository. For example: I…
Yejin
  • 541
  • 2
  • 15
  • 32
1
vote
1 answer

mvn package command throwing "error 401 Unauthorized "

I have configured nexus Remote Repository as central Repository. My settings.xml looks like below nexus central http://10.220.110.10:8081/repository/halosys-group/
iamarunk
  • 109
  • 2
  • 16
1
vote
1 answer

Nexus version Upgrade from 3.20.1 to 3.22.1-02

After upgrading nexus version up to 3.22.1-02 some users have informed that some of old libraries in pypi proxy repository get deleted.Do you have any idea about this issue.
Michael
  • 69
  • 6
1
vote
1 answer

How can I enable directory listing for a nexus3 raw repository?

In the past I was able to view the contents of my raw repository to which I upload my javadoc sites (through dav:http:// using mvn site-deploy): e.g. Accessing from the browser: http://myserver/nexus/content/sites/my-raw-repository/ would list the…
Marinos An
  • 9,481
  • 6
  • 63
  • 96
1
vote
2 answers

How to list all component in Nexus repository with API?

I use RAW format repository in my Nexus called myrepo. I upload files such as .tar.gz, zip, exe ...etc. In this repository I've many sub-folders and files and now I want to list all of the files with API. I use this execution, generated by Nexus…
airdata
  • 577
  • 1
  • 7
  • 23
1
vote
1 answer

Nexus nx-usertoken-current privilege and User token Missing in 3.20.1-01

I am using nexus repository Manager 3.20.1-01 version and i need to enable User token option to generate token.How can i enable this feature. NOTE: I have identified that nx-usertoken-current privilege is missing in my application.
Michael
  • 69
  • 6