Maven
  1. Maven
  2. MNG-4809

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

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major 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
    • Complexity:
      Intermediate
    • Number of attachments :
      0

      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>

        Issue Links

          Activity

          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014
          Hide
          Jason van Zyl added a comment -

          Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

          Show
          Jason van Zyl added a comment - Please refer to https://cwiki.apache.org/confluence/display/MAVEN/The+Great+JIRA+Cleanup+of+2014 if you're wondering why this issue was closed out.

            People

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

              Dates

              • Created:
                Updated:
                Resolved: