Uploaded image for project: 'Maven Resolver'
  1. Maven Resolver
  2. MRESOLVER-496

Move Resolver off java.io.File to NIO2 Paths

    XMLWordPrintableJSON

Details

    • Task
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.0.0-alpha-8, 2.0.0
    • Resolver
    • None

    Description

      Internally, stop using java.io.File and use NIO2 Paths instead. From outside, this should not make a lot of difference.

      But, as a consequence: if Resolver used on FileSystem like Google JIMFS, whatever code touches File method (that will do Path.toFile() under the hood), it will explode. Hence, we need to make sure this call never happens internally, and leave it to consumer projects. Resolver alone should never invoke it.

      Attachments

        Issue Links

          Activity

            People

              cstamas Tamas Cservenak
              cstamas Tamas Cservenak
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: