On Tue, 19 Jul 2022 at 21:36, Svata Dedic <[email protected]> wrote: > > On 19. 07. 22 18:32, Peter Cheung wrote: > > Hi > > > > I am creating a new project type for RISC-V. The below code only work > > when my netbeans loaded maven plugin. Is it possible to let netbeans load > > my plugin and auto load maven plugin together? > > > > Well, that's bad. Maven module's API is just 'friend API'; so it is only > available to a certain set of modules. Mainly because the API is too > broad and the original author perhaps did not feel (?) it's rock solid > to be published and maintained for good. > > If it was a regular API, you could just add a module dependency.
Well, I'll +1 a PR to stop it being a friend API. It's been like that for a long time, it's got a friends list as long as your arm, some of which are external. It's just API by stealth now. Best wishes, Neil --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] For further information about the NetBeans mailing lists, visit: https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists
