mojohaus / nbm-maven-plugin

moved to https://github.com/apache/incubator-netbeans-mavenutils/
http://www.mojohaus.org/nbm-maven-plugin/
24 stars 19 forks source link

ModuleDependencies #8

Open vindiagram opened 9 years ago

vindiagram commented 9 years ago

I have a project where I have a pom dependency with a scope of provided that within it has a list of dependencies. This allows my project to pull down and add these dependencies to the class path. But if i were to specify a module Dependency within the plugin configuration it will not modify the manifest and add the module dependency unless my project explicitly has the dependency specified in the project. It would be nice if the plugin would recognize inherited dependencies or allow me to explicitly specify the dependencies in the configuration without having them explicitly defined in my project.

mkleint commented 9 years ago

direct and transitive dependencies have different meaning within the context of nbm project. Your pom dependency should have the scope of 'import', not 'provided' and then it will likely work as expected.