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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • None
    • None
    • None
    • None
    • 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

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

              Dates

                Created:
                Updated:
                Resolved: