Quantcast

unable to verify plugin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

unable to verify plugin

mcheung63
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




Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: unable to verify plugin

Emilian Bold-2
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 <[hidden email]> wrote:
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





Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

unable to verify plugin

mcheung63
In reply to this post by mcheung63
thanks Buddy




Loading...