Category : nexus

When I try to run mvn -DaltDeploymentRepository=nexus::default::http://nexus:8081/repository/maven-snapshots/ deploy in my Jenkins pipeline, I get the following error: Non-resolvable import POM: Could not find artifact org.springframework.boot:spring-boot-dependencies:pom:2.4.4 in nexus (http://nexus:8081/repositories/maven-public) @ mypackage:backend:[unknown-version], /var/jenkins_home/jobs/myapp/jobs/build-and-deploy/workspace/backend/pom.xml, line 78, column 25 The maven-public repository is a group repository that encompasses maven-central, maven-releases and maven-snapshots. The maven-central is a proxy repository with ..

Read more

I’m currently trying to migrate from a classic Nexus Repo 3.18.1 installation (nexus ran from the binary with ./nexus start) to a containerized version with Docker (3.30.1). Looking at the Moving nexus article the process seems straightforward, but focuses on two directories I will need to move: the application directory the data directory (the blob ..

Read more

We are using OSS 3.27.0-03 version of Nexus RM inside docker container. I’m currently trying to configure LDAP authentication but I’m stuck on the very beginning: Failed to connect to LDAP Server: XXXXX:389 [Caused by java.net.UnknownHostException: XXXXX] When I test the connection from the container itself using: ldapsearch and same credentials I use in Nexus ..

Read more

Sorry if the title is a little vague but I need to find the real culprit. I have this setup: -a git repository called MyRepo. -a Jenkins instance that auto-builds MyRepo. On post-build steps there’s a simple script that executes: #!/bin/bash branch=$1 docker build -t server.com:5000/MyRepo:$branch . docker push server.com:5000/MyRepo:$branch -The server.com:5000 is the Nexus ..

Read more