[ 
http://jira.codehaus.org/browse/MNG-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_116610
 ] 

David J. M. Karlsen commented on MNG-3163:
------------------------------------------

A more general approach would be to allow profiles to be triggered by shell. 
properties (not systemproperties).
On windows a profile can be triggered by env.COMPUTERNAME and on *nix 
env.HOSTNAME ootb.

> Profile activation based on hostname or IP
> ------------------------------------------
>
>                 Key: MNG-3163
>                 URL: http://jira.codehaus.org/browse/MNG-3163
>             Project: Maven 2
>          Issue Type: Improvement
>          Components: Profiles
>            Reporter: David J. M. Karlsen
>            Priority: Minor
>             Fix For: 2.x
>
>
> It would be very nice to be able to activate profiles based on hostname[s] or 
> IP-address[es].
> Yes, this could be exported from the system as a systemproperty quite easily 
> on *NIX with -Dhostname=`hostname` but is a little more tricky on other 
> platforms - so why not include it in maven itself?
> It would be even better if it can be expressed with regex'es or the likes.
> WDYT?

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to