You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@netbeans.apache.org by Michael Bien <mb...@gmail.com> on 2022/11/11 01:46:21 UTC
Re: Search for maven dependency
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 <an...@gmail.com>:
>
> image.png
>
> пн, 31 окт. 2022 г. в 16:20, name name2 <an...@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 {
>
> }
>