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

Module paths may be too long on Windows

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0-alpha-1
    • 2.0.7
    • None
    • None
    • Patch

    Description

      Consider this example:

      multiproject X is in C:\some\folder and points to module Y with <module>../../Y</module>
      module Y is multiproject and points to module Z with <module>../../Z</module>
      module Z is normal jar project

      Now when it comes to location of pom.xml of module Z, it will be: C:\some\folder\..\..\Y\..\..\Z\pom.xml. This may result in unnecessarily long path - too long for Windows. I suggest to use canonicalization which would make it much more shorter C:\Z\pom.xml (patch attached).

      Attachments

        1. canonicalize_modules.patch
          0.9 kB
          Stepan Roh

        Issue Links

          Activity

            People

              Unassigned Unassigned
              src Stepan Roh
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: