Questions tagged [nexus]

Sonatype Nexus is one of the world’s most widely used repository managers and it sets the standard for repository management providing development teams with the ability to proxy remote repositories and share software artifacts.

Filter by
Sorted by
Tagged with
0 votes
0 answers
88 views

Configure EKS to use Nexus Private Docker Registry (HTTP/HTTPS)

I've created an EKS cluster on AWS along with Nexus Repository on DigitalOcean using Terraform & Ansible. Also I've not created any SSL for the Nexus Repository, so it is "http." ...
user avatar
0 votes
0 answers
24 views

NGINX - Only cache files larger than 10M

I am using NGINX in a unique situation where I and using a reverse proxy for Sonatype Nexus and I only want to cache files if they are larger than, say 10M. Here is what I have so far: upstream ...
user avatar
  • 155
0 votes
0 answers
162 views

unable to access sonatype Nexus from browser

I am unable to access Nexus via browser. I am using Ubuntu GCP instance. I have enabled the UFW and made sure that the port 8081 is added to it, also tried changing the port but it is not working, ...
user avatar
1 vote
1 answer
436 views

Update PGP key in self hosted apt repository

We are using the Sonatype Nexus Repository Manager to host apt repositories. The GPG key of one of them has expired recently and needed to be updated. What I thought would be sufficient was to ...
user avatar
  • 121
0 votes
0 answers
81 views

Sonatype Nexus doesn't update single git submodule

I have this setup: -a git repository called MyRepo. This repo has 5 submodules (A,B,C,D,E) -a Jenkins instance that auto-builds MyRepo. On post-build steps there's a simple script that executes: #!/...
user avatar
  • 1
1 vote
0 answers
301 views

Nexus mirror (with maven) does not work

Im using Nexus as mirror for maven central and want to add other repositories. If I add this like this <repositories> <!-- org.spigotmc.spigot-api --> <repository> ...
user avatar
1 vote
1 answer
1k views

Kaniko (GitLab CI, K8s) can not push to Nexus Repository Manager: UNAUTHORIZED: access to the requested resource is not authorized

my GitLab CI job build a example container image with Kaniko with the GitLab runner on K8s. All services are in my LAN behind a static IP. The build process pulls an ArchLinux image from my first ...
user avatar
1 vote
0 answers
526 views

apt-get from private repository via https with self signed certificate failed by SSL handshake error

I'm not able to use my own apt-source via https. Using web based repo with imported cert and key-file as apt-source. Client: root and intermediate cert in /usr/local/share/ca-certificates/extra/ has ...
user avatar
-1 votes
1 answer
173 views

How to generate a dummy GPG key by running a script for testing purposes?

I would like to create a GPG key for testing Nexus3 and N3DR. When I follow instructions like these, a key gets created and it could be used in the Continuous Integration (CI) as well. The question is ...
user avatar
  • 5,691
1 vote
0 answers
119 views

Is it possible to decapsulate ERSPAN and forward on RSPAN?

I am currently running into an issue where we are trying to send our network traffic from our physical infrastructure into a virtual Alienvualt appliance, but our switches are unable to send RSPAN ...
user avatar
1 vote
1 answer
984 views

Unable to use a Nexus Docker Registry in a Docker Swarm

I am trying to set up a Nexus repository for use by a Docker Swarm. However, I am seeing some weird behaviour and I am not sure if it is something I did or if it is a bug because it appears to be ...
user avatar
1 vote
1 answer
1k views

Why is Nginx only serving the Index mark-up when I use it as a reverse proxy for Nexus 3 Repository Manager?

I am trying to serve a Nexus3 Repo Manager through Nginx reverse proxy, but it only serves the Index mark-up. I have set up Sonatype Nexus 3 Repository manager on an Azure RHEL (SELinux) instance. I ...
user avatar
  • 11
3 votes
1 answer
5k views

How to migrate the sonatype-nexus repository from one instance to another? [duplicate]

We have two nexus instances running on two different Linux servers. We are planning to have only single instance for all apps and hence wanted to move the repositories from a smaller nexus to another ...
user avatar
  • 31
0 votes
2 answers
1k views

Yum repo autorefresh setting

Following Sonatype's documentation for Nexus 2 and Yum repositories for many years, I've faithfully added: autorefresh=1 to my Yum repos. However, looking at the man page for yum.conf on RHEL 7, 6 ...
user avatar
  • 449
2 votes
1 answer
4k views

How to increase the descriptors in nexus

I am trying to update nexus from 3.2.0 to nexus 3.7.1 ,getting a max file descriptors error message using docker container sonatype/nexus3:3.7.1 i tried to increase the descriptors to 65536 but it ...
user avatar
  • 415
1 vote
0 answers
798 views

Use Gitlab oauth service for Nexus3

