OrientDB corruption state in Nexus Repository version 3.2.0-01

Just in case that actually matters for somebody else – the above did not help me, but the json export / import one. In my case nexus runs in the official docker image, so docker exec -it nexus bash Or however you access your nexus shell cd /tmp /opt/jdk1.8.0_141/bin/java -jar /opt/sonatype/nexus/lib/support/nexus-orient-console.jar CONNECT plocal:/nexus-data/db/component admin admin … Read more

NPM: how to specify registry to publish in the command line?

There’s multiple ways to accomplish this. use npm config to set the registry globally: npm config set registry http://nexus.dsv.myhost/nexus/repository/npmjs use npm config to set the registry for the package scope: npm config set @<your scope here>:registry http://nexus.dsv.myhost/nexus/repository/npmjs configure your package.json with a publish config: { … “publishConfig”: { “registry”: “http://nexus.dsv.myhost/nexus/repository/npmjs” }, … } use npmrc … Read more

What is the minimal set of privileges required to deploy artifacts to Nexus 3?

The general rule is nx-repository-admin privileges are for administering the repositories and their details; nx-repository-view privileges are for use of the repositories once set up. Assign the latter. To tweak repository privileges of your Deployment user(s) you should use the nx-repository-view-*-*-* as the assigned privilege, instead of nx-repository-admin. So, remove all the privileges you addressed … Read more

How to manually deploy artifacts in Nexus Repository Manager OSS 3

I’m using maven deploy file. mvn deploy:deploy-file -DgroupId=my.group.id \ -DartifactId=my-artifact-id \ -Dversion=1.0.0.1 \ -Dpackaging=jar \ -Dfile=foo.jar \ -DgeneratePom=true \ -DrepositoryId=my-repo \ -Durl=http://my-nexus-server.com:8081/repository/maven-releases/ UPDATE: As stated in comments using quotes in url cause NoSuchElementException But I have add server config in my maven (~/.m2/settings.xml). <servers> <server> <id>my-repo</id> <username>admin</username> <password>admin123</password> </server> </servers> References: Maven Apache – Guide … Read more

tech