NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

unable to verify plugin

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers
View previous topic :: View next topic  
Author Message
mcheung63



Joined: 18 Dec 2014
Posts: 143
Location: Hong Kong

PostPosted: Sat Apr 15, 2017 7:51 am    Post subject: unable to verify plugin Reply with quote

Hi All
Please help. I am unable to verify my plugin because I used this:


<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-editor-bookmarks</artifactId>
<version>RELEASE82</version>
</dependency>


The error I saw on the portal is:


Plugin has hard dependency to other modules defined in info.xml module descriptor, therefore can't be subject of verification. For more information see issue #226906



Below are my pom.xml:


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.mcheung63</groupId>
<artifactId>netbeans-minimap</artifactId>
<version>2.8</version>
<packaging>nbm</packaging>
<name>Minimap</name>
<description>Display the code minimap, programmer can overlook their code.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<developers>
<developer>
<name>Peter</name>
<email>address-removed</email>
<roles>
<role>Founder</role>
</roles>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<version>3.13</version>
<extensions>true</extensions>
<configuration>
<!--<useOSGiDependencies>false</useOSGiDependencies>-->
<moduleDependencies>
<dependency>
<id>org.netbeans.api:org-netbeans-modules-editor-lib2</id>
<type>impl</type>
</dependency>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-bookmarks</id>
<type>impl</type>
</dependency>
<!--
<dependency>
<id>org.netbeans.api:org-netbeans-modules-java-source</id>
<type>impl</type>
</dependency>
-->
<!--
<dependency>
<id>org.netbeans.api:org-netbeans-modules-editor-fold</id>
<type>impl</type>
</dependency>
-->
</moduleDependencies>




<codeNameBase>com.github.mcheung63.netbeans.minimap</codeNameBase>
<author>Peter (address-removed)</author>
<homePageUrl>https://github.com/mcheung63/netbeans-minimap</homePageUrl>
<keystore>keystore</keystore>
<keystorealias>minimap</keystorealias>
<licenseName>GPL 3.0</licenseName>
<licenseFile>LICENSE.txt</licenseFile>
<!-- <publicPackages>
<publicPackage>com.github.mcheung63.netbeans.minimap</publicPackage>
</publicPackages>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>netbeans</id>
<name>Repository hosting NetBeans modules</name>
<url>http://bits.netbeans.org/nexus/content/groups/netbeans</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-api-annotations-common</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-io</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-text</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
<version>3.7.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-java-source-base</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-filesystems</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-loaders</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-libs-javacapi</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>com.github.mcheung63</groupId>
<artifactId>peter-swing</artifactId>
<version>20160618</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util-lookup</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-settings</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-mimelookup</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-awt</artifactId>
<version>RELEASE82</version>
</dependency>
<!--
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-fold</artifactId>
<version>RELEASE82</version>
</dependency>
-->
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-java-source</artifactId>
<version>RELEASE82</version>
</dependency>
<!--
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util-ui</artifactId>
<version>RELEASE82</version>
</dependency>
-->
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-lib2</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-editor-bookmarks</artifactId>
<version>RELEASE82</version>
</dependency>
</dependencies>
</project>

thanks
from Peter
Back to top
emi



Joined: 14 Aug 2009
Posts: 245

PostPosted: Mon Apr 17, 2017 10:23 am    Post subject: unable to verify plugin Reply with quote

My guess <type>impl</type> might have something to do with it. It's hard to read the pom when you also have comments in the XML.

It's unfortunate you are using GPL v3 since that's not compatible with either the current CDDL and GPL v2 w/CPE or the future Apache 2.0 license. So if we want to offer this feature out of the box we will have to reimplement it. Although I believe there was another module for source code map...



--emi





On Sat, Apr 15, 2017 at 10:52 AM, mcheung63 <address-removed ([email]address-removed[/email])> wrote:
Quote:
Hi All
Please help. I am unable to verify my plugin because I used this:


<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-editor-bookmarks</artifactId>
<version>RELEASE82</version>
</dependency>


The error I saw on the portal is:


Plugin has hard dependency to other modules defined in info.xml module descriptor, therefore can't be subject of verification. For more information see issue #226906



Below are my pom.xml:


<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.github.mcheung63</groupId>
<artifactId>netbeans-minimap</artifactId>
<version>2.8</version>
<packaging>nbm</packaging>
<name>Minimap</name>
<description>Display the code minimap, programmer can overlook their code.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
</properties>
<developers>
<developer>
<name>Peter</name>
<email>address-removed</email>
<roles>
<role>Founder</role>
</roles>
</developer>
</developers>
<build>
<plugins>
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<version>3.13</version>
<extensions>true</extensions>
<configuration>
<!--<useOSGiDependencies>false</useOSGiDependencies>-->
<moduleDependencies>
<dependency>
<id>org.netbeans.api:org-netbeans-modules-editor-lib2</id>
<type>impl</type>
</dependency>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-editor-bookmarks</id>
<type>impl</type>
</dependency>
<!--
<dependency>
<id>org.netbeans.api:org-netbeans-modules-java-source</id>
<type>impl</type>
</dependency>
-->
<!--
<dependency>
<id>org.netbeans.api:org-netbeans-modules-editor-fold</id>
<type>impl</type>
</dependency>
-->
</moduleDependencies>




<codeNameBase>com.github.mcheung63.netbeans.minimap</codeNameBase>
<author>Peter (address-removed)</author>
<homePageUrl>https://github.com/mcheung63/netbeans-minimap</homePageUrl>
<keystore>keystore</keystore>
<keystorealias>minimap</keystorealias>
<licenseName>GPL 3.0</licenseName>
<licenseFile>LICENSE.txt</licenseFile>
<!-- <publicPackages>
<publicPackage>com.github.mcheung63.netbeans.minimap</publicPackage>
</publicPackages>-->
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-compiler-plugin</artifactId>
<version>2.5.1</version>
<configuration>
<source>1.6</source>
<target>1.6</target>
</configuration>
</plugin>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-jar-plugin</artifactId>
<version>2.4</version>
<configuration>
<useDefaultManifestFile>true</useDefaultManifestFile>
</configuration>
</plugin>
</plugins>
</build>
<repositories>
<repository>
<id>netbeans</id>
<name>Repository hosting NetBeans modules</name>
<url>http://bits.netbeans.org/nexus/content/groups/netbeans</url>
<snapshots>
<enabled>false</enabled>
</snapshots>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-api-annotations-common</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-io</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-text</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>com.miglayout</groupId>
<artifactId>miglayout</artifactId>
<version>3.7.4</version>
<type>jar</type>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-java-source-base</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-filesystems</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-loaders</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-libs-javacapi</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>com.github.mcheung63</groupId>
<artifactId>peter-swing</artifactId>
<version>20160618</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util-lookup</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-settings</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-mimelookup</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-awt</artifactId>
<version>RELEASE82</version>
</dependency>
<!--
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-fold</artifactId>
<version>RELEASE82</version>
</dependency>
-->
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-java-source</artifactId>
<version>RELEASE82</version>
</dependency>
<!--
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-openide-util-ui</artifactId>
<version>RELEASE82</version>
</dependency>
-->
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-editor-lib2</artifactId>
<version>RELEASE82</version>
</dependency>
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-editor-bookmarks</artifactId>
<version>RELEASE82</version>
</dependency>
</dependencies>
</project>

thanks
from Peter




Back to top
mcheung63



Joined: 18 Dec 2014
Posts: 143
Location: Hong Kong

PostPosted: Tue May 02, 2017 2:45 am    Post subject: Reply with quote

thanks Buddy
Back to top
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Developers All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo