About 19,300,000 results
Open links in new tab
  1. windows - Missing maven .m2 folder - Stack Overflow

    AFAIK maven does not have an installer for Windows, you simply unzip it wherever you like, as explained here. However in many places there are references to a .m2 folder under the user …

  2. Maven - alternative .m2 directory - Stack Overflow

    How do I globally change the location of maven's .m2 directory? Maven uses ${user.home}/.m2 for it's settings, repository cache, etc. I know that I can: point to a different dir for the repository

  3. How can I add local JAR files to a Maven project? - Stack Overflow

    How do I add local JAR files (not yet part of the Maven repository) directly in my project's library sources?

  4. How do you clear Apache Maven's cache? - Stack Overflow

    After deleting the artifacts by hand (as stated by palacsint above) in the /username/.m2 directory, re-index the files by doing the following: Go to: Windows->Preferences->Maven->User …

  5. Specifying Maven's local repository location as a CLI parameter

    The thing is that I don't use the default one in ~/.m2/repository. However I checked out some project that is being built with its own settings with -s settings.xml. That settings.xml doesn't …

  6. How to add Maven to the Path variable? - Stack Overflow

    Jul 15, 2017 · If you are struggling to get the iii) step working, in the system path, just add C:\Program Files\apache-maven-3.x.y\bin (Replacing x and y with your version number) to …

  7. Compilation failure: error reading JAR file in ~/.m2/repository ...

    It was sufficient for me to just delete the offending files from my local .m2/repository folder, and re-run the Maven build to download them again. Probably, there was either a network glitch …

  8. How to force maven update? - Stack Overflow

    I am not sure if this will surely help you or not but you can try deleting all the files within the repository folder inside the .m2 folder. Since there would be nothing in the local repo, maven …

  9. How to force Maven to update local repo - Stack Overflow

    I can see the JAR file in .m2 folder. But in the 2nd project it complains about "artifact not found". I guess I have to force Maven to update indices/cache something but don't know what exactly. …

  10. java - MAVEN_HOME, MVN_HOME or M2_HOME - Stack Overflow

    Oct 28, 2014 · What's the correct Maven environment variable name: MAVEN_HOME, MVN_HOME or M2_HOME? I've found some details about MAVEN_HOME and M2_HOME …