GitHub user charly4711 added a comment to the discussion: Need help with dependency resolution on NBM
Thanks for the reply. I wasn't ready to share the code, yet, esp. because in my POC environment I had copied and refactored stuff over without giving proper credit to the original author etc. So, I went and cleaned it all up, did a proper fork etc. etc. ... and you know what? I can now deploy the module. It looks like my issues were a combination of clearing out some leftovers of earlier stages of the module, realizing one of my the dependencies I had upgraded was now using OSGi and apparently I have no idea how to make that work so I reverted to the version the original code used, adding two more dependencies for code analysis stuff maven does .... and lo and behold ... https://github.com/charly4711/maven.search.remote Unfortunately, now the code doesn't seem to do anything. I cannot get it to trigger in a debug session. This module is supposed to allow one to search maven repos online (if I'm getting the code correctly, from quick search) so you could potentially disable indexing of maven repos. The other day my maven index was 12 GB and I felt it might be worth doing that. On the other hand, while testing the module, I removed my maven index and later recreated it ... it is now 1GB, sooooooo. So, while I kinda wonder if the following maybe just doesn't work that way anymore (and being unable to find Maven-Indexer at https://bits.netbeans.org/dev/javadoc/ ... probably because it's not actually an API) ``` @ServiceProvider(service = RepositoryIndexQueryProvider.class, position = 100) public class MavenCentralOnlineRepositoryIndexQueryProvider implements RepositoryIndexQueryProvider { ``` ... the urgency is kinda gone. GitHub link: https://github.com/apache/netbeans/discussions/9419#discussioncomment-17157553 ---- 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
