Details
-
New Feature
-
Status: Closed
-
Major
-
Resolution: Duplicate
-
2.1
-
None
-
None
-
Maven 2.0.9
Java 6
WinXp
Description
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)
....
Attachments
Issue Links
- duplicates
-
MCHANGES-145 Make it possible to run the announcement goals only once for a multi-module project
- Closed