Maven - installing artifacts to a local repository in workspace

后端 未结 4 1203
轮回少年
轮回少年 2020-12-08 10:39

I\'d like to have a way in which \'mvn install\' puts files in a repository folder under my source (checkout) root, while using 3rd party dependencies from ~/.m2/repository.

4条回答
  •  一整个雨季
    2020-12-08 11:14

    FYI: symlinks work in Windows7 and above so this kind of thing is easy to achieve if all your code goes in the same place in the local repo, i.e /com/myco/.

    type mklink for details

提交回复
热议问题