[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

  • From: Wade Chandler < >
  • To:
  • Subject: [nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)
  • Date: Fri, 01 Mar 2013 08:18:21 -0500

On 03/01/2013 08:13 AM, Wade Chandler wrote:
On 03/01/2013 07:58 AM, Jean-Marc Borer wrote:
After testing I can tell you that spec version doesn't work:

Failed to execute goal org.codehaus.mojo:nbm-maven-plugin:3.9:manifest
(default-manifest) on project core-services: Module has friend
dependency on org.netbeans.modules.xml but is not listed as a friend.

I need to use the impl dependency backdoor to work around this issue.
It will be a PITA, but my only solution currently. Any other
suggestions welcome for example how to override
org.netbeans.modules:org-netbeans-modules-xml module config to turn
autoload to false...



Yes, the only reason it doesn't work in this case, and which I missed in your other emails, was that you are depending on a module which uses service interfaces by way of a common and shared API, and thus there is no direct link to depend on the module which is autoload to cause it to load. Milos, this seems something that would be nice to add to the platform is a way to tell NB to load certain modules at the application level versus waiting on an explicit dependency to trigger it; this even for autoload. This is a clear example of why it is needed, and an obvious and clear use case to make the point. He will have to include what amounts to cruft for him to get this to work by way of schema or something else.


And for clarities sake for anyone else who may read this at some point, the only reason you are getting the friend dependency error is because you have a dependency in a direct module (core-services) versus just in application for the org.netbeans.modules:org-netbeans-modules-xml module as you are trying to force it to load because it is autoload. Were it eager or a normal module, then simply adding it as a dependency of application/pom.xml, and then depending on another module which depends on it would have worked for your case. But, since there is seemingly no way to tell the NB RCP subsystem...load this autoload module regardless...then it wouldn't work.

Wade

--

=================
Wade Chandler

Software Engineer and Consultant
NetBeans Contributor
NetBeans Dream Team Member

wadechandler.com
netbeans.org



[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

(continued)

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Wade Chandler 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Wade Chandler 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Wade Chandler 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Wade Chandler 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Milos Kleint 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Milos Kleint 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Milos Kleint 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Milos Kleint 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Jean-Marc Borer 03/01/2013

[nbdev] Re: Maven Netbeans builds and dependencies issues (especially transitive ones)

Wade Chandler 03/01/2013

Project Features

About this Project

www was started in November 2009, is owned by jpirek, and has 21 members.
By use of this website, you agree to the NetBeans Policies and Terms of Use (revision 20140418.2d69abc). © 2013, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo
 
 
Close
loading
Please Confirm
Close