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

Nexus 3 Proxy to virtual maven 2 repository

We moved from Nexus 2 to Nexus 3 and face the problem of still need to support some artifacts uploaded by projects still working with Maven 1. In Nexus 2 I was able to setup a Maven 1 repository (N2-P-M1) and I configured a virtual Maven 2…
schoenk
  • 824
  • 3
  • 13
  • 31
1
vote
1 answer

How to publish resolved ivy.xml to Nexus

My artifact is a text file with some text in it(commit id). Here is my ivy.xml and build.xml ivy.xml
Jayan
  • 18,003
  • 15
  • 89
  • 143
1
vote
1 answer

Create archetype catalog in Nexus

I have created a number of custom archetypes in my local repository. I know that I can create a catalog file by using archetype:crawl. Now I want to put these archetypes into Nexus (easy enough) and create a named catalog in Nexus that I can point…
J Fabian Meier
  • 33,516
  • 10
  • 64
  • 142
1
vote
0 answers

Nexus 3.5.1 proxies from snapshot repo nothing but maven metadata files

I have upgraded nexus repository from 2.x to 3.x through following path: 2.4.14 -> 3.4.0 -> 3.5.1 All nexus services were packed in docker with data directory mapped from host's. For all services I use default either sonatype/nexus or…
Jacek
  • 11
  • 4
1
vote
2 answers

How to delete GAVs in Nexus 3 through Nexus REST API

Is there a way to delete GAVs through a REST API in Nexus 3? From various google searches it appears that this capability existed in Nexus 2, but not in Nexus 3 yet. Is that true? I tried the following with my current Nexus installation, which is…
Jeff Hines
  • 11
  • 2
1
vote
1 answer

Show Javadoc in IntelliJ/Android Studio without publishing sources

we are creating an Android library and want enable our users to see the Javadoc in AndroidStudio/Intellij. To test this I published the javadoc and sources to nexus and everything worked fine. But actually I don't want to provide our sources to…
andzie
  • 53
  • 7
1
vote
1 answer

Error 404 with Nexus and NPM

I set up a Nexus group and proxy (as describe in the nexus 3 documentation) to cache my npm libs in my internal enterprise network. I configured my .npmrc as follows: registry=http://
jsalvas
  • 87
  • 2
  • 10
1
vote
1 answer

With Nexus, should I use nuget or a different repo type for application binaries?

My company is mostly a Linux based company and we use Nexus. We have setup a nuget repository for our C# group within Nexus, but my question is should I be using the Maven repository type (or another type) to store our release binary applications of…
Dave N
  • 209
  • 2
  • 17
1
vote
0 answers

POST requests to Nexus throught Nginx in a customized web context return error 400 POST is not supported

I'm trying to setup Nexus 3 behind Nginx reverse proxy. Nexus and Nginx are in docker containers launched with docker-compose on a Centos 7.3 host. All docker images are the latest available. Nexus listen on default port 8081 into its container.…
Dédé Lolo
  • 144
  • 4
1
vote
1 answer

Dev Tools or Config Tools?

What are these tools called - Mingle, Subversion, TeamCity, Nexus Are these the dev tools or config services tools? Not sure whether they are dev tools because dev tools might include other developer applications for e.g. IDE (eclipse/IntelliJ IDEA)
Himanshu Taneja
  • 935
  • 1
  • 6
  • 5
1
vote
1 answer

mvn deploy specific url

Trying to deploy an artifact to nexus, but it has to be in a specific location which ignores the groupId. Is there a way to do this? com.company.team project 0.0.3-SNAPSHOT the url for…
Alex
  • 587
  • 11
  • 31
1
vote
1 answer

How to create a docker proxy repo with gcr.io?

My settings: logs: 2017-07-18 01:49:01,592+0000 WARN [qtp330844155-323] admin org.sonatype.nexus.repository.docker.internal.V2Handlers - Error: GET /v2/gcr.io/google-containers/addon-resizer/manifests/2.0: 403…
Sartner
  • 25
  • 2
  • 6
1
vote
1 answer

Cannot start nexus: Cannot construct org.codehaus.plexus.util.xml.Xpp3Dom as it does not have a no-args constructor

I'm currently working on configuring nexus on our server. I followed all the required steps steps but it seems that I'm missing something. java version "1.8.0_121" nexus version "3.2.1" My complete log trace is below: jvm 1 | Caused…
Aboullaite
  • 394
  • 1
  • 3
  • 17
1
vote
1 answer

Nexus Jenkins plugin

I've been trying to configure the Nexus Jenkins plugin for about a week now. Only to find out that the plugin didn't work with our Nexus 3.x oss. Since then I have downgraded our nexus and have configured everything to work. Except, when I try to…
CMRiddles
  • 11
  • 2
1
vote
1 answer

Nexus Repository:

I am planning to use Nexus repository to store deployment records. I have added those records on Nexus using mvn deploy file plugin. Every file is added as a new version. These records will later be accessed by a Nexus job. The requirement is to…