ok clear. is there any way/trick to use that dependency with specification version?

Thanks you

Le 05/12/2021 à 13:48, Geertjan Wielenga a écrit :
You’ll have to create a separate NBM per version of NetBeans that you’re targeting if you’re using implementation versions.

Gj

On Sun, 5 Dec 2021 at 13:30, Bilu <albi...@gmail.com <mailto:albi...@gmail.com>> wrote:

    Any help on this thread?

    Le 03/12/2021 à 13:48, Bilu Al a écrit :
    Hello,
    I am following this tutorial:
    https://netbeans.apache.org/wiki/DevFaqAddTimestampToLogs.asciidoc
    <https://netbeans.apache.org/wiki/DevFaqAddTimestampToLogs.asciidoc>
    In Step 4 there is a use of implementation version of module
    org-netbeans-core-startup
    
<plugin><artifactId>nbm-maven-plugin</artifactId><groupId>org.codehaus.mojo</groupId><extensions>true</extensions><configuration><moduleDependencies><dependency><!--Private
    Package
    
Reference--><id>org.netbeans.modules:org-netbeans-core-startup</id>*<type>impl</type>*</dependency></moduleDependencies></configuration></plugin>
    The issue i am facing is that when i release the plugin (create
    the nbm) with Netbeans 12.5 for example and i want to install the
    module in another version of Netbeans let's say 12.4 for
    example(or the other way around) i am getting following error:
    image.png
    Any clue on how to fix this issue so the plugin is not restricted
    to only 12.5?

Reply via email to