NetBeans Forums

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

Error "would also need to be installed" with maven dependencies cluster

 
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users
View previous topic :: View next topic  
Author Message
erwann



Joined: 09 Sep 2010
Posts: 12

PostPosted: Thu Sep 16, 2010 1:32 pm    Post subject: Error "would also need to be installed" with maven dependencies cluster Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> NetBeans Users 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 can 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