NetBeans Forums
| View previous topic :: View next topic |
| Author |
Message |
erwann
Joined: 09 Sep 2010 Posts: 12
|
Posted: Thu Sep 16, 2010 1:32 pm Post subject: Error "would also need to be installed" with maven dependencies cluster |
|
|
Hi,
I'm using Netbeans 6.9 with maven plugin 4.6.1.
I have three modules :
- maven NB module
- maven NB cluster
- maven NB app
In the pom.xml of the module, I define jar dependencies like this one :
| Code: |
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-projectuiapi</artifactId>
<version>${netbeans.version}</version>
</dependency>
|
In the cluster I define nbm dependencies like this one :
| Code: |
<dependency>
<groupId>org.netbeans.api</groupId>
<artifactId>org-netbeans-modules-projectuiapi</artifactId>
<version>${netbeans.version}</version>
<type>nbm</type>
</dependency>
|
Moreover, there is one dependencies to the module.
Finally, in the app, I define dependencies to the cluster.
The three modules build is ok.
But at runtime, I get errors like these :
Warning - could not install some modules:
org.netbeans.modules.java.source - The module org.netbeans.modules.projectuiapi would also need to be installed.
org.netbeans.modules.java.preprocessorbridge - None of the modules providing the capability org.netbeans.modules.java.preprocessorbridge.spi.JavaSourceUtilImpl could be installed.
What is wrong ? Any idea ?
Thanks in advance. |
|
| Back to top |
|
 |
|
|
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 can attach files in this forum You can download files in this forum
|
|