Maven
  1. Maven
  2. MNG-3340

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

    Details

    • Type: New Feature New Feature
    • Status: Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: Profiles
    • Labels:
      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.

        Activity

        Erik Drolshammer created issue -
        Brett Porter made changes -
        Field Original Value New Value
        Fix Version/s 2.1 [ 13142 ]
        Jason van Zyl made changes -
        Fix Version/s 3.0 [ 13142 ]
        Fix Version/s 3.x [ 13145 ]
        Benjamin Bentmann made changes -
        Summary More flexible activation of profiles Allow profile activation based on availability of executable in PATH environment variable
        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.
        Jason van Zyl made changes -
        Status Open [ 1 ] Closed [ 6 ]
        Resolution Incomplete [ 4 ]
        Paul Benedict made changes -
        Fix Version/s Issues to be reviewed for 3.x [ 13145 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 08:49:45 UTC 2015 [ 1428223785911 ]
        Mark Thomas made changes -
        Workflow jira [ 12713778 ] Default workflow, editable Closed status [ 12753537 ]
        Mark Thomas made changes -
        Project Import Sun Apr 05 21:45:26 UTC 2015 [ 1428270326204 ]
        Mark Thomas made changes -
        Workflow jira [ 12950542 ] Default workflow, editable Closed status [ 12986746 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Closed Closed
        2217d 9h 49m 1 Jason van Zyl 22/Jan/14 20:31

          People

          • Assignee:
            Unassigned
            Reporter:
            Erik Drolshammer
          • Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development