This week's book giveaway is in the Agile and Other Processes forum.
We're giving away four copies of Darcy DeClute's Scrum Master Certification Guide: The Definitive Resource for Passing the CSM and PSM Exams and have Darcy DeClute on-line!
See this thread for details.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Jeanne Boyarsky
  • Tim Cooke
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Tim Moores
  • Mikalai Zaikin
  • Carey Brown
Bartenders:

Intellij warning: Maven wrapper not correct, reverting to embedded

 
Greenhorn
Posts: 11
Python Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I was doing some Spring Boot project with Thymeleaf on Intellij.
Whenever I open any Spring boot project in intellij, it gives me this warning (see attachment).

My M2_HOME directory is set on path & it is not .m2 one (see attachment).

It doesn't cause any issues but I'm still curious why that happens.

Any ideas or leads?
maven_ok_I_guess.png
cmd showing: Maven path M2_HOME
cmd showing: Maven path M2_HOME
maven_warning_intellij.png
Maven warning on intellij
Maven warning on intellij
 
Saloon Keeper
Posts: 15275
350
  • Likes 1
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
M2_HOME is not supposed to point to the bin directory, but Maven's root folder.

Environment variableAction
M2_HOMESet to C:\opt\apache-maven-3.8.5
M2Set to %M2_HOME%\bin
PATHAdd %M2%
 
Sheriff
Posts: 22773
130
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Stephan van Hulst wrote:M2_HOME is not supposed to point to the bin directory, but Maven's root folder.

Environment variableAction
M2_HOMESet to C:\opt\apache-maven-3.8.5
M2Set to %M2_HOME%\bin
PATHAdd %M2%


You don't need the M2 variable, I have added %M2%\bin directly to my path.
 
machines help you to do more, but experience less. Experience this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic