You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Michael Osipov (JIRA)" <ji...@apache.org> on 2019/04/03 20:19:00 UTC

[jira] [Closed] (MNG-5856) property profile activation fails for non-uppercase env.someThing

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

Michael Osipov closed MNG-5856.
-------------------------------
       Resolution: Incomplete
    Fix Version/s:     (was: waiting-for-feedback)

No feedback received.

> property profile activation fails for non-uppercase env.someThing
> -----------------------------------------------------------------
>
>                 Key: MNG-5856
>                 URL: https://issues.apache.org/jira/browse/MNG-5856
>             Project: Maven
>          Issue Type: Bug
>    Affects Versions: 3.2.5
>         Environment: Windows 7, affects both cmd and git 1.9.5 bash
>            Reporter: Gordon Pettey
>            Priority: Major
>
> I have three profiles. The first, no-ci, is activeByDefault. The other two are bamboo activated by property env.bamboo_buildNumber and jenkins activated by eng.BUILD_NUMBER.  The jenkins profile activates as expected, but bamboo will not activate in either git bash or cmd. Docs suggest Maven normalizes the property name to all uppercase on Windows, but this is apparently not happening. I have tried all-upper, -lower, and mixed case.
> I am using the profiles to configure m-jar-p manifest entries to include build names and numbers, as if they're all in the main configuration, the manifest will include empty keys for whichever build system wasn't used, which might be another bug. Archiver docs suggest missing properties are ignored, but that apparently doesn't extend to unset environment variables.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)