Been 3 days going crazy, not even grok, chatgpt or gemini can help me (and
they have tried hard)

Is it possible to use NbMavenProject from a plugin that i make if my plugin
is not a "friend dependency" Nomatter what i try, the plugins classloader
wont make see it at runtime.

Also, what is going on with this org.jspecify.jspecify is that in a
different maven repo? Its not in central

<dependency>
            <groupId>org.netbeans.modules</groupId>
            <artifactId>org-netbeans-modules-maven-apisupport</artifactId>
            <version>${netbeans.version}</version>
            <exclusions>
                <exclusion>
                    <groupId>org.jspecify.jspecify</groupId>
                    <artifactId>jspecify</artifactId>
                </exclusion>
            </exclusions>
            <scope>provided</scope>
        </dependency>

What are you supposed to do to use maven apis from a plugin? Is it possible?

Reply via email to