late reply but:

the maven central index does not contain class names anymore. So you will only see results there once you have the artifact in your local .m2 repository since NetBeans indexes that one too.

so once you press build you will see results, since it downloads the dependencies into your local .m2 repo.

-mbien


On 31.10.22 15:16, name name2 wrote:
        <dependency>
            <groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-projectuiapi</artifactId>
            <version>${netbeans.version}</version>
        </dependency>


This was helped with clean & build


пн, 31 окт. 2022 г. в 16:29, name name2 <andreybr...@gmail.com>:

    image.png

    пн, 31 окт. 2022 г. в 16:20, name name2 <andreybr...@gmail.com>:

        Hello

        Can't locate maven module name for code:

        import org.openide.util.lookup.ServiceProvider;
        import *org.netbeans.spi.project.ProjectFactory*;

        @ServiceProvider(service = *ProjectFactory.class*)
        public class BananaProjectFactory implements ProjectFactory {

        }

Reply via email to