Uploaded image for project: 'Maven'
  1. Maven
  2. MNG-5838

Maven on No-File-Lock Systems

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 3.3.3, 3.3.9
    • 3.8.2, 4.0.0-alpha-2, 4.0.0
    • None
    • None

    Description

      I work on a Lustre file system that does not support file locking. Maven emits tons of warnings when it cannot lock a file due to IOExceptions. In my case this is not a problem because I only run one maven process at a time and the .m2 directory inside my home directory is not shared, so there is no need to lock files.

      Maven built correctly despite the warnings when using Maven 3.2.3. Then, when I upgraded to Maven 3.3.3, Maven failed on most goals, even clean. I'd like to at least compile my code with mvn on this system with no file locking, even if it can't run project tests.

      I uploaded log files for running with 3.2.3 and 3.3.3 here:
      <https://gist.github.com/a0099ea87e5ac663b2ac>
      Scroll down halfway for the second file.

      Is there an option to disable file locking?

      Attachments

        Issue Links

          Activity

            People

              michael-o Michael Osipov
              shutchis Shana Hutchison
              Votes:
              1 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: