Maven exec plugin- how to include “system” classpath?

后端 未结 4 783
情话喂你
情话喂你 2020-12-17 14:35

I have a project that uses \"system\" scope to specify a jar file included in my project\'s WEB-INF/lib dir. This artifact is not in any of the maven repositori

4条回答
  •  挽巷
    挽巷 (楼主)
    2020-12-17 15:21

    The right answer is to use the maven-install-plugin and Put The Jar Into Your Local Repo. Or, better yet, run nexus or artifactory and use the deploy plugin to put the jar into there. System classpath is just a world of hurt.

提交回复
热议问题