I answer my own question about the equivalent in Maven of the Ant release/modules directory. Use the nbmResources parameter of the nbm goal of the nbm plugin. https://bits.netbeans.org/mavenutilities/nbm-maven-plugin/nbm-maven-plugin/nbm-mojo.html#nbmResources
Jerome Le jeudi 18 mai 2023 à 23:17:59 UTC+2, Jerome Lelasseux <lelass...@yahoo.com.invalid> a écrit : What is the recommended way to bundle native libs in a module with Maven ? With Ant I just put the libs in <module>/release/modules/xx and I was able to find them via InstalledFileLocator.getDefault().locate(). Jerome PS: I finally managed to run my app with Maven. I'll publish my migration script soon, it was a good way to start learning Maven Le mardi 16 mai 2023 à 18:52:55 UTC+2, Jerome Lelasseux <lelass...@yahoo.com.invalid> a écrit : Thank you Eric, indeed my migration script mixed up . and -, and I also spotted some wrong ArtefactId references... I'll fix it! Jerome Le mardi 16 mai 2023 à 14:56:06 UTC+2, Eric Barboni <sk...@apache.org> a écrit : Hi Jerome, It seems that your artefactID from NetBeans are wrong Should be org-openide-loaders and not org.openide.loader Not sure how your pom is configured, but for artefact from NetBeans remove the explicit jar type. Typical dep looks like that not less not more (.. infact version could be set by bom setup to save time in upgrade to anticipated RELEASE180 :p) <dependency> <groupId>org.netbeans.api</groupId> <artifactId>org-openide-loaders</artifactId> <version>RELEASE170</version> </dependency> Best Regards Eric -----Message d'origine----- De : Tom Eicher <teic...@teicher.net> Envoyé : mardi 16 mai 2023 13:08 À : NetBeans Mailing List <users@netbeans.apache.org> Objet : Re: Migrating NB platform app to maven Hi Jerome, I would be really interested in this script. Cheers Tom. Am 16.05.23 um 00:01 schrieb Jerome Lelasseux: > PS: I used a bash script to automate the migration process as much as > possible. When I'm done I'll be happy to share it -there is not much > info on the web... --------------------------------------------------------------------- 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