Hi Peter, You can put the netbeans.installation parameter in the settings.xml so it's not in the pom. (resolve project problem should appears)
If you plan to give plugin to others. You will give them nbm file they will install and they will not have to change their settings. You can install/reload also your plugin to test this behavior. Regards Eric -----Message d'origine----- De : Peter Cheung <mcheun...@hotmail.com> Envoyé : jeudi 10 octobre 2019 08:49 À : dev@netbeans.apache.org Objet : Re: nbm-maven-plugin detected wrong path Hi All I check the source code of nbm-maven-plugin https://github.com/mojohaus/nbm-maven-plugin/blob/4f25f6a3f80f97a0fd9986b7df 38e7e9ed58d263/nbm-maven-plugin/src/main/java/org/codehaus/mojo/nbm/RunNetBe ansMojo.java . It has no code to set the variable "netbeans.installation", so it probably netbeans pass this var to it. Is there any UI/tool/whatever i can view the value of this variable? thanks Peter ________________________________ From: Peter Cheung <mcheun...@hotmail.com> Sent: Thursday, October 10, 2019 2:37 PM To: dev@netbeans.apache.org <dev@netbeans.apache.org> Subject: nbm-maven-plugin detected wrong path Hi Why my nbm-maven-plugin is detecting a wrong path, so when i run the netbeans module, it said: Failed executing NetBeans: Error while executing process. Cannot run program "/Users/peter/workspace/netbeans-quick-outline/VALUE/bin/netbeans": error=2, No such file or directory When i click the about dialog, the "user directory" path is correct. I don't want to specific <netbeansInstallation> in pom.xml, because not everyone using same installation path. Please tell me how to fix? Thanks >From Peter --------------------------------------------------------------------- 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