You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@netbeans.apache.org by GitBox <gi...@apache.org> on 2022/03/27 17:05:16 UTC

[GitHub] [netbeans-mavenutils-nbm-maven-plugin] matthiasblaesing commented on pull request #28: [NETBEANSINFRA-264] Include runtime module libraries

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: notifications-unsubscribe@netbeans.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@netbeans.apache.org
For additional commands, e-mail: notifications-help@netbeans.apache.org

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