Multiple Dependency Scopes in POM

后端 未结 6 1770
离开以前
离开以前 2021-02-05 01:02

I have a dependency in my POM that needs to be set to \"provided\" so it is not included at compilation, but it can still be referenced within my project. I would like the same

6条回答
  •  北海茫月
    2021-02-05 01:45

    Have the same issue, reason why i need two scopes for the same dependency is on phase integrating test i use jetty-plugin for run rest service, and make some JUnit testing while jetty is running, but i compile my package for jboss as, where i already have "resteasy-cdi", than absent for jetty servlet container...I have no found solution yet.

提交回复
热议问题