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

Nexus service getting stopped immediately 2

Literally. It appears that there are already many people with similar problems. Maybe a question similar to my problem. But I don't find a solution yet, so I write it in detail. I installed nexus on the Centos7 server as described in tutorial. The…
0
votes
1 answer

nexus repo path change

I have a repository in nexus as release. We generate artifacts using jenkins and maven and the artifacts live and staging both get deployed to release --> com --> content folder. What i want is that live artifacts should go in release --> com -->…
0
votes
0 answers

Sonatype Nexus 3 get last updated/uploaded artifact

I have such maven-metadata.xml file…
0
votes
1 answer

Spinnaker Nexus Integration

I'm facing issue while integrating spinnaker with Nexus. Basically, here is my process - Building docker image using Jenkins and uploading to Nexus. Next, want to trigger spinnaker pipelines based on new image available on Nexus to deploy apps on…
Jaydeep Soni
  • 488
  • 1
  • 8
  • 19
0
votes
2 answers

When I login to Docker Nexus 3 private registry, I get 404 error

I am working in a closed environment, and I need to login to a private Nexus3 registry. I have setup the daemon.json with the insecure-registries option. I can ping the server, telnet the port and curl the endpoint. I can login to Nexus3 UI with…
MTh
  • 13
  • 6
0
votes
0 answers

Move Old Artefacts from one nexus repository to Another Nexus repository

How to migrate the Artefacts which are older than 90 days to another nexus server? I can able to delete the artefacts older than 90 days from Nexus3, but the requirement is to take backup of old artefacts to another nexus
user2439278
  • 1,222
  • 7
  • 41
  • 75
0
votes
1 answer

Sonatype nexus wont download dependency artificats

I have a sonatype nexus 3.19.01 setup with maven-proxy repository. We are behind corp proxy and I think thats the issue. I have proxy configured and it is working because some of the artificats are downloaded For eg : I used this repo : Github…
VVP
  • 766
  • 4
  • 14
  • 39
0
votes
1 answer

Upload pom file to Nexus 3 and get error 'The provided POM file is invalid'

Using following command(curl component API) to upload a pom file to Nexus 3 server. curl -v -u account:password -X POST 'http://local_repo_address/service/rest/v1/components?repository='$repo -F maven2.groupId=$groupId -F…
Puffy
  • 30
  • 6
0
votes
0 answers

Could not find artifact in NexusRepository (Using Maven Proxy repository)

We are behind corp proxy. I have installed Sonatype Nexus repository manager. Tried to setup npm and maven proxy repositories following this link Maven and NPM Proxy repositories . NPM proxy setup worked well and test projects passed. But getting…
VVP
  • 766
  • 4
  • 14
  • 39
0
votes
0 answers

'Default Admin password' change for nexus USING ansible playbook

So far I have installed the nexus using playbook, I am able to create user, role and permissions all using playbook. I am also able to create repositories and delete the repositories. Now I am trying for 'default admin password change' for the admin…
Jagdish0886
  • 343
  • 1
  • 5
  • 20
0
votes
1 answer

How to delete unused artifacts and rebuild index in sonatype nexus3 using java?

When I am deleting the artifacts from Nexus3 repository, few of the manifest file is still pending in the repository. These are not being deleted completely from the nexus3. However few suggestions that I got is to "rebuild index". How to rebuild…
0
votes
1 answer

Upload nuget packages to nexus from Windows's CMD commands

I'm trying to upload nuget package to nexus from CMD on Windows. There is this command to upload file: curl -v -u ${NEXUS_USERNAME}:${NEXUS_PASSWORD} --upload-file ${UPLOAD_FILE}…
0
votes
1 answer

helm hosted repo via CLI

I installed the helm repo plugin for nexus3 Now I want to create the helm hosted repo via RestAPI command, in the same way as I do for raw repository # RAW Repository curl -X POST "${NEXUS_URL}/service/rest/v1/script" \ --user "admin:admin123"…
Shurik
  • 562
  • 1
  • 7
  • 19
0
votes
1 answer

Nexus repository manager, disable summary view on package

Is there a way to disable the Summary view for anonymous users when browsing packages? I want to hide this section: Is there a way to achieve this? The repository-read permission allows this section to be displayed.
Devxln
  • 556
  • 6
  • 18
0
votes
1 answer

Can't do a proxy for an npm repository in Cloudsmith with Nexus 3

I want to configure a proxy with Nexus for a private repository in cloudsmith.io. When I configure the proxy with the public npm registry everything works good, but when I configure the proxy with the Cloudsmith repository the command npm install…
aslheyrr
  • 372
  • 1
  • 4
  • 15