IntelliJ: Working on multiple projects

前端 未结 19 2034
抹茶落季
抹茶落季 2020-11-27 09:18

We build in maven multiple projects (let\'s name them A,B,C). Project A uses .jar of project B which uses .jar of project C.

I am modifying codes of all A/B/C projec

19条回答
  •  眼角桃花
    2020-11-27 09:34

    I am new to maven and did not understand how I could work with local maven project added through Viktor Nordling's answer and still have a proper dependency in pom.xml file. The answer is simple: intellij first looks at your locally added module and if it doesn't find one it goes to get the project remotely. You can check this by looking at "external libraries" under your project browser when you add or remove maven module.

    Hope this helps anyone.

提交回复
热议问题