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

Deploy Nexus Repository in cluster mode

I start my Nexus Repository Manager OSS 3.9.0 as docker container in one node mode. But it has opportunity to start in a cluster. Can I start free version of Nexus in a cluster mode? If I can, then how can I do it?
0
votes
1 answer

Not able to download npm packages from corporate nexus repository?

I'm behind a company proxy and trying to access npm packages from nexus repository hosted on the same proxy. I can login to the nexus repository from browser using the same username and password but not through npm cli Here is what my .npmrc file…
Kalyan
  • 3
  • 3
0
votes
1 answer

How to secure nexus repository path

I have setup a local nexus server with a hosted repo dev-repo http://localhost:8081/nexus/content/repositories/dev-repo/ In gradle I can download the artifacts hosted like this: repositories { maven { url…
Minjun Yu
  • 3,497
  • 4
  • 24
  • 39
0
votes
2 answers

How to configure HTTP Strict Transport Security in Sonatype nexus

I know that we can enable HSTS in the apache tomcat as there is an option to achieve that. Is there any way that we could configure on top of the Sonatype Nexus Artifact Repository Manager ? I found a configuration of nexus which is jetty-http.xml,…
Krishna
  • 1
  • 1
0
votes
1 answer

Find users / roles that have a certain permission in Sonatype Nexus Repository 3

In Sonatypes Nexus Repository 3, is there a way to see which users/roles imply a certain permission?
Florian
  • 37
  • 1
  • 7
0
votes
1 answer

Upgrading nexus 3.7 plugin to work with 3.9

I have a plugin that provides a rundeck option rest endpoint that works with nexus 3.7.0-04. It was originally based on nexus3-rundeck-plugin but has been heavily modified for our environment. The plugin loads in 3.9.0-01 but the rest endpoints…
0
votes
2 answers

Is it possible to upload artifacts to maven-central repository in Nexus?

I am trying to upload artifacts to my "maven-central" repository in Nexus. I am using the command: curl -v --user admin:admin123 --upload-file /path/myjar.jar …
redhatter
  • 63
  • 2
  • 4
0
votes
1 answer

Missing org.sonatype.nexus.cfg file, how to proceed?

Nexus OSS 3.7.1-02 running on RHEL 7. I have several repositories on it and I am able to publish and retrieve packages and jars, therefore, I presume that the setup is working correctly. In the official documentation, I am referring to the 'Serving…
Kaliyug Antagonist
  • 3,512
  • 9
  • 51
  • 103
0
votes
2 answers

Deploying a maven site to Nexus-3 via https

Ok, so here's the situation: I have a multimodule Maven project (currently using v3.5.2) which has a large site deployment, some time back I deployed the Maven site (mvn clean site site:deploy) to a Nexus-2.x site repository using simple http. After…
Robert Heine
  • 1,820
  • 4
  • 29
  • 61
0
votes
3 answers

Compilation error in building maven project

we are trying to build and deploy a maven artifact into our Nexus Repository Manager from Jenkins, But we are facing compilation error during the build. This is the error that we are getting.! ERROR] Failed to execute goal …
0
votes
1 answer

maven compilation failure on jenkins while release:perform

I have e job on Jenkins where I want to release an artifact to Nexus. It complains about the mavne-compiler-plugin and maven-release-plugin during perform. Any ideas about what the issue is and how to solve it? In the Jenkins job I have also check…
Martin
  • 630
  • 6
  • 17
0
votes
1 answer

Nexus3 Unable to update instance pid: No locks available "nexus"

I have a nexus3 instance running inside a docker container with the /nexus-data directory mounted as a volume on some network attached storage. The docker container died unexpectidly and now wont come up as it throws the error Unable to update…
Steve Fitzsimons
  • 3,754
  • 7
  • 27
  • 66
0
votes
0 answers

Nexus 3 repository - Proxying an maven artifact from Hosted to Proxy repository

How to pxoxy an maven artifact from hosted repository to proxy repository in java. For Nexus 2 we used StorageTx, TempBlob classes etc which are not compatible with Nexus 3. So could someone pls suggest the wayforward
0
votes
1 answer

Nexus 3.5.0-02 PyPi Missing simple URL?

Documentation shows these options for pip.conf: [global] index = http://localhost:8081/repository/pypi-all/pypi index-url = http://localhost:8081/repository/pypi-all/simple But in our OSS 3 nexus no such URL's are available and we can't find any…
0
votes
1 answer

Nexus 3.4.0-02-win64

I try to install nexus 3.4.0-02-win64, but at the end exception is at the below occured, how can i resolve this issue? I run "nexus.exe /run" command from directory .. "nexus-3.4.0-02-win64\nexus-3.4.0-02\bin>" I have java 8 on my pc , and it is…
ANC
  • 9
  • 1