You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Olivier Lamy (Jira)" <ji...@apache.org> on 2021/04/19 10:40:01 UTC

[jira] [Updated] (MRELEASE-1038) releaseProfiles get overriden by exec.pomFileName

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

Olivier Lamy updated MRELEASE-1038:
-----------------------------------
    Fix Version/s: 3.0.0-M4

> releaseProfiles get overriden by exec.pomFileName
> -------------------------------------------------
>
>                 Key: MRELEASE-1038
>                 URL: https://issues.apache.org/jira/browse/MRELEASE-1038
>             Project: Maven Release Plugin
>          Issue Type: Bug
>          Components: perform
>    Affects Versions: 3.0.0-M1
>            Reporter: Benoit MESSAGER
>            Assignee: Olivier Lamy
>            Priority: Minor
>             Fix For: 3.0.0-M4, 3.0.0-M2
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> Profiles specified in <configuration>.<releaseProfiles> are overrided by the pom file name.
> This come from : org.apache.maven.shared.release.config.ReleaseUtils line 130 :
> {code:java}
> if ( properties.containsKey( "exec.activateProfiles" ) )
> {
>     builder.setActivateProfiles( Arrays.asList( properties.getProperty( "exec.pomFileName" ).split( "," ) ) );
> }
> {code}
> this look like a failed copy/paste
>  



--
This message was sent by Atlassian Jira
(v8.3.4#803005)