Maven variable for reactor root

后端 未结 7 1712
攒了一身酷
攒了一身酷 2020-12-07 22:41

In a multi-module maven project, is there a variable that points to the root project folder?

  • ${project.basedir} points to the current project\'s d
7条回答
  •  盖世英雄少女心
    2020-12-07 23:09

    is there a variable that always points to the root directory (the one from which the maven command was executed)

    user.dir (the working directory) should be that directory.

提交回复
热议问题