Can I add jars to maven 2 build classpath without installing them?

前端 未结 24 2574
萌比男神i
萌比男神i 2020-11-22 01:41

Maven2 is driving me crazy during the experimentation / quick and dirty mock-up phase of development.

I have a pom.xml file that defines the dependenc

24条回答
  •  北海茫月
    2020-11-22 01:55

    The problem with systemPath is that the dependencies' jars won't get distributed along your artifacts as transitive dependencies. Try what I've posted here: Is it best to Mavenize your project jar files or put them in WEB-INF/lib?

    Then declare dependencies as usual.

    And please read the footer note.

提交回复
热议问题