Hi,
@Eric thanks for your hints. It helps me to found the needed maven archetype

I have found in the IDE the way to create a new Netbeans-maven-based-Projekt 
based on maven-archetypes

New Project...-->Java with Maven-->Project from Archetype-->nbm-suite-root

The created Project allows to add my existing Netbeans-Plugin-Modules.

But I cauld not figure out how to configure this parent-pom to 
1. run the complete cluster of modules in the Netbeans-IDE
2. create a single plugin for the ide as an nbm file

I have added the goals

<goals>
      <goal>cluster</goal>
      <goal>nbm</goal>
      <goal>run-ide</goal>
</goals>

My hope was that the cluster-goal collects the data from all of my plugin-
modules and the nbm-gaol creates a single nbm from that and the run-ide allows 
mit to install this plugin in my running ide. 

But nothing of this happens.

I had also a look at several netbeans-plugins and found none which do is build 
by a bundle of modules. 

So I am no longer sure if it is possible with the available maven-plugins.

I have found

https://github.com/mgeee35/easyUML

EasyUML also contains of several netbeans-plugin-modules which should be 
installed in the ide all together. So others have the same problem.

To make them available all together several nbm-files are saved seperately and 
an update center ist configured to install them.

But I think from the point of usability it really needs to bundle all modules/
seperate nbms together to one single-plugin which I can publish via the 
netbeans-update-center. 

I have 20 plugin-modules which partially depend from each other. It does not 
make sense to publish all of them seperate into the netbeans-update center and 
tell the users that they have to install them all seperatly.

Andy ideas to manage this?

Best regards
Oliver

> Hi,
>  The nbm-suite-root is not used in the ide. I cannot remember if it was in
> at some point.
> 
> To use it you need to execute mvn archetype:generate, filter the result (for
> me more than 2000 results) using nbm choose the right number to use the
> archetype nbm-suite-root, and then use the prompt to finish entering
> project value.
> 
> The resulting pom will need update, (NetBeans version, repository usage,
> plugins versions)
> 
> Best Regards
> Eric
> 
> -----Message d'origine-----
> De : Oliver Rettig <oliver.ret...@orat.de>
> Envoyé : jeudi 25 juillet 2024 09:36
> À : NetBeans Mailing List <users@netbeans.apache.org>
> Objet : Re: Missing the menu entry File-->New Project-->Java with
> Maven-->Netbeans Module Suite
> 
> Maybe
> 
> https://github.com/apache/netbeans-mavenutils-archetype-nbm-suite-root/tree/
> master
> 
> can help. But how to use it?
> 
> best regards
> Oliver
> 
> > Hi,
> > 
> > I am missing the menus entry
> > 
> > Missing File-->New Project-->Java with Maven-->Netbeans Module Suite
> > 
> > to create a maven based Netbeans Module Suite.
> > 
> > The corresponding menu entry is available for ant based modules.
> > 
> > I want to create a plugin for the Netbeans IDE which is based on several
> > modules bundled to a module suite because I want to create a single
> > netbeans ide plugin which contains the functionality of this set of
> > modules.
> > 
> > Any source code example? There must be lots of plugins to do this.
> > 
> > I can create the structure with specificy pom-files by hand but I think it
> > is timeconsuming to figure out what is needed.
> > 
> > Maybe
> > 
> > Missing File-->New Project-->Java with Maven-->Netbeans Application
> > 
> > and deleting all of the things I do not need and adding the configuration
> > to bundle all to a nbm is another way. But what I have to add to bundle a
> > single nbm?
> > 
> > best regards
> > Oliver
> > 
> > 
> > 
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: users-unsubscr...@netbeans.apache.org
> > For additional commands, e-mail: users-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: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-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: users-unsubscr...@netbeans.apache.org
> For additional commands, e-mail: users-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: users-unsubscr...@netbeans.apache.org
For additional commands, e-mail: users-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