Questions tagged [nexus]

Nexus is a Repository Manager for Maven, NuGet 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.

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.

3121 questions
1
vote
0 answers

Sonatype nexus timeouts when using plugin groups in maven

I'm trying to clean my pom.xml files and store all repository configuration in the settings.xml file. I created a plugin group in nexus then configure a mirror with its url, i also have all credentials in jenkins. Here are my configs.
1
vote
1 answer

Maven Nexus: add group repository only with artifacts with prefix xxx.yyy

I wonder if it's possible to define a Group Repository in Maven Nexus and tell it to get the artifacts from existing repositories, but only those with ID matching a certain prefix xxx.yyy This way, not all the artifacts of a repository will be…
Marc Gil Sendra
  • 819
  • 2
  • 9
  • 22
1
vote
1 answer

How to configure smart proxy in Nexus Repository Manager 3?

Smart proxy in Nexus Repository manager 2 was very straightforward according to this documentation. It isn't the case in Nexus Repository manager 3 any more, and there's only a minimal amount of information regrading to the smart proxy feature in…
Pok
  • 1,521
  • 1
  • 13
  • 20
1
vote
1 answer

nexus2artifactory Maven Snapshot Version Behavior

I'm using nexus2artifactory tool to migrate form nexus to artifactory (as tool's name obviously says) and am facing a strange behavior and was wondering if I'm doing something wrong. I'm trying to migrate some maven repositories created on nexus…
Nicko Glayre
  • 1,315
  • 1
  • 10
  • 22
1
vote
0 answers

Does nexus 3.0 & above supports Rest call?

My Platform: Linux, Repos/Artifacts: Non-Maven. Scripting: only Python,Curl. Question:: For my company, I need specific information like, Does Nexus 3.0 & above support rest calls (OSS & PRO)? if Yes, then how? I need to access md5,sha1 of…
1
vote
1 answer

Any way to publish artifact from local maven repo to Nexus?

I use a kind of continous delivery pipeline. Each CI build gets a unique version (no snapshots) and is installed to local maven repo on CI server. There are few buids daily like 2.1.0-231. Then it goes to QA and UAT. Once a specific version gets…
Piotr Gwiazda
  • 12,080
  • 13
  • 60
  • 91
1
vote
1 answer

is it possible to version and deploy a configuration file to nexus via maven commands

I am working on a java project and I would like to version and store a configuration file on nexus. Lets assume the file structure of java project is as below. src/ conf/application.config pom.xml Is it possible to deploy application.config…
clockworks
  • 3,755
  • 5
  • 37
  • 46
1
vote
1 answer

Docker login working only with daemon but not with Docker active service

I have been trying to set up nexus3 as private registry for the Docker images with nginx serving as a reverse proxy for nexus3. I have been encountering all types of error ranging from Forbidden to Connection Refused and have tried all reference…
Alim Azad
  • 471
  • 2
  • 9
  • 23
1
vote
0 answers

NPM Provider not visible in Sonatype Nexus 2.13.0 OSS

I am trying to setup a NPM Proxy Repository using Nexus 2.13.0 OSS. According to the documentation there should be a NPM Provider available during proxy repository creation. Unfortunately I can only select "Maven1", "Maven2" and "NuGet". I don't get…
Mirko Sertic
  • 368
  • 3
  • 7
1
vote
2 answers

Maven+Nexus+Jenkins SSL certificate error

I have installed certificate to nexus. When i start jenkins builder im getting an error: [ERROR] Failed to execute goal on project wf-base: Could not resolve dependencies for project 1.0.0o-SNAPSHOT: Failed to collect dependencies at…
Danylo
  • 21
  • 1
  • 4
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
1 answer

Issue with latest maven assembly plugin not coming through to nexus

I have a complex project setup. in one of my sub-modules i am referencing below plugin without the version. org.apache.maven.plugins
Wolver1ne
  • 125
  • 1
  • 11
1
vote
1 answer

Why does Nexus not provide correct POM file?

I have a manually uploaded JAR file (with POM File) in the Nexus 3rd party repository. The 3rd party repository is part of the public repository group. When downloading the POM from the public repository I receive only a minimal POM File (with…
schoenk
  • 824
  • 3
  • 13
  • 31
1
vote
1 answer

usetimestamp has no effect when using ant GET task?

I am trying a GET from ant but the problem if I invoke it twice, the file is downloaded twice, it should download only once because I have set the usetimestamp to true, what could be the issue? This is the ant get command I am using:
Wael
  • 1,533
  • 4
  • 20
  • 35
1
vote
1 answer

"Connection reset by peer: socket write error ERROR: Uploading file" Jenkins upload to nexus using nexus artifact uploader

i'm having trouble with uploading zip file to nexus via jenkins using the nexus artifact uploader plugin the weirdest part is that i'm uploading two files to Nexus, the first zip is being uploaded, no problems at all... but then, the second zip is…
Ori Wiesel
  • 488
  • 2
  • 8
  • 26