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
34
votes
4 answers

How to limit number of deployed snapshots artifacts in Nexus?

We are using Nexus to deploy our snapshot artifacts. Our build server deploys them during each build using the following command: mvn deploy. As result on each build the newer version of the artifact is deployed. The problem that already about…
Michael
  • 10,063
  • 18
  • 65
  • 104
33
votes
5 answers

Infrastructure with maven, Jenkins, Nexus

We are using maven. I want to set up infrastructure, so that automatically built artifacts would go to Nexus repository. And then they could be used by developers. I have already set up Jenkins with 1 job for our project. And I set up Nexus to on…
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
33
votes
7 answers

How does Archiva compare to Nexus?

There are a few similar questions already, but most are either focused on Nexus vs. Artifactory, or are a few years old. I wanted to get a sense of where the two project stand these days. My impression is that Nexus is the best regarded repository…
Dmitri
  • 8,999
  • 5
  • 36
  • 43
32
votes
5 answers

Can Nexus or Artifactory store simple tar.gz artifacts?

I have cloud servers located in separate data centers across the world. Each data center is separate from the others. I'm looking for an easy way to deploy artifacts to individual clusters of servers (that may be running different versions of…
GregB
  • 5,465
  • 5
  • 23
  • 35
31
votes
7 answers

OrientDB corruption state in Nexus Repository version 3.2.0-01

We are using Nexus Repository version 3.2.0-01 and started getting the following error in nexus.log. OrientDB has got corrupted. Nexus is no longer starting. 2017-03-21 13:00:36,329+0000 INFO [FelixStartLevel] *SYSTEM…
roopesh
  • 333
  • 1
  • 3
  • 7
30
votes
3 answers

Get size of specific repository in Nexus 3

How can I get a size of specific repository in Nexus 3? For example, Artifactory shows the repository "size on disk" via UI. Does Nexus have something similar? If not - how can I get this information by script?
Ivan
  • 3,084
  • 4
  • 21
  • 22
30
votes
3 answers

How to configure maven project to deploy both snapshot and releases to Nexus?

How to configure maven project to deploy both snapshot and releases to Nexus? InternalReleases Internal Releases
Paul Verest
  • 60,022
  • 51
  • 208
  • 332
30
votes
3 answers

No archetypes currently available. The archetype list will refresh when the indexes finish updating

In Eclipse with m2eclipse installed, when I choose File > New > Project... > Maven > Maven Project with Use default Workspace location and Catalog: Nexus Indexer selected, the following error message is showing up: No archetypes currently…
user1169587
  • 1,104
  • 2
  • 17
  • 34
29
votes
1 answer

Why does Eclipse maven produce huge .cfs files for no reason?

I suddenly found that the plugins folder of my Eclipse workspace was huge, and I discovered the following…
sparrowt
  • 2,641
  • 25
  • 24
29
votes
3 answers

Maven private remote repository setup

I'm trying to set up a private remote repository for our team. Now the repository serves the following with so far I have tried - When a 'mvn compile' is issued, then it searches dependencies in "~/.m2". If it is not found there then it goes to the…
Razib
  • 10,965
  • 11
  • 53
  • 80
27
votes
2 answers

How does my pom find my parent pom if the repositories are configured in the parent pom?

I've refactored all repository configuration out of my various projects into a parent pom that I've created for the specific purpose of having a single point of configuration for stuff like repo's and distribution management. This is supposed to be…
chad
  • 7,369
  • 6
  • 37
  • 56
27
votes
3 answers

Nexus Docker Registry - Failling anonymous pull

I'm using Sonatype Nexus as a Private Docker Registry. While it works with authenticated users, trying to use anonymous user to pull images doesn't work. This happens only on a docker client. Using the Nexus UI (not logged in) I'm able to browse…
Ricardo Katz
  • 356
  • 1
  • 3
  • 5
26
votes
2 answers

Difference between Git and Nexus?

I can't seem to find what the difference is between Git and Nexus. Are the two comparable?
Dimitri
  • 345
  • 1
  • 3
  • 9
25
votes
4 answers

how to deploy my artifact on to my nexus?

I am using nexus open source as my repository manager for Maven 3.0.3 Maven is able to create artifact *.jar. Now, I would like to know how I can push the generated artifact *.jar to the nexus repo manager, so that other dependent modules can pull…
BalaB
  • 3,687
  • 9
  • 36
  • 58
25
votes
2 answers

How do I backup a nexus repository manager

The nexus book: http://www.sonatype.com/books/nexus-book/reference/. Does not seem to spend any time on how one should go about backing up a nexus repository. If I am installing my snapshot and releases into this local repository, it seems that it…
Nathan Feger
  • 19,122
  • 11
  • 62
  • 71