You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@maven.apache.org by "Dennis Lundberg (JIRA)" <ji...@codehaus.org> on 2009/10/01 11:00:38 UTC

[jira] Created: (MCHANGES-178) Make the url parameter non-required

Make the url parameter non-required
-----------------------------------

                 Key: MCHANGES-178
                 URL: http://jira.codehaus.org/browse/MCHANGES-178
             Project: Maven 2.x Changes Plugin
          Issue Type: Improvement
          Components: announcement
    Affects Versions: 2.1
            Reporter: Dennis Lundberg


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.

-- 
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-178) Make the url parameter non-required

Posted by "Dennis Lundberg (JIRA)" <ji...@codehaus.org>.
     [ http://jira.codehaus.org/browse/MCHANGES-178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dennis Lundberg closed MCHANGES-178.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 2.2
         Assignee: Dennis Lundberg

Fixed in [r824891|http://svn.apache.org/viewvc?view=rev&revision=824891].

> Make the url parameter non-required
> -----------------------------------
>
>                 Key: MCHANGES-178
>                 URL: http://jira.codehaus.org/browse/MCHANGES-178
>             Project: Maven 2.x Changes Plugin
>          Issue Type: Improvement
>          Components: announcement
>    Affects Versions: 2.1
>            Reporter: Dennis Lundberg
>            Assignee: Dennis Lundberg
>             Fix For: 2.2
>
>
> 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.

-- 
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