I've a brand new Nexus Repository Manager version 3.6.1 and a Gitlab 10.0.3. I'ld like to use Gitlab as a oauth provider for authentification (I'm already doing that for Jenkins & SonarQube). ...
user avatar
  • 186
0 votes
1 answer
358 views

Does Sonatype Open Source Nexus supports Maven 3?

We are thinking about to build up a Sonatype Nexus OOS server. In all documentation, it is mentioned that it supports maven 2, but its never mentioned if it's support Maven 3. Can somebody give me a ...
user avatar
  • 27
3 votes
1 answer
11k views

Nexus returns error 502 (Bad Gateway) when publishing artifacts

I've just completed the installation of Sonatype Nexus 3.2.1-01 and I'm trying to publish some artifacts using a Jenkins job and the Nexus Artifact Uploader 2.9 plugin. The upload starts fine: 100 % ...
user avatar
  • 161
1 vote
0 answers
115 views

Connecting SVIs on different VRFs\same subnet - Nexus 9k

I am trying to do is create several SVIs in the same subnet. This can be done by splitting them into different VRFs. The only way I feel I can connect these VRFs (and SVIs) together is by creating ...
user avatar
1 vote
1 answer
2k views

Nexus Repository OSS reverse proxy

I have a Windows Server 2012-R2 Server running Nexus Repository OSS on localhost:8081. I configured a Reverse Proxy in IIS with the following rule: <?xml version="1.0" encoding="UTF-8"?> <...
user avatar
  • 128
9 votes
1 answer
2k views

Is it possible to authenticate to Sonatype Nexus via ssh keys

Is it possible to authenticate to Sonatype Nexus via ssh keys or any other method that does not require user password in maven settings.xml? I know there are user generated tokens in Sonatype Nexus ...
user avatar
0 votes
3 answers
11k views

Nexus: Link to latest release of an artifact

How to create a link to get the latest release of an artifact? E.g. org.foo:bar would have 1.0 and 2.0, and the link would return the 2.0 release; and when 3.0 is released and deployed, the same link ...
user avatar
1 vote
1 answer
668 views

Mapping between RPM file names and metadata names generated by maven

We have a Sonatype Nexus repo, where we publish RPMs with the Maven RPM plugin. Snapshots and release versions are available. The issue here is around the mapping between versions. First, I obtain a ...
user avatar
  • 357
0 votes
1 answer
62 views

cannot save settings under the server menu on Sonatype Nexus

I have Nexus up and running, I can setup users, roles, I've added the ldap settings, and everything seems to be working correctly. However, I can't seem to change any of the settings under the "...
user avatar
  • 135
2 votes
1 answer
1k views

Disabling proxy repositories in Nexus

I'm setting up a new small Nexus OSS server on an Amazon EC2 instance. Nexus ships with proxies set up for the Apache, Central, and Codehaus repositories, assuming that the Nexus server will be local ...
user avatar
15 votes
4 answers
63k views

Cannot switch, ssh to specific user: su: cannot set user id: Resource temporarily unavailable?

/var/log/secure: su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_keyinit(su-l:session): Unable to change UID to 500 temporarily su: pam_unix(su-l:session): session ...
user avatar
  • 50.1k
1 vote
0 answers
380 views

Nexus functionality is limited after installation

I have a CentOS based server with Sonatype Nexus 2.0.4-1 installed. The issue is that there are no standard "Artifact Search", "Advanced Search", "Browse Index", "Refresh Index" Nexus features, as ...
user avatar
1 vote
1 answer
1k views

What outbound ports does Nexus Repository Manager use to download Maven artifacts from other repos?

I'm loading up Nexus on a VM with all outbound ports locked down. I need to know what outbound ports Nexus uses to do whatever it does in all scenarios. Let's assume the repositories it connects to ...
user avatar
  • 2,295
1 vote
2 answers
664 views

pid directory is deleted

I'm having a service (Sonatype's Nexus) which failed to init since it PID folder (/var/run/nexus) was deleted. Any idea how that folder can be deleted? The nexus service, when gracefully stopped, ...
user avatar
  • 145
1 vote
0 answers
1k views

Sonatype Nexus incompletely proxies external repository

I'm currently attempting to set up a proxy repository (as described in the Nexus guide) for the Bukkit repository, in order to build some dependent projects locally. I'm using the URL: http://repo....
user avatar
  • 1,148
3 votes
1 answer
2k views

How do I run a Java Service Wrapper based application on startup

I want to be able to run Sonatype Nexus as a service on the Mac. It comes with the Java Service Wrapper start scripts for the mac so I basically have a shell script that can start the server. I ...
user avatar
1 vote
2 answers
5k views

Why does Sonatype Nexus seem to be taking up a ton of memory and CPU time?

Running nexus on Amazon Linux on my SC2 instance. Clean install, then I built a small project against it. Not being used by anyone but me. When I first start Nexus, CPU utilization starts out at 97%...
user avatar
  • 193
17 votes
3 answers
31k views

Migrate Sonatype Nexus repo from one machine to another

I am trying to migrate nexus repo. How can I go about it, any pointers?
user avatar
  • 327
0 votes
1 answer
1k views

Running Sonatype Nexus in Tomcat 7.0, Tomcat blocking PUT requests

I was previously running Nexus 1.8 on OSX and uploading jars for releases without any issues. The OSX box died, so I moved to a FreeBSD server. Since Nexus doesn't have binaries for FreeBSD, I decided ...
user avatar
  • 265
3 votes
1 answer
3k views

Can I authenticate to Artifactory or Nexus repositories via SSH?

We're looking for a maven repo with a better browser interface, and a question has come up about whether plaintext passwords in .m2/settings.xml can be replaced with an SSH key when using either ...
user avatar
  • 14.1k
8 votes
2 answers
16k views

Maven authentication to Sonatype Nexus repository

I cant seem to work this out (or maybe its just late!) - I installed Nexus and disabled anonymous access as I intend to proxy nexus on the web. It makes sense that there should be some manner to ...
user avatar
  • 299