Hi,

this information is not correct. The NetBeans 11.2 Update Center for
user provided plugins still is supplied by http://plugins.netbeans.org/
 . You can verify this by trying to download:

https://netbeans.apache.org/nb/plugins/11.2/catalog.xml.gz

This redirects to:

http://plugins.netbeans.org/nbpluginportal/updates/11.0/catalog.xml.gz

TL;DR: To get a plugin installable via Update Center into 11.2, get it
verified for 11.0 and you should be done (unchecked, as I'm currently
not able to login).

Greetings

Matthias

Am Freitag, den 08.11.2019, 22:10 +0100 schrieb antonio:
> Hi Ernie,
> 
> Some answers inlined below.
> 
> El 8/11/19 a las 21:33, Ernie Rael escribió:
> > 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.
> 
> Yes, it's simpler if your Router Plugin Project is built using Maven.
> 
>  From the IDE choose "File/New Project", then "Java with Maven" and
> then 
> "NetBeans Module" (or "NetBeans Application" if you want a suite).
> 
> You'll be shown a dialog with some settings, then choose the
> appropriate 
> NetBeans version dependencies (unfortunately you'll see RELEASE110
> and 
> dev-snapshot, but not RELEASE112 in the combo box, but you can
> change 
> that later).
> 
> The IDE will then download lots of dependencies from Maven Central.
> This 
> is normal.
> 
> THen just copy the source code from your ant-based plugin and
> compile. 
> Maybe you need to add some extra dependencies to your "pom.xml" file
> for 
> things to compile properly.
> 
> For a working example you can see, for instance, the Alex Falappa's 
> nb-springboot plugin at https://github.com/AlexFalappa/nb-springboot
> 
> If you upload this project somewhere (gitlab/github/etc.) I can give
> a hand.
> 
> > 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.
> 
> Once you've done that you'll end up with a NetBeans project that you
> can 
> build with maven (instead of ant). The Maven infrastructure will
> take 
> care of everything (very much like ant did).
> 
> Once you're ready to upload to Maven Central (i.e., you have proper 
> version numbers, etc.) see 
> http://maven.apache.org/repository/guide-central-repository-upload.html 
> for instructions on how to digitally sign and upload to Maven
> Central.
> 
> We should document all this whole process better so people is not 
> confused any longer. Your questions do help us understand how badly 
> we're confusing things (for the better, we hope), so thanks for
> asking! ;-).
> 
> Kind regards,
> Antonio
> 
> 
> 
> > -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
> > 
> > 
> > 
> 
> ---------------------------------------------------------------------
> 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