Re: I am unable to verify my plugin
geertjan wielenga <[email protected]> Sat, 15 Apr 2017 17:55:16 +0200
| Newsgroups | gmane.comp.java.netbeans.modules.openide.devel |
|---|---|
| Organization | Oracle Corporation |
| Message-ID | <[email protected]> |
At this point, I'm going to ignore e-mails that don't explain WHY. I.e., in this case, WHY are you trying to install this plugin into your development IDE? What is it that you're trying to achieve with that and why is that so important to you? Also, can you remove the user directory, restart NetBeans, do the steps that cause the problem, then send a mail here with those exact steps, and include the log file. No one is going to respond to your mails if we have to guess your procedure, if we have to guess your environment, and if we have to guess the reasons for you doing the things you're doing. Gj On 15-4-2017 17:51, Peter Cheung wrote: > > Thanks again, please checkout the code from > https://github.com/mcheung63/netbeans-minimap > > > I finally can make the pom.xml able to compile and submit to plugin > portal without saying I used "hard dependency". But we I click > "Install/Reload in Development IDE", it said: > > > _NetBeans: Error redeploying NBM module in development IDE._ > > > Please help, and thanks > > Peter. > > > > ------------------------------------------------------------------------ > *From:* geertjan wielenga <[email protected]> > *Sent:* Saturday, April 15, 2017 11:42 PM > *To:* [email protected] > *Subject:* [platform-dev] Re: I am unable to verify my plugin > > > > On 14-4-2017 21:59, Peter Cheung wrote: >> >> Hi All >> >> Please help. I am unable to verify my plugin because I used this: >> > > Can you put the plugin somewhere so that someone can look at it? Right > now, it's not possible to help you. > > Normally, what this message means is that you're using an > implementation dependency of some kind. Can you put the plugin into > GitHub or somewhere like that and provide a reference to it here? > > Gj > >> >> <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 >> <https://netbeans.org/bugzilla/show_bug.cgi?id=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>[email protected]</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 ([email protected])</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 >