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

Allow profile activation based on availability of executable in PATH environment variable

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Incomplete
    • 2.0.8
    • None
    • Profiles
    • None

    Description

      17:29 < Sherriff> Anyone know how to activate a profile if a certain file is in path?
      17:29 < Sherriff> (i.e., not hardcode a specific path)
      17:30 < wsmoak> where do you want to specify the path? with a property?
      17:31 < trygvis> I just looked for that myself, but couldn't find any way
      17:31 < Sherriff> I don't want to specify a path. The file (a script) is present in $PATH

      It would be really nice if it were possible to activate a profile if a given file was found in PATH.

      Typical use case: Only run a certain group of tests in a certain script/application is available.

      Attachments

        Activity

          People

            Unassigned Unassigned
            sherriff Erik Drolshammer
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: