matthiasblaesing commented on pull request #28:
URL: 
https://github.com/apache/netbeans-mavenutils-nbm-maven-plugin/pull/28#issuecomment-1079971368


   > However, only libraries with scope "compile" are recognized. If the module 
declares dependencies (direct or transitive) with scope "runtime" in its pom 
file, these libraries won't be included in the module's nbm file.
   
   From my perspective this is correct behavior. What else would you expect 
from scope "runtime"? "runtime" means, that the environment where the compiled 
module is deployed to, must supply the corresponding dependencies.
   
   Consider jgit: It is distributed with NetBeans IDE and you might or might 
not want to bundle the library. If you put the dependency on the runtime 
classpath, it will have to be provided by the runtime, if you put it onto the 
compile classpath, it should be bundled.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

For further information about the NetBeans mailing lists, visit:
https://cwiki.apache.org/confluence/display/NETBEANS/Mailing+lists

Reply via email to