How to submit a new maven plugin - maven

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.
... ...

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?

Have a proxy repository in bintray from another repository

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.

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 .

How to clean Maven snapshots deployed on the server?

On the snapshot server, Maven keeps all the generated snapshots. I want to clean all but the latest ones that are deployed on the server.
How can I tell Maven to only keep the N latest snapshot versions and to remove the rest?
I believe this is not controlled by Maven. Instead, it is more to do with the repository manager.
For example, in Nexus, you can setup scheduled task to remove snapshots from hosted repositories.
The best is to use a Repository Manager like Artifactory, Nexus or Archiva which have tasks for such purposes or in case of releases the according SNAPSHOT's will automatically be deleted.

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)

Resources