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 Closed
    • Priority: Major Major
    • Resolution: Incomplete
    • Affects Version/s: 2.0.8
    • Fix Version/s: None
    • Component/s: Profiles
    • Labels:
      None
    • Number of attachments :
      0

      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

        Brett Porter made changes -
        Field Original Value New Value
        Fix Version/s 2.1 [ 13142 ]
        Jason van Zyl made changes -
        Fix Version/s 3.x [ 13145 ]
        Fix Version/s 3.0 [ 13142 ]
        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 -
        Resolution Incomplete [ 4 ]
        Status Open [ 1 ] Closed [ 6 ]
        Paul Benedict made changes -
        Fix Version/s Issues to be reviewed for 3.x [ 13145 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved: