I have an existing NBM plugin, built as a NB module project using ant. I have never used maven. As the following request for clarification shows, I do not have an overview sense of what is required.

1) Do I need to convert the NB module project to build using maven? The first step in "How to get plugin on Plugin Portal Update Center" is "1. Upload your plugin to Maven Central". The docs for "How to upload NetBeans Modules to Maven Central say

   ...the steps that are involved in getting your maven artifacts into
   the Maven Central...

This seems to imply that I need an NBM which is a maven artifact.

2) Or is the process one in which I package an existing NBM (built as an ant project)  into a maven artifact. Like a process done by creating files with an editor, maybe using the jar command as well.

3) Or perhaps it's a hybrid process. Built the NBM as usual with ant, then build something else which packages the NBM and creates a maven artifact.

The docs all assume I know how to get an NBM which is a maven artifact; at least that's how I read them. Unfortunately I do not know how to do that.

-ernie

On 11/8/2019 10:41 AM, Geertjan Wielenga wrote:
An NBM can be uploaded to Maven and also added to the Plugin Portal, not
sure if that helps, just wanting to help but not sure what you’re asking.

Gj

On Fri, 8 Nov 2019 at 18:58, Ernie Rael <e...@raelity.com> wrote:

Given an existing .nbm, is there a way to package it for maven central,
and then add it the the new plugin portal without building the .nbm's
project with maven?

I'm still looking at the documentation to cut my plugin over to maven...
In the meantime, I'm looking for a way to satisfy some user needs in a
timely fashion.

-ernie


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists






---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@netbeans.apache.org
For additional commands, e-mail: dev-h...@netbeans.apache.org

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists



Reply via email to