You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@netbeans.apache.org by Mario Schroeder <ma...@gmail.com> on 2019/06/25 14:06:07 UTC
run plugin with latest version
Hi,
I build a plugin using maven and the nbm-maven-plugin in version 4.1. I was
targeting the platform version RELEASE82 during the development prozess.
I'd like to upgrade to version RELEASE110. The compile goal of maven work
fine with the version. However when I click on "Run" in the context menu it
always starts the plugin with NetBeans 8.2. This fails because of the
missing the dependencies.
What am I missing, that my plugin starts NetBeans in version 11?
Regards!
Re: run plugin with latest version
Posted by Mario Schroeder <ma...@gmail.com>.
Yeah, I should have paid a bit more attention to the settings.xml.
Thanks for the help anyway!
Am Di., 25. Juni 2019 um 16:14 Uhr schrieb Eric Barboni <sk...@apache.org>:
> Hi,
> You may need to alter the <netbeans.installation> properties in you
> settings.xml
>
> Regards
> Eric
>
> -----Message d'origine-----
> De : Mario Schroeder <ma...@gmail.com>
> Envoyé : mardi 25 juin 2019 16:06
> À : dev@netbeans.apache.org
> Objet : run plugin with latest version
>
> Hi,
>
> I build a plugin using maven and the nbm-maven-plugin in version 4.1. I
> was targeting the platform version RELEASE82 during the development prozess.
>
> I'd like to upgrade to version RELEASE110. The compile goal of maven work
> fine with the version. However when I click on "Run" in the context menu it
> always starts the plugin with NetBeans 8.2. This fails because of the
> missing the dependencies.
>
> What am I missing, that my plugin starts NetBeans in version 11?
>
> Regards!
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
> For additional commands, e-mail: dev-help@netbeans.apache.org
>
> For further information about the NetBeans mailing lists, visit:
> https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
>
>
>
>
RE: run plugin with latest version
Posted by Eric Barboni <sk...@apache.org>.
Hi,
You may need to alter the <netbeans.installation> properties in you settings.xml
Regards
Eric
-----Message d'origine-----
De : Mario Schroeder <ma...@gmail.com>
Envoyé : mardi 25 juin 2019 16:06
À : dev@netbeans.apache.org
Objet : run plugin with latest version
Hi,
I build a plugin using maven and the nbm-maven-plugin in version 4.1. I was targeting the platform version RELEASE82 during the development prozess.
I'd like to upgrade to version RELEASE110. The compile goal of maven work fine with the version. However when I click on "Run" in the context menu it always starts the plugin with NetBeans 8.2. This fails because of the missing the dependencies.
What am I missing, that my plugin starts NetBeans in version 11?
Regards!
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@netbeans.apache.org
For additional commands, e-mail: dev-help@netbeans.apache.org
For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
AW: run plugin with latest version
Posted by Christian Lenz <ch...@gmx.net>.
Hey Mario,
first nice to hear that you creating a plugin, doesn’t matter what it is for. 😊
I would prefer that you build against NETBEANS90, because some People still using NB 9 and if you build against that (If you not Need a specific api from 11) your plugin will work in NB 9, 10 and 11 and up.
Second, if you want to run your plugin, you need add a new profile for your IDE in which you want to run it. Take a lool into your settings.xml file from the .m2 folder. There you can see, an active profile for maybe 8.2. So copy that snippet, change the path to your new instance, change the active profile to it and it should work.
Cheers
Chris
Von: Mario Schroeder
Gesendet: Dienstag, 25. Juni 2019 16:06
An: dev@netbeans.apache.org
Betreff: run plugin with latest version
Hi,
I build a plugin using maven and the nbm-maven-plugin in version 4.1. I was
targeting the platform version RELEASE82 during the development prozess.
I'd like to upgrade to version RELEASE110. The compile goal of maven work
fine with the version. However when I click on "Run" in the context menu it
always starts the plugin with NetBeans 8.2. This fails because of the
missing the dependencies.
What am I missing, that my plugin starts NetBeans in version 11?
Regards!