You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jessie Crowe (JIRA)" <ji...@codehaus.org> on 2008/12/01 21:29:19 UTC
[jira] Updated: (MNG-3163) Profile activation based on hostname or
IP
[ http://jira.codehaus.org/browse/MNG-3163?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Jessie Crowe updated MNG-3163:
------------------------------
Attachment: exampleproject.zip
Here is an example project that demonstrates trying to load a build profile. According to the maven introduction to build profiles, this should work, but it doesn't seem to.
> 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: 3.x
>
> Attachments: exampleproject.zip
>
>
> 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