Currently the url parameter to the AnnouncementMojo is required. This is not suitable for all projects.
As far as I can tell the url parameter is only used for two things:
- Act as a stand-in value for the introduction parameter, if that is not supplied
- Forwarded to the Velocity template for use there
Our use case is that we have a project that doesn't have a url. We still want to email an announcement when a new version is released. We are forced to enter a dummy url in our plugin configuration to get around this.
I'd like to remove the @required annotation from AnnouncementMojo.url. Are there any objections to this?
Projects already using the plugin will not be affected, because they already have a url specified in their configuration.
|Field||Original Value||New Value|
|Status||Open [ 1 ]||Closed [ 6 ]|
|Fix Version/s||2.2 [ 14696 ]|
|Assignee||Dennis Lundberg [ dennislundberg ]|
|Resolution||Fixed [ 1 ]|
|Project Import||Sun Apr 05 09:14:45 UTC 2015 [ 1428225285377 ]|
|Workflow||jira [ 12718012 ]||Default workflow, editable Closed status [ 12749349 ]|
|Project Import||Sun Apr 05 22:40:15 UTC 2015 [ 1428273615853 ]|
|Workflow||jira [ 12955604 ]||Default workflow, editable Closed status [ 12992966 ]|