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

${basedir} variable makes portable builds overly difficult

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.2.1
    • None
    • None

    Description

      Please reopen MNG-3198. I believe that Brett misunderstood what Jochen wrote. There is no simple workaround with the current Maven implementation. Jochen was saying that Maven should use unix-style slashes under Windows for the sake of portability and let users convert to Windows-style slashes themselves if they wish to use an external script.

      Simple use-case: try passing a ${basedir}-relative path into the "java.library.path" property. It's impossible to do this portably under Maven's existing implementation.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              cowwoc Gili
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: