Unable to get the maven installation pathHow can I create an executable JAR with dependencies using Maven?How to add local jar files to a Maven project?mvn eclipse:eclipse doesn't download other dependencies in Mac OS XHow do I install pip on macOS or OS X?how to force Maven 3.1 to use right version of Java on Mac OS 8.10?maven-3.2.1 already installed but not available in OSX YosemiteCan't build KAA on OS XI'm trying to install Apache Gobblin. How can I install it using Gradle?maven build works on windows but fails on linuxDoes requireProperty not require a typical maven property in maven enforcer?

What does "Puller Prush Person" mean?

Did Shadowfax go to Valinor?

Perform and show arithmetic with LuaLaTeX

What does it mean to describe someone as a butt steak?

How to regain access to running applications after accidentally zapping X.org?

A case of the sniffles

Why are electrically insulating heatsinks so rare? Is it just cost?

Why is consensus so controversial in Britain?

Was any UN Security Council vote triple-vetoed?

Codimension of non-flat locus

Is it legal for company to use my work email to pretend I still work there?

Can a monk's single staff be considered dual wielded, as per the Dual Wielder feat?

Alternative to sending password over mail?

Could an aircraft fly or hover using only jets of compressed air?

What typically incentivizes a professor to change jobs to a lower ranking university?

Is it unprofessional to ask if a job posting on GlassDoor is real?

What defenses are there against being summoned by the Gate spell?

Revoked SSL certificate

How do I deal with an unproductive colleague in a small company?

Decision tree nodes overlapping with Tikz

Paid for article while in US on F-1 visa?

"You are your self first supporter", a more proper way to say it

Operational amplifier as a comparator at high frequency

If human space travel is limited by the G force vulnerability, is there a way to counter G forces?



Unable to get the maven installation path


How can I create an executable JAR with dependencies using Maven?How to add local jar files to a Maven project?mvn eclipse:eclipse doesn't download other dependencies in Mac OS XHow do I install pip on macOS or OS X?how to force Maven 3.1 to use right version of Java on Mac OS 8.10?maven-3.2.1 already installed but not available in OSX YosemiteCan't build KAA on OS XI'm trying to install Apache Gobblin. How can I install it using Gradle?maven build works on windows but fails on linuxDoes requireProperty not require a typical maven property in maven enforcer?






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty height:90px;width:728px;box-sizing:border-box;








1















I have installed maven 3.6.0 in my mac using homebrew. When I try



mvn --version 


in my terminal, I get the



Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T05:41:47+11:00)
Maven home: /usr/local/Cellar/maven/3.6.0/libexec
Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
Default locale: en_AU, platform encoding: UTF-8
OS name: "mac os x", version: "10.14.3", arch: "x86_64", family: "mac"


But when I try ,



whereis mvn


I dont receive anything in return? Can someone let me know what I have done wrong in the installation










share|improve this question




























    1















    I have installed maven 3.6.0 in my mac using homebrew. When I try



    mvn --version 


    in my terminal, I get the



    Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T05:41:47+11:00)
    Maven home: /usr/local/Cellar/maven/3.6.0/libexec
    Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
    Default locale: en_AU, platform encoding: UTF-8
    OS name: "mac os x", version: "10.14.3", arch: "x86_64", family: "mac"


    But when I try ,



    whereis mvn


    I dont receive anything in return? Can someone let me know what I have done wrong in the installation










    share|improve this question
























      1












      1








      1








      I have installed maven 3.6.0 in my mac using homebrew. When I try



      mvn --version 


      in my terminal, I get the



      Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T05:41:47+11:00)
      Maven home: /usr/local/Cellar/maven/3.6.0/libexec
      Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
      Default locale: en_AU, platform encoding: UTF-8
      OS name: "mac os x", version: "10.14.3", arch: "x86_64", family: "mac"


      But when I try ,



      whereis mvn


      I dont receive anything in return? Can someone let me know what I have done wrong in the installation










      share|improve this question














      I have installed maven 3.6.0 in my mac using homebrew. When I try



      mvn --version 


      in my terminal, I get the



      Apache Maven 3.6.0 (97c98ec64a1fdfee7767ce5ffb20918da4f719f3; 2018-10-25T05:41:47+11:00)
      Maven home: /usr/local/Cellar/maven/3.6.0/libexec
      Java version: 11.0.2, vendor: Oracle Corporation, runtime: /Library/Java/JavaVirtualMachines/openjdk-11.0.2.jdk/Contents/Home
      Default locale: en_AU, platform encoding: UTF-8
      OS name: "mac os x", version: "10.14.3", arch: "x86_64", family: "mac"


      But when I try ,



      whereis mvn


      I dont receive anything in return? Can someone let me know what I have done wrong in the installation







      java macos maven mvn-repo






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Mar 21 at 22:44









      Mano KuganMano Kugan

      8012




      8012






















          2 Answers
          2






          active

          oldest

          votes


















          2














          If you're looking for the installation folder, mvn --version shows you the path.



          Maven home: /usr/local/Cellar/maven/3.6.0/libexec



          Even better, try:



          which mvn



          Reason why whereis couldn't return is explained here.






          share|improve this answer

























          • Yes I agree , but why doesnt whereis command return me that?

            – Mano Kugan
            Mar 21 at 22:51






          • 1





            @ManoKugan updated my answer.

            – user11239955
            Mar 21 at 23:00


















          0














          Download the Maven, for example apache-maven-3.x.x-bin.tar.gz. Extracts it,



          tar -xvf apache-maven-3.x.x-bin.tar.gz $pwd /Users/mkyong/apache-maven-3.x.x



          Copy



          2.2 – Set Maven command in environment variable.
          Update ~/. bash_profile – create this file if doesn’t exist.



          $ vim ~/.bash_profile



          Copy



          ~/.bash_profile



          export M2_HOME=/Users/mkyong/apache-maven-3.x.x export PATH=$PATH:$M2_HOME/bin



          Copy



          Restart the terminal. Test it.



          Then whereis mvn will work






          share|improve this answer























          • I have already refered to the MyKong tutorial and it didnt work

            – Mano Kugan
            Mar 21 at 23:01











          • Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

            – manoj mallick
            Mar 21 at 23:03












          Your Answer






          StackExchange.ifUsing("editor", function ()
          StackExchange.using("externalEditor", function ()
          StackExchange.using("snippets", function ()
          StackExchange.snippets.init();
          );
          );
          , "code-snippets");

          StackExchange.ready(function()
          var channelOptions =
          tags: "".split(" "),
          id: "1"
          ;
          initTagRenderer("".split(" "), "".split(" "), channelOptions);

          StackExchange.using("externalEditor", function()
          // Have to fire editor after snippets, if snippets enabled
          if (StackExchange.settings.snippets.snippetsEnabled)
          StackExchange.using("snippets", function()
          createEditor();
          );

          else
          createEditor();

          );

          function createEditor()
          StackExchange.prepareEditor(
          heartbeatType: 'answer',
          autoActivateHeartbeat: false,
          convertImagesToLinks: true,
          noModals: true,
          showLowRepImageUploadWarning: true,
          reputationToPostImages: 10,
          bindNavPrevention: true,
          postfix: "",
          imageUploader:
          brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
          contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
          allowUrls: true
          ,
          onDemand: true,
          discardSelector: ".discard-answer"
          ,immediatelyShowMarkdownHelp:true
          );



          );













          draft saved

          draft discarded


















          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55290330%2funable-to-get-the-maven-installation-path%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown

























          2 Answers
          2






          active

          oldest

          votes








          2 Answers
          2






          active

          oldest

          votes









          active

          oldest

          votes






          active

          oldest

          votes









          2














          If you're looking for the installation folder, mvn --version shows you the path.



          Maven home: /usr/local/Cellar/maven/3.6.0/libexec



          Even better, try:



          which mvn



          Reason why whereis couldn't return is explained here.






          share|improve this answer

























          • Yes I agree , but why doesnt whereis command return me that?

            – Mano Kugan
            Mar 21 at 22:51






          • 1





            @ManoKugan updated my answer.

            – user11239955
            Mar 21 at 23:00















          2














          If you're looking for the installation folder, mvn --version shows you the path.



          Maven home: /usr/local/Cellar/maven/3.6.0/libexec



          Even better, try:



          which mvn



          Reason why whereis couldn't return is explained here.






          share|improve this answer

























          • Yes I agree , but why doesnt whereis command return me that?

            – Mano Kugan
            Mar 21 at 22:51






          • 1





            @ManoKugan updated my answer.

            – user11239955
            Mar 21 at 23:00













          2












          2








          2







          If you're looking for the installation folder, mvn --version shows you the path.



          Maven home: /usr/local/Cellar/maven/3.6.0/libexec



          Even better, try:



          which mvn



          Reason why whereis couldn't return is explained here.






          share|improve this answer















          If you're looking for the installation folder, mvn --version shows you the path.



          Maven home: /usr/local/Cellar/maven/3.6.0/libexec



          Even better, try:



          which mvn



          Reason why whereis couldn't return is explained here.







          share|improve this answer














          share|improve this answer



          share|improve this answer








          edited Mar 21 at 22:59

























          answered Mar 21 at 22:48







          user11239955



















          • Yes I agree , but why doesnt whereis command return me that?

            – Mano Kugan
            Mar 21 at 22:51






          • 1





            @ManoKugan updated my answer.

            – user11239955
            Mar 21 at 23:00

















          • Yes I agree , but why doesnt whereis command return me that?

            – Mano Kugan
            Mar 21 at 22:51






          • 1





            @ManoKugan updated my answer.

            – user11239955
            Mar 21 at 23:00
















          Yes I agree , but why doesnt whereis command return me that?

          – Mano Kugan
          Mar 21 at 22:51





          Yes I agree , but why doesnt whereis command return me that?

          – Mano Kugan
          Mar 21 at 22:51




          1




          1





          @ManoKugan updated my answer.

          – user11239955
          Mar 21 at 23:00





          @ManoKugan updated my answer.

          – user11239955
          Mar 21 at 23:00













          0














          Download the Maven, for example apache-maven-3.x.x-bin.tar.gz. Extracts it,



          tar -xvf apache-maven-3.x.x-bin.tar.gz $pwd /Users/mkyong/apache-maven-3.x.x



          Copy



          2.2 – Set Maven command in environment variable.
          Update ~/. bash_profile – create this file if doesn’t exist.



          $ vim ~/.bash_profile



          Copy



          ~/.bash_profile



          export M2_HOME=/Users/mkyong/apache-maven-3.x.x export PATH=$PATH:$M2_HOME/bin



          Copy



          Restart the terminal. Test it.



          Then whereis mvn will work






          share|improve this answer























          • I have already refered to the MyKong tutorial and it didnt work

            – Mano Kugan
            Mar 21 at 23:01











          • Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

            – manoj mallick
            Mar 21 at 23:03
















          0














          Download the Maven, for example apache-maven-3.x.x-bin.tar.gz. Extracts it,



          tar -xvf apache-maven-3.x.x-bin.tar.gz $pwd /Users/mkyong/apache-maven-3.x.x



          Copy



          2.2 – Set Maven command in environment variable.
          Update ~/. bash_profile – create this file if doesn’t exist.



          $ vim ~/.bash_profile



          Copy



          ~/.bash_profile



          export M2_HOME=/Users/mkyong/apache-maven-3.x.x export PATH=$PATH:$M2_HOME/bin



          Copy



          Restart the terminal. Test it.



          Then whereis mvn will work






          share|improve this answer























          • I have already refered to the MyKong tutorial and it didnt work

            – Mano Kugan
            Mar 21 at 23:01











          • Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

            – manoj mallick
            Mar 21 at 23:03














          0












          0








          0







          Download the Maven, for example apache-maven-3.x.x-bin.tar.gz. Extracts it,



          tar -xvf apache-maven-3.x.x-bin.tar.gz $pwd /Users/mkyong/apache-maven-3.x.x



          Copy



          2.2 – Set Maven command in environment variable.
          Update ~/. bash_profile – create this file if doesn’t exist.



          $ vim ~/.bash_profile



          Copy



          ~/.bash_profile



          export M2_HOME=/Users/mkyong/apache-maven-3.x.x export PATH=$PATH:$M2_HOME/bin



          Copy



          Restart the terminal. Test it.



          Then whereis mvn will work






          share|improve this answer













          Download the Maven, for example apache-maven-3.x.x-bin.tar.gz. Extracts it,



          tar -xvf apache-maven-3.x.x-bin.tar.gz $pwd /Users/mkyong/apache-maven-3.x.x



          Copy



          2.2 – Set Maven command in environment variable.
          Update ~/. bash_profile – create this file if doesn’t exist.



          $ vim ~/.bash_profile



          Copy



          ~/.bash_profile



          export M2_HOME=/Users/mkyong/apache-maven-3.x.x export PATH=$PATH:$M2_HOME/bin



          Copy



          Restart the terminal. Test it.



          Then whereis mvn will work







          share|improve this answer












          share|improve this answer



          share|improve this answer










          answered Mar 21 at 22:58









          manoj mallickmanoj mallick

          123




          123












          • I have already refered to the MyKong tutorial and it didnt work

            – Mano Kugan
            Mar 21 at 23:01











          • Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

            – manoj mallick
            Mar 21 at 23:03


















          • I have already refered to the MyKong tutorial and it didnt work

            – Mano Kugan
            Mar 21 at 23:01











          • Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

            – manoj mallick
            Mar 21 at 23:03

















          I have already refered to the MyKong tutorial and it didnt work

          – Mano Kugan
          Mar 21 at 23:01





          I have already refered to the MyKong tutorial and it didnt work

          – Mano Kugan
          Mar 21 at 23:01













          Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

          – manoj mallick
          Mar 21 at 23:03






          Hi, so you installed first time how , like what are the steps you followed & which Mac version you are using

          – manoj mallick
          Mar 21 at 23:03


















          draft saved

          draft discarded
















































          Thanks for contributing an answer to Stack Overflow!


          • Please be sure to answer the question. Provide details and share your research!

          But avoid


          • Asking for help, clarification, or responding to other answers.

          • Making statements based on opinion; back them up with references or personal experience.

          To learn more, see our tips on writing great answers.




          draft saved


          draft discarded














          StackExchange.ready(
          function ()
          StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f55290330%2funable-to-get-the-maven-installation-path%23new-answer', 'question_page');

          );

          Post as a guest















          Required, but never shown





















































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown

































          Required, but never shown














          Required, but never shown












          Required, but never shown







          Required, but never shown







          Popular posts from this blog

          Obelisk of Theodosius Contents History Description Notes Bibliography Further reading External links Navigation menuAge of spirituality : late antique and early Christian art, third to seventh centuryOver 60 picturesObelisks of the World41°00′21.24″N 28°58′31.43″E / 41.0059000°N 28.9753972°E / 41.0059000; 28.97539727724550-7235741376235741376

          밀양 대씨 역사 각주 함께 보기 둘러보기 메뉴밀양 대씨

          1973년 목차 사건 문화 탄생 사망 노벨상 달력 둘러보기 메뉴