Can Nexus or Artifactory store simple tar.gz artifacts?

Both Artifactory and Nexus can handle any type of file, as they both are “Binary Repository Managers”. Albeit that, Nexus can technically store any file, but lacks support for binaries that do not adhere to the Maven repository layout. For example, such files will not be indexed and cannot be retrieved in searches; Also, if … Read more

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

How does Archiva compare to Nexus?

Declaring bias: I’m the founder of the Archiva project. I can assure you Archiva, and indeed all 3 projects, will satisfy the needs you’ve listed, and all have several more advanced features that you’ll likely find useful as your environment progresses. They’re all quick to try, so you can see what feels most natural for … Read more

How to limit number of deployed snapshots artifacts in Nexus?

Create a scheduled task to purge out old snapshots. The following links describe the functionality: Nexus scheduled tasks Managing scheduled tasks – Repository Manager 2 Types of Tasks and When to Use Them – Repository Manager 3 (Task “Maven – Delete SNAPSHOT”) You can configure the task to always keep a minimum number of artifacts. … Read more

Maven Settings for multiple repositories

you have to setup mirror <mirror> <id>nexus</id> <mirrorOf>*</mirrorOf> <url>http://internal/nexus/content/repositories/thirdparty</url> </mirror> <mirror> <id>google</id> <mirrorOf>google</mirrorOf> <url>http://google-maven-repository.googlecode.com/svn/repository</url> </mirror> then add internal & external repo <profile> <id>nexus</id> <repositories> <repository> <id>central</id> <name>central</name> <url>http://internal/nexus/content/repositories/thirdparty</url> </repository> <repository> <id>google</id> <name>google</name> <url>http://google-maven-repository.googlecode.com/svn/repository</url> </repository> </repositories> </profile>

Publish Snapshot vs Publish Release in Gradle With Continuous Integration

You can configure the snapshot and the release repository in the ‘Upload’ task (e.g. the uploadArchives) task: uploadArchives { repositories { mavenDeployer { repository(url: ‘http://myCompanyRepo.com:8081/releases’) { authentication(userName: ‘admin’, password: ‘password’); } snapshotRepository(url: ‘http://myCompanyRepo.com:8081/snapshots’) { authentication(userName: ‘admin’, password: ‘password’); } } } } For *-SNAPSHOT versions the snapshotRepository is used. Otherwise the releases repo is used.

Tool for managing/hosting own p2 repositories?

With the Unzip Repository Nexus Plugin, you can use Nexus for exchanging binary artifacts between Tycho builds. Tycho project A publishes its artifacts like a normal Maven project: The project is built with mvn clean deploy, which uploads the project’s artifacts into your deploy Maven repository on the Nexus. The only special requirement is that … Read more