You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Jean-Paul GUIGUI (JIRA)" <ji...@codehaus.org> on 2009/03/17 03:06:12 UTC
[jira] Created: (MCHANGES-153) For multi-module project, sending
the email once for the project, not one email for each sub-module
For multi-module project, sending the email once for the project, not one email for each sub-module
---------------------------------------------------------------------------------------------------
Key: MCHANGES-153
URL: http://jira.codehaus.org/browse/MCHANGES-153
Project: Maven 2.x Changes Plugin
Issue Type: New Feature
Components: announcement
Affects Versions: 2.1
Environment: Maven 2.0.9
Java 6
WinXp
Reporter: Jean-Paul GUIGUI
When running the announcement plugin on multi-module projects, it is sending one mail by submodule.
Should be able to configure this behaviour. We would like just one email for the whole project
Hereunder a suggestion of working patch I have test locally:
Into AnnouncementMailMojo.java:
/**
* If true, will generate the changes only for the root module in case of project with sub-modules.
*
* @parameter expression="${plugin.aggregate}" default-value = "true"
*/
private boolean aggregate;
...
public void execute()
throws MojoExecutionException
{
if (!project.isExecutionRoot() && aggregate) {
// Execute only for the main module in case of project with sub-modules
return;
}
....
--
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
[jira] Closed: (MCHANGES-153) For multi-module project, sending the
email once for the project, not one email for each sub-module
Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
[ http://jira.codehaus.org/browse/MCHANGES-153?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Dennis Lundberg closed MCHANGES-153.
------------------------------------
Resolution: Duplicate
> For multi-module project, sending the email once for the project, not one email for each sub-module
> ---------------------------------------------------------------------------------------------------
>
> Key: MCHANGES-153
> URL: http://jira.codehaus.org/browse/MCHANGES-153
> Project: Maven 2.x Changes Plugin
> Issue Type: New Feature
> Components: announcement
> Affects Versions: 2.1
> Environment: Maven 2.0.9
> Java 6
> WinXp
> Reporter: Jean-Paul GUIGUI
>
> When running the announcement plugin on multi-module projects, it is sending one mail by submodule.
> Should be able to configure this behaviour. We would like just one email for the whole project
> Hereunder a suggestion of working patch I have test locally:
> Into AnnouncementMailMojo.java:
> /**
> * If true, will generate the changes only for the root module in case of project with sub-modules.
> *
> * @parameter expression="${plugin.aggregate}" default-value = "true"
> */
> private boolean aggregate;
> ...
> public void execute()
> throws MojoExecutionException
> {
> if (!project.isExecutionRoot() && aggregate) {
> // Execute only for the main module in case of project with sub-modules
> return;
> }
> ....
--
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