Where is Maven Installed on Ubuntu

后端 未结 6 876
借酒劲吻你
借酒劲吻你 2020-12-12 14:47

I installed maven on my Ubuntu machine with the command sudo apt-get install maven

Now I need to know where it is installed in order to configure the sa

6条回答
  •  盖世英雄少女心
    2020-12-12 15:13

    I would like to add that .m2 folder a lot of people say it is in your home folder. It is right. But if use maven from ready to go IDE like Spring STS then your .m2 folder is placed in root folder

    To access root folder you need to switch to super user account

    sudo su

    Go to root folder

    cd root/

    You will find it by

    cd -all

提交回复
热议问题