You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@maven.apache.org by ji...@codehaus.org on 2004/07/08 10:17:51 UTC

[jira] Created: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Message:

  A new issue has been created in JIRA.

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: 
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Thu, 8 Jul 2004 4:16 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Mon, 9 Aug 2004 3:30 AM
       Body:
Felipe,

What if we use <j:useBean> instead? Does it also wrap the exception? Otherwise, no worry.

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22900

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Fix Fors:
             1.3
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 9 Aug 2004 3:30 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Tue, 27 Jul 2004 9:28 AM
    Comment:
Hi Vincent,

As promised, here is a patch for this issue. It adds too new goals (mail and mail-all) and requires a couple of properties.

Hava fun,

Felipe



    Changes:
             Attachment changed to mpannouncement-9.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: 
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 27 Jul 2004 9:28 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Wed, 28 Jul 2004 11:01 AM
       Body:
dIon, no it doesn't. The replace tag replaces only a single char:

  String stringAnswer = answer.toString().replace(oldChar.charAt(0), newChar.charAt(0));

It would be nice to replace the existing replace jelly tag with the following replace implementation:

    /**
     * @param original the original template
     * @param oldPattern the pattern to replace
     * @param newPattern the new pattern
     * @return the modified template string with patterns applied
     */
    public String replace(String original, String oldPattern,
        String newPattern)
    {
        int index, oldIndex;
        StringBuffer buffer = new StringBuffer();
        
        if((index = original.indexOf(oldPattern)) != -1) {
            oldIndex = 0;
            while((index = original.indexOf(oldPattern, oldIndex)) != -1) {
                buffer.append(original.substring(oldIndex, index));
                buffer.append(newPattern);
                oldIndex = index + oldPattern.length();
            }
            buffer.append(original.substring(oldIndex));
            original = buffer.toString();
        }
        return original;
    }




---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22457

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 11:01 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Brett Porter
    Created: Tue, 3 Aug 2004 10:27 AM
       Body:
just on new files and CVS:

cvs diff -uN

should do the trick
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22686

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 3 Aug 2004 10:27 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Mon, 2 Aug 2004 11:25 PM
    Comment:
After a few more tests, I'm sending a new patch (this is the last one, I promise :-), with the following improvements:
 - better handling on network exceptions
 - removal of CC: (as commons-net CC doesn't work properly)

Notice that I've packed the patch and the new Java file in one zip (cvs diff -u would only work if I could do a cvs add first).

Felipe

    Changes:
             Attachment changed to ultimate_patch.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 2 Aug 2004 11:25 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Closed: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
Message:

   The following issue has been closed.

   Resolver: Vincent Massol
       Date: Sat, 7 Aug 2004 11:54 AM

Applied. Thanks! One little comment. I think it would have been best if the sendMail() method throws Exception instead of returning status strings. The Jelly code can then use the <j:catch> tag to catch the exceptions and display an error message.
---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Fix Fors:
             1.3
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Sat, 7 Aug 2004 11:54 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Tue, 27 Jul 2004 12:08 PM
       Body:
Yep, agreed. 

That was my first thought for a default mailTo field, but the POM only provides subscribe and unsubscribe addresses.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22399

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: 
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 27 Jul 2004 12:08 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Wed, 28 Jul 2004 10:46 AM
       Body:
Regarding javamail's replacement, I think the best is to use commons-net as suggested by Maury on the maven dev ML.

For the replace() method, yes, it would be nice to have it available in jelly util code. That said, once we all move to JDK 1.4, it won't be needed anymore as it's built in the JDK.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22454

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 10:46 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Carlos Sanchez
    Created: Tue, 27 Jul 2004 11:52 AM
       Body:
We have to consider adding a mailing list address to next version of POM
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22391

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Unassigned
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: 
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 27 Jul 2004 11:52 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: dion gillard
    Created: Wed, 28 Jul 2004 10:53 AM
       Body:
For the replace() method - does the util:replace tag help?
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22456

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 10:53 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Sun, 8 Aug 2004 11:29 PM
       Body:
Vincent,

I changed the code to throw an exception and then I figured it out why I have chosen to return a String instead: the reason is that j:invokeStatic wrapps the original expception, so the <j:catch> would return something like this:

Could not send message. Reason: /home/felipeal/.maven/cache/maven-announcement-plugin-1.3-SNAPSHOT/plugin.jelly:159:94: &lt;j:invokeStatic&gt; Could not load class: org.apache.maven.announcement.MailUtils. Reason: java.lang.reflect.InvocationTargetException

So, we better leave the code the way it is.

-- Felipe

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22892

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Fix Fors:
             1.3
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Sun, 8 Aug 2004 11:29 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Wed, 28 Jul 2004 7:04 AM
       Body:
PS: regarding the replace() function, it would be nice if it belonged to the Jelly util tag - they already have a replace tag that works only with chars. I will try to make such a patch and submit to them.

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22444

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 7:04 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Tue, 3 Aug 2004 10:33 AM
       Body:
> cvs diff -uN
> should do the trick

Yes, it would work only if I had 'cvs added' the files first, but unfortunately that didn't work neither (see previous post).

 :-(

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22687

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 3 Aug 2004 10:33 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Trygve Laugstol
    Created: Mon, 2 Aug 2004 11:34 PM
       Body:
You can do cvs add foo/bar.java, it's only a client side operation. You won't be able to commit the file though. This will as you said make cvs diff include the new files.
---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22659

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 2 Aug 2004 11:34 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Tue, 3 Aug 2004 9:41 AM
    Comment:
I couldn't send a message from my SMTP server at work because I wasn't sending the HELO message.
So, here is yet another patch, this time using a maven property to set the host to be used in the HELO message (which by default is localhost) 
    Changes:
             Attachment changed to yet_another_patch.zip
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Tue, 3 Aug 2004 9:41 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Mon, 2 Aug 2004 11:39 PM
       Body:
> You can do cvs add foo/bar.java, it's only a client side operation. 

That's what I thought too, but it didn't work:

[felipeal@localhost]~/cvs/maven/maven-plugins/announcement: cvs add src/main/org/apache/maven/announcement/MailUtils.java
cvs [server aborted]: "add" requires write access to the repository

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22660

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 2 Aug 2004 11:39 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Vincent Massol (mailto:vmassol@pivolis.com)
       Date: Wed, 28 Jul 2004 6:24 AM
    Comment:
Patch to your patch :-)
    Changes:
             Attachment changed to ann_patch_vma.txt
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 6:24 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Wed, 28 Jul 2004 7:01 AM
       Body:
Hi Vincent,

Some COC (comments on comments :-) inline:

> What is the use case for the mail-all goal?

Consistency. If there is a generate-all, why not a mail-all? I created just the mail originally, but then when I wrote the full patch (i.e., goals.xml, properties.xml, etc..) I realized there was a generate-all, so it might make sense to have a mail-all too.

> - I have put the public properties in plugin.properties

Sorry, I forgot that one :-(

>- I have have introduced %VERSION% template in subject property
Cool. That would solve the problem of resolving the ${versionVariable} on mail-all at 'runtime' . In fact, my first idea to the problem was using such a variable replacement schema, but I didn't know it was a common practice (on Maven plugins) and was afraid the final result would be too complex (guess next time I should be asking these questions in the dev list first :-)

> - javamail jar not on ibiblio... We cannot release the plugin. We need to find an alternative jar
Initially, I thought that could be an issue too, so I checked what the jelly-tag-email does, and they use javamail. But looks like they have the same issue, as there is no official release yet. Do you know any replacement? After a quick look on ibiblio, the closest I found was james, which is ASF's Java-bases email server (as they use ASL, they might use an alternative for JavaMail)

> - Used maven:param-check instead of manual checks
Cool, I didn't know that trick.



---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22443

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 7:01 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Mon, 2 Aug 2004 10:04 PM
    Comment:
Oops, looks like 'cvs diff -u' does not add new files...

    Changes:
             Attachment changed to MailUtils.java
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 2 Aug 2004 10:04 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Vincent Massol
    Created: Wed, 28 Jul 2004 6:22 AM
       Body:
Hi Felipe,

Thanks! Some comments:

- What is the use case for the mail-all goal?
- I have put the public properties in plugin.properties
- I have have introduced %VERSION% template in subject property
- javamail jar not on ibiblio... We cannot release the plugin. We need to find an alternative jar
- Used maven:param-check instead of manual checks

(attached new patch)

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22441

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Wed, 28 Jul 2004 6:22 AM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Sun, 1 Aug 2004 9:57 PM
    Comment:
Refactoring on Vincent's patch using Jakarta Commons Lang (let's not reinvent the wheel for StringUtils :-)
    Changes:
             Attachment changed to mpannouncement-9-jakarta-commons.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Sun, 1 Aug 2004 9:57 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Updated: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following issue has been updated:

    Updater: Felipe Leme (mailto:jira@felipeal.net)
       Date: Mon, 2 Aug 2004 10:03 PM
    Comment:
New patch, using commons-net instead of jelly-email.
    Changes:
             Attachment changed to mpannouncement-9-commons_net.patch
    ---------------------------------------------------------------------
For a full history of the issue, see:

  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=history

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Open
   Priority: Major

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Mon, 2 Aug 2004 10:03 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org


[jira] Commented: (MPANNOUNCEMENT-9) Add a goal to send the announcement by mail to a list of email addresses

Posted by ji...@codehaus.org.
The following comment has been added to this issue:

     Author: Felipe Leme
    Created: Sat, 7 Aug 2004 3:22 PM
       Body:
Hi Vincent,

The first patch using commmons-net was using that approach, but I changed it to a return code for some reason - I guess I wasn't using the <j:catch> and then Maven was throwing those nasty exceptions.

I will change it and a provide a new patch later (I don't have a maven environment where am I now).

Felipe

---------------------------------------------------------------------
View this comment:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9?page=comments#action_22848

---------------------------------------------------------------------
View the issue:
  http://jira.codehaus.org/browse/MPANNOUNCEMENT-9

Here is an overview of the issue:
---------------------------------------------------------------------
        Key: MPANNOUNCEMENT-9
    Summary: Add a goal to send the announcement by mail to a list of email addresses
       Type: New Feature

     Status: Closed
   Priority: Major
 Resolution: FIXED

 Original Estimate: Unknown
 Time Spent: Unknown
  Remaining: Unknown

    Project: maven-announcement-plugin
   Fix Fors:
             1.3
   Versions:
             1.2

   Assignee: Vincent Massol
   Reporter: Vincent Massol

    Created: Thu, 8 Jul 2004 4:16 AM
    Updated: Sat, 7 Aug 2004 3:22 PM

Description:



---------------------------------------------------------------------
JIRA INFORMATION:
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

If you want more information on JIRA, or have a bug to report see:
   http://www.atlassian.com/software/jira


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@maven.apache.org
For additional commands, e-mail: dev-help@maven.apache.org