GitHub user charly4711 added a comment to the discussion: Cannot get Implementation Dependency to work in Maven NB Module project
*facepalm* OK, I'm a bit of an idiot. While the page here shows a snippet for the maven-jar-plugin and how you need to configure that ... https://bits.netbeans.org/mavenutilities/nbm-maven-plugin/nbm-maven-plugin/manifest-mojo.html ... the actual module dependencies configuration does NOT go there but into the configuration for the nbm-maven-plugin ... kinda obvious once you know it :S ``` <plugin> <groupId>org.apache.netbeans.utilities</groupId> <artifactId>nbm-maven-plugin</artifactId> <version>14.5</version> <extensions>true</extensions> <configuration> <useOSGiDependencies>true</useOSGiDependencies> <moduleDependencies> <dependency> <id>org.netbeans.modules:org-netbeans-modules-maven</id> <type>impl</type> </dependency> <dependency> <id>org.netbeans.modules:org-netbeans-modules-maven-indexer</id> <type>impl</type> </dependency> </moduleDependencies> </configuration> </plugin> ``` I'm getting a follow-up error for missing classes, but with verifyRuntime = warn, I can compile the module. GitHub link: https://github.com/apache/netbeans/discussions/9416#discussioncomment-17118789 ---- This is an automatically sent email for [email protected]. To unsubscribe, please send an email to: [email protected] --------------------------------------------------------------------- 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
