How to include predefined set of netbeans platform modules in maven project?

The error-message "Module dependency has friend dependency ... but is not listed as friend" means that you need to specify an implementation version of org.netbeans.modules.options.editor. You can achieve this by editing src/main/nbm/module. Xml to contain the following entry (I didn't use the actually needed values here.

Make sure to find out which values to enter for id and explicitValue to satisfy the dependencies (You can find explanations / instructions in the article linked below).

The error-message "Module dependency has friend dependency ... but is not listed as friend" means that you need to specify an implementation version of org.netbeans.modul" rel="nofollow">org.netbeans.modules.options.editor. You can achieve this by editing src/main/nbm/module. Xml to contain the following entry (I didn't use the actually needed values here.

Make sure to find out which values to enter for id and explicitValue to satisfy the dependencies (You can find explanations / instructions in the article linked below): org.netbeans. Modules:org-netbeans-modules-editor impl org.netbeans.modul" rel="nofollow">org.netbeans.modules. Editor/1 = 201107282000 I'm pretty sure that the following article will explain some issues and help you find out the needed values for id and explicitValue (language is english, author is me): blog.macrominds.de/2011/08/open-favorite... I'm currently having related problems with my application, so I might come back with a more concrete solution in a while.

The easiest way is to grab a class that its complaining about, say "org.netbeans.modules.editor. Actions" and go to the Add Dependencies and plug it into the Query field. From there you should be able to tell which module you will need to include.

Thanks for your reply. That's what I was trying to do. I have parent maven project which has multiple modules, one of which is the main application and others are modules.

Which project I should add these dependencies too? I have tried to add these dependencies using Add Dependencies, but it the modules themselves complained that their dependencies are not satisfied. I think, I have to include complete modules somehow ... – Martin Vejmelka Apr 17 at 7:07 @Martin You should only add dependencies to the module that you're working on.

The main project/platform app (the one with the orange icon) doesn't need to know anything about the dependencies of any of the modules living beneath it. Also remember that when you build your main project the files are being pulled from your local maven repo, not from the project/dist folder where ANT pulls them from - sometimes this causes an issue, as you have to build the module before you can run the main project. – Tim Sparg Apr 17 at 8:40 still can't get it working... I am adding the dependencies just for the module I am working on.

I followed this tutorial: platform.netbeans. Org/tutorials/60/nbm-copyfqn. Html (but wanted to make it with the maven)... So I tried to add deps for Java Source API.

The application on startup throws a window containing information about missing modules, which should be installed. – Martin Vejmelka Apr 20 at 8:25 I tried to package complete application with maven package, but when I look to the resulting archive, there are no *jar files or modules for java source api... should I tell Maven somehow to package these files into resulting zip file? – Martin Vejmelka Apr 20 at 8:50 Now I tried to add all dependencies, but for some dependencies it complains: 'Module dependency has friend dependency on org.netbeans.modules.options.

Editor/1but is not listed as friend. ' – Martin Vejmelka Apr 20 at 12:04.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions