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

前端 未结 24 2894
萌比男神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 02:10

    This doesn't answer how to add them to your POM, and may be a no brainer, but would just adding the lib dir to your classpath work? I know that is what I do when I need an external jar that I don't want to add to my Maven repos.

    Hope this helps.

提交回复
热议问题