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 2011/05/06 17:51:03 UTC

[jira] [Closed] (MPOM-9) Apache Parent POM 9 does not allow override of in apache-release profile

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

Olivier Lamy closed MPOM-9.
---------------------------

    Resolution: Fixed
      Assignee: Olivier Lamy

fixed rev 1100257.
Thanks !

> Apache Parent POM 9 does not allow override of <useAgent> in apache-release profile
> -----------------------------------------------------------------------------------
>
>                 Key: MPOM-9
>                 URL: https://issues.apache.org/jira/browse/MPOM-9
>             Project: Maven POM
>          Issue Type: Bug
>    Affects Versions: ASF-9
>            Reporter: Sebb
>            Assignee: Olivier Lamy
>            Priority: Critical
>
> The apache-release profile contains the following settings:
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-gpg-plugin</artifactId>
>             <configuration>
>               <passphrase>${gpg.passphrase}</passphrase>
>               <useAgent>true</useAgent>
>             </configuration>
> This is bad, because it unconditionally forces the use of an agent which may not be appropriate for all use cases.
> The code should use the relevant property, i.e.
>   <properties>
>     <gpg.useagent>true</gpg.useagent>
>     ...
>   </properties>
> ...
>             <groupId>org.apache.maven.plugins</groupId>
>             <artifactId>maven-gpg-plugin</artifactId>
>             <configuration>
>               <passphrase>${gpg.passphrase}</passphrase>
>               <useAgent>${gpg.useagent}</useAgent>
>             </configuration>
> This would still default to true, but would allow command-line override.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira