[ http://jira.codehaus.org/browse/MNG-5074?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Benjamin Bentmann closed MNG-5074. ---------------------------------- Resolution: Not A Bug Assignee: Benjamin Bentmann Please fill this at https://issues.apache.org/jira/browse/MPOM > Apache Parent POM 9 does not allow override of <useAgent> in apache-release > profile > ----------------------------------------------------------------------------------- > > Key: MNG-5074 > URL: http://jira.codehaus.org/browse/MNG-5074 > Project: Maven 2 & 3 > Issue Type: Bug > Components: POM > Reporter: SebbASF > Assignee: Benjamin Bentmann > > The apache-release profile contains the following settings: > {noformat} > <groupId>org.apache.maven.plugins</groupId> > <artifactId>maven-gpg-plugin</artifactId> > <configuration> > <passphrase>${gpg.passphrase}</passphrase> > <useAgent>true</useAgent> > </configuration> > {noformat} > 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. > {noformat} > <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> > {noformat} > This would still default to true, but would allow command-line override. -- 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