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
2 answers

Nexus3 only downloads 50 in list

So I have a code that downloads the version nr of each nuget package but it all stops after 50 in list. I use jenkins with groovy code and get out a list of versions. import groovy.json.JsonSlurperClassic import groovy.json.JsonBuilder import…
Mikael
  • 173
  • 2
  • 12
0
votes
1 answer

How to force HSTS in Nexus 3

HSTS is not showing up as enabled in Nessus Scans on the port serving Nexus 3.16.1-02 Hello, First time posting - I'm trying to get HSTS enabled on Nexus OSS 3.16.1-02 From what I've read, this is enabled by default in the jetty-https.xml file for…
MCarrica
  • 21
  • 4
0
votes
1 answer

Nexus 3 | How to create (external) users using Nexus 3 APIs?

I'm trying to create external user on Nexus 3 using nexus 3 APIs. Following are the details: Posting Groovy Script using: http://localhost:8081/nexus3/service/rest/v1/script { "name": "d8b3baeb-628a-43cc-9a9c-9a156f399e2", "type": "groovy", …
Yashpal
  • 95
  • 4
  • 13
0
votes
1 answer

Unexpected exception: java.io.IOException: RESTEASY007550: Unable to get boundary for multipart

Using nexus-repository-apt plugin and trying to upload *.deb packages with curl according to this instructions: curl -u user:pass -X POST -H "Content-Type: multipart/form-data" --data-binary "@package.deb"…
fth
  • 2,478
  • 2
  • 30
  • 44
0
votes
0 answers

Unexpected package resolution behavior of npm group repository in nexus 3

We've setup a recommended setting which contains a npm_hosted for private packages, a npm_proxy for public ones, and a npm_group to group the two, just as the setting shown in…
Jack Lu
  • 139
  • 2
  • 12
0
votes
1 answer

TFS as a local Maven repository

I need to use TFS (now Azure DevOps) as the local repository manager for Maven artifacts in a corporate network where there is no access to internet. Currently we use Nexus where we get the artifacts downloaded externally and then get into the…
ShefZee
  • 95
  • 7
0
votes
1 answer

Nexus private docker pull image failing with x509: cannot validate certificate error

I have installed Nexus-3.15.2-01 on CentOS-7.6, Nginx reverse proxy and SSL self-signed certificate configured to access over Https. https access working fine over browser. Nexus Docker private repository https method activated. From my docker…
user4948798
  • 1,924
  • 4
  • 43
  • 89
0
votes
1 answer

Users cannot deploy to Nexus 3 using maven, only using the UI

I am writing instructions on how to set up Travis CI to deploy to our local Nexus 3 maven repository. I am testing my own instructions to make sure everything works. I have discovered that I cannot upload any artifacts using maven unless I use…
0
votes
3 answers

How to limit content selector by docker tag in Sonatype Nexus3?

How to only grant access to specific tags and specified namespaces in Sonatype Nexus3?
Theo
  • 2,262
  • 3
  • 23
  • 49
0
votes
1 answer

Get entire backup of Nexus OSS 3 of data and binaries

I have configured Nexus OSS 3 on Amazon Linux ec2 instance. I want to take periodical backup of database and store the backups in S3 bucket. In order to do that I mounted the S3 bucket on my Linux instance. I created a scheduled export task on Nexus…
cloudify
  • 95
  • 4
  • 10
0
votes
1 answer

Where to install plugins in Nexus 3

In Sonatype Nexus 2 plugins where installed in sonatype-work/nexus/plugin-repository Such a folder is no longer available in Nexus 3. Is it still possible to install plugins in Nexus 3? If it is still possible, where / how should plugins be…
onknows
  • 6,151
  • 12
  • 65
  • 109
0
votes
1 answer

How to use authentication with Nexus hosted Bower without plain text credentials

We have Bower hosted in a Nexus 3 repository. Our .bowerrc file looks like: { "directory": "bower_components", "registry": { "search": [ "https:///nexus/repository/bower/" ] }, "resolvers": […
David Masters
  • 8,069
  • 2
  • 44
  • 75
0
votes
1 answer

Nexus3 is active(exited) and not accessible

My Nexus3 was stuck due to out of space issue, i clean some directories(non-nexus) and started, its show status like below # service nexus status; ? nexus.service - LSB: nexus Loaded: loaded (/etc/init.d/nexus; generated) Active: active…
ImranRazaKhan
  • 1,955
  • 5
  • 33
  • 74
0
votes
0 answers

nexus-blobstore-google-cloud fails to create blobstore

I've successfully built and installed the Nexus blobstore-google-cloud plugin, taken from the latest versions in the master branch for that plugin in github. It's installed in Nexus 3.15.2, running on a GCP hosted VM. The service account associated…
0
votes
1 answer

How to override logback config in Sonatype Nexus 3?

I'm running Sonatype Nexus 3.15.0-01 and am a little stumped about how to override the default logback configs. I created a file called 'logback-overrides.xml' in the 'nexus-data/etc/logback' folder containing the following:
davidmerrick
  • 1,027
  • 1
  • 10
  • 17