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
3,138
questions
167
votes
4
answers
171k
views
What is the difference between Nexus and Maven?
What is the difference between Nexus and Maven?
What is a basic scenario of usage only Maven? What about a scenario considering only Nexus? And how it looks when I want to use both?
135
votes
3
answers
175k
views
How to specify maven's distributionManagement organisation wide?
I'm trying to figure out how to organize many (around 50+) maven2 projects, so that they can deploy into a central nexus repository. When using the mvn deploy goal, one does need to specify the target ...
134
votes
16
answers
254k
views
Error when deploying an artifact in Nexus
Im' getting an error when deploying an artifact in my own repository in a Nexus server: "Failed to deploy artifacts: Could not transfer artifact" "Failed to transfer file http:///my_artifact. Return ...
123
votes
5
answers
107k
views
Maven Snapshot Repository vs Release Repository
What is the difference between a Snapshot Repository and Release Repository?
This is with reference to setting up Repositories (like Artifactory, Nexus etc)
119
votes
12
answers
103k
views
Should we use Nexus or Artifactory for a Maven Repo? [closed]
We are using Maven for a large build process (> 100 modules). We have been storing our external dependencies in source control, and using that to update a local repo.
However, we are ready to ...
113
votes
14
answers
161k
views
Upload artifacts to Nexus, without Maven
I have a non-Java project that produces a versioned build artifact, and I want to upload this to a Nexus repository. Because the project isn't Java, it doesn't use Maven for builds. And I'd rather not ...
104
votes
8
answers
170k
views
How to manually deploy artifacts in Nexus Repository Manager OSS 3
After installing Nexus Repository Manager OSS 3 I do not see option Artifact Upload to upload artifacts through web page.
In Nexus Repository Manager OSS 2.13 there is option to do that operation.
...
100
votes
14
answers
164k
views
Getting "Blocked mirror for repositories" maven error even after adding mirrors
In my past project I had a problem with dependencies starting with http, just like this one Maven Build Failure -- DependencyResolutionException . Solution was to add mirrors for the project worked ...
85
votes
5
answers
125k
views
How to store releases/binaries in GitLab?
I am building a workflow with Gitlab, Jenkins and - probably - Nexus (I need an artifact storage). I would like to have GitLab to store releases/binaries - is it possible in a convenient way?
I would ...
77
votes
13
answers
49k
views
Maven release plugin fails : source artifacts getting deployed twice
We are using the maven release plugin on hudson and trying to automate the release process.
The release:prepare works fine. When we try to do the release:perform , it fails because it tries to upload ...
76
votes
6
answers
50k
views
how do I get sbt to use a local maven proxy repository (Nexus)?
I've got an sbt (Scala) project that currently pulls artifacts from the web. We'd like to move towards a corporate-standardized Nexus repository that would cache artifacts. From the Nexus ...
71
votes
17
answers
113k
views
How to debug 'npm ERR! 403 In most cases, you or one of your dependencies are requesting a package version that is forbidden by your security policy.'
I am currently trying to set up a Jenkins and a private npm repository (Sonatype Nexus).
I get the following error when I try to publish to the repository within a Jenkins build pipeline.
+ npm ...
71
votes
9
answers
232k
views
How should I set _auth in .npmrc when using a Nexus https npm registry proxy?
Context
My .npmrc file seems to be correctly read (checked with npm config ls -l both from command line and from Maven build).
the machine on which npm is run cannot connect directly to the net, it ...
71
votes
4
answers
11k
views
How long does Sonatype staging take to sync my artifacts with Maven central
I have successfully deployed my Maven artifacts (release) into Sonatype's staging repository with Maven.
Uploading address is https://oss.sonatype.org/service/local/staging/deploy/maven2/
I would ...
58
votes
5
answers
48k
views
Unable to publish to an NPM Registry (local)
I am running Nexus 3.0.1-01, and am using it to host both Maven repositories and NPM registries. For NPM, I have a local mirror of npmjs.org, a local NPM registry and a group that combines the two...
...
58
votes
3
answers
78k
views
How to set _auth for a scoped registry in .npmrc?
I am wondering how to configure the .npmrc file so that I can have a default registry and a different scoped registry with authentication.
I am using Nexus for the private repository and I am not ...
57
votes
7
answers
176k
views
How to specify local registry in yarn?
I have a local nexus server, I'd like yarn to look through it before going online, basically prefer-offline
yarn install \
--prefer-offline \
--cache-folder C:\folder\yarn-cache \
--preferred-...
54
votes
7
answers
123k
views
Using the Nexus rest API to get latest artifact version for given groupid/artifactId
I am trying to use the nexus REST api to get the latest version of a maven artifact. I am able to browse to the specific version I am looking for using http://repo.local/service/local/data_index?a=...
53
votes
4
answers
14k
views
What are the gigantic *.CFS files all about in Eclipse workspace plugin folder?
I started to notice my WD drive getting full and ran a size:gigantic file search on it. It has turned up several files here:
F:\SCOTT-SHARED-DESKTOP\My Documents\JPA_SPRING_STRUTS\.metadata\.plugins\...
52
votes
6
answers
54k
views
How to access a secured Nexus with sbt?
I'm trying to access a Nexus repository manager which requires some basic authentication. Everything works fine from Maven2 but when I try to configure things in SBT it can't find the artifacts. It is ...
52
votes
4
answers
29k
views
What is the minimal set of privileges required to deploy artifacts to Nexus 3?
I'm using Nexus Repository Manager 3.1.0-04, and I want to create a user to just have deployment permissions. What are the minimal set of privileges required for that?
Right now I created a role nx-...
52
votes
7
answers
156k
views
Maven error: Not authorized, ReasonPhrase:Unauthorized
I checked out my code from the Nexus repository repository. I changed the password for my account and set it correctly inside my settings.xml file. While executing mvn install clean I get the error ...
48
votes
12
answers
104k
views
Authentication error on publishing to private NPM repository on Nexus
I am having authentication problem when publishing to my private npm registry hosted on my private Nexus.
My Nexus setup is I have npm-proxy, npm-registry (hosted npm with allowRepublish=false), npm-...
47
votes
5
answers
75k
views
Remove artifacts from Nexus repository
I deployed some artifacts and I copy-pasted wrong name of those artifacts. I remember that manual playing with repository content brings problems.
What is the recommended way for dealing with these ...
45
votes
4
answers
46k
views
How do I provide URL access to the latest snapshot of an artifact in Nexus 2.x?
I would like to provide a simple URL that will always return the latest version of a snapshot version of an artifact. By simple I mean that the URL doesn't change, or require the user to browse the ...
45
votes
2
answers
8k
views
Idea, sbt, unable to reparse warning
I've pushed my artifact to oss nexus repo, added it as dependency to another project. Idea keeps me warning:
[warn] Unable to reparse com.github.kondaurovdev#jsonapi_2.11;0.1-SNAPSHOT from sonatype-...
41
votes
6
answers
117k
views
Maven Settings for multiple repositories
I have the following in settings.xml
<mirrors>
<mirror>
<id>paid-jars</id>
<name>jars with license</name>
<url>http://...
40
votes
8
answers
31k
views
Maven repository hosting for non-public artifacts? [closed]
Is there some hosting solution, be it paid or free, that offers explicit maven repository hosting for non-public artifacts, preferably with support?
These are the alternatives I'm aware about:
...
40
votes
2
answers
8k
views
Tool for managing/hosting own p2 repositories?
Our company uses Maven. We use the Nexus repository manager in order to store our snapshots and releases.
Currently, we are developing a product based on Eclipse. We use Tycho to do that.
The ...
37
votes
2
answers
51k
views
Publish Snapshot vs Publish Release in Gradle With Continuous Integration
I'm just learning Gradle, coming from both an Ant+Ivy and Maven background and I'm trying to wrap my head around the proper way to publish a release version of my software using gradle. I also need ...
37
votes
7
answers
38k
views
maven-javadoc-plugin breaks mvn release:perform
I'm trying to execute mvn release:perform on three projects that I have released to our Nexus server many times in the past. Suddenly today, for no apparent reason, all releases are failing to execute ...
37
votes
3
answers
28k
views
What's the purpose of an artifact repository?
Wherever you read about continuous delivery or continuous integration it's recommended to use an artifact repository to store the artifacts even though Jenkins already stores them for each build.
So ...
36
votes
4
answers
28k
views
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 ...
33
votes
7
answers
38k
views
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 [...
33
votes
5
answers
42k
views
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 ...
33
votes
6
answers
37k
views
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 ...
32
votes
7
answers
23k
views
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 ...
31
votes
3
answers
54k
views
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?
<distributionManagement>
<repository>
<id>InternalReleases</id>
<name>...
30
votes
2
answers
22k
views
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 ...
30
votes
3
answers
26k
views
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 ...
29
votes
3
answers
53k
views
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 "~/....
29
votes
1
answer
10k
views
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 files:
...\EclipseWorkspace\.metadata\.plugins\org.eclipse.m2e.core\nexus\...
27
votes
2
answers
45k
views
Difference between Git and Nexus?
I can't seem to find what the difference is between Git and Nexus. Are the two comparable?
27
votes
1
answer
16k
views
What's the difference between Python pip's pip.conf and pypirc file?
I'm having trouble reaching a nexus server that we're using to store custom python packages. I've been told to change the settings in both my ~/.pypirc file and the ~/.pip/pip.conf file.
What's the ...
27
votes
3
answers
19k
views
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 ...
27
votes
2
answers
22k
views
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 ...
25
votes
2
answers
13k
views
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 ...
25
votes
4
answers
70k
views
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 ...
25
votes
3
answers
39k
views
How to upload the python packages to Nexus sonartype private repo
I have configured the Nexus-OSS-3.14 private Python artifact server on aws cloud. I want to be maintain all my project related Python packages on my private repository server.
I downloaded the all ...
25
votes
3
answers
33k
views
Upload sources to nexus repository with gradle
I successfully uploaded my jars to a nexus repository using the maven plugin for gradle but it didn't upload the sources. This is my configuration:
uploadArchives {
repositories{
...