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

${settings.localRepository} is not resolved when used in systemPath

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Incomplete
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Environment:
      Maven 2.2.1 and Maven 3.0 beta, windows

      Description

      We cannot specify variables to define a system path. Maven complains about absolute path. This is a pain which forces us to either hard code the path or use -DlocalRepository flag.

      Is there a way to use settings from settings.xml to refer to this property?

      <systemPath>${settings.localRepository}/my.jar</systemPath>

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                abhishekmisra abhishek misra
              • Votes:
                3 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: