Have a proxy repository in bintray from another repository - maven

I try to find out if it is possible to have a private maven repository (nexus, artifactory) run on the net to be proxied to my bintray account. Anybody did this or is aware of such functionality?

Artifactory provides you with the ability to proxy Bintray repositories using Remote Repositories, so the short answer is yes.
The longer answer is that both Bintray and Artifactory were made by the same company, so they are a perfect match for each other.
Artifactory can proxy any type of repository from Bintray (not just Maven) and also provides extensive integration for achieving the opposite direction (i.e. publishing Artifacts to Bintray from Artifactory) using Distribution Repositories.
You can read more about the various Bintray integration options Artifactory provides here.

Related

What is the difference between github packages and other (maven) repositories

Recently, github launched a new service called 'Github packages'. In terms of the maven ecosystem, how would you describe/define the Github package service? How does Github package service communicate with the maven central repository?
When would it make sense to switch to github packages, i.e. are there any major considerations one would make to switch to github packages, or to stick with a repository manager such as Sonatype Nexus?

Is there a Maven repository for Solace artifacts?

I'm trying to find out whether there is a Maven repository for Solace artifacts. From what I've checked, these are not available via Maven Central. We'd like to proxy these via our Nexus repository manager. If they aren't available, I suppose we'll have to add them to our third-party hosted repository. I'm just checking what the proper course of action should be.
Any advice would be much appreciated!
Solace Systems does not currently provide a Maven repository for Solace artifacts. I recommend adding the Solace JARs manually to your repository.
The JARs are contained in their associated API package. You can find the download links for these API packages on the Solace developer portal.
Edit: Solace does now provide a Maven repository for Solace artifacts as of December 2016.
Now its available. Please find the details in this link .

Using Proxy with Gradle when accessing certain maven repositories only?

I have a custom maven repo where I host some private maven repositories. In order to access the repository it requires a username and password, and also it requires connection through a proxy.
The problem is, I don't want ALL my gradle traffic going through this proxy. Is there a way to configure it so that only for specific repositories it will go through the proxy?
Proxy configuration in Gradle happens via standard JVM system properties (http.proxyHost etc.). As such there is no way to configure a proxy for a specific repository.
PS: Maven repositories are best hosted on a Maven repository server/service (Artifactory, Nexus, Bintray).

Migrate maven artifacts into Cloudbees repository

Has anyone ever migrated an existing maven repository into Cloudbees repositories?
Currently, I have a self-hosted Sonatype Nexus instance with three custom repositories (snapshots, releases, and 3rd-party libraries not hosted in Maven). I have an existing Cloudbees CI environment, and I'm looking at migrating my maven storage as well.
If anyone has any helpful hints, tips, or an existing migration guide, please point me in the right direction.
Thanks in advance.
The simplest way would be to zip/tar.gz up your existing repository and upload it to the DAV repository in question.
Submit a support request and it can be unpacked on the server (DAV is quite slow for moving lots of files)

How to submit a new maven plugin

Say I have developed a plugin which I don't believe has been developed before. Can I submit this plugin to the maven community or does such a facility exist ? Is there a process required for this ?
If you mean submit your artifact to The Central Repository, here is the complete user guide:
Sonatype OSS Maven Repository Usage Guide
1. Introduction
Sonatype OSSRH (OSS Repository Hosting Service) uses Nexus to provide Maven repository hosting service for open source projects: https://oss.sonatype.org/. You can deploy snapshots, stage releases, and promote your releases so they will be synced to The Central Repository. All you need to do is to sign up a Sonatype JIRA account, create a JIRA ticket and make some POM/settings configuration. This document will guide you step by step for the details.
... ...

Resources