【发布时间】:2015-10-29 10:07:50
【问题描述】:
当我尝试运行主模块时,我收到一个名为 Model-Configuration 的子模块的以下警告
Warning - could not install some modules:
Model Configuration - The module named org.netbeans.modules.gsf.testrunner/1 was needed and not found.
15 further modules could not be installed due to the above problems.
我已经在Model-Configuration的pom中指定了依赖如下。
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>nbm-maven-plugin</artifactId>
<extensions>true</extensions>
<configuration>
<moduleDependencies>
<dependency>
<id>org.netbeans.modules:org-netbeans-modules-gsf-testrunner</id>
<type>impl</type>
<explicitValue>org.netbeans.modules.gsf.testrunner/1 = 201508041349</explicitValue>
</dependency>
</moduleDependencies>
</configuration>
</plugin>
<dependencies>
<dependency>
<groupId>org.netbeans.modules</groupId>
<artifactId>org-netbeans-modules-gsf-testrunner</artifactId>
<exclusions>
<exclusion>
<artifactId>org-netbeans-modules-options-editor</artifactId>
<groupId>org.netbeans.modules</groupId>
</exclusion>
</exclusions>
</dependency>
<dependencies>
知道如何解决这个问题吗? 谢谢。
编辑:
这里实际上我的目的是从 netbeans 平台 RELEASE802 更新到 RELEASE81-BETA。 org.netbeans.modules.gsf.testrunner 依赖似乎是迄今为止唯一的问题。省略所有使用此依赖项的类时,应用程序运行良好,不会出现模块安装失败。
【问题讨论】:
-
这看起来像是 Netbeans 的 proelbme...而不是 maven...
标签: java maven netbeans netbeans-platform netbeans-plugins