You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Paul Benedict (JIRA)" <ji...@codehaus.org> on 2014/07/02 15:44:33 UTC

[jira] (MNG-3340) Allow profile activation based on availability of executable in PATH environment variable

     [ https://jira.codehaus.org/browse/MNG-3340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Paul Benedict updated MNG-3340:
-------------------------------

    Fix Version/s:     (was: Issues to be reviewed for 3.x)

> Allow profile activation based on availability of executable in PATH environment variable
> -----------------------------------------------------------------------------------------
>
>                 Key: MNG-3340
>                 URL: https://jira.codehaus.org/browse/MNG-3340
>             Project: Maven
>          Issue Type: New Feature
>          Components: Profiles
>    Affects Versions: 2.0.8
>            Reporter: Erik Drolshammer
>
> 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. 



--
This message was sent by Atlassian JIRA
(v6.1.6#6162)