commits@javamail.java.net

[mercurial:121] Update version number to 1.4.2 in preparation for release.

From: <shannon_at_kenai.com>
Date: Sat, 28 Feb 2009 01:44:46 +0000 (GMT)

Repository: mercurial
Revision: 121
Author: Bill Shannon <bill.shannon_at_sun.com>
Date: 2009-02-11 19:18:33 UTC
Link:
http://kenai.com/projects/javamail/sources/mercurial/revision/121

Log Message:
-----------
Update version number to 1.4.2 in preparation for release.
Parameterize release notes with version number.
Add update_version script to update version number.

Modified Paths:
--------------
    assembly.xml
    client/pom.xml
    demo/pom.xml
    doc/release/COMPAT.txt
    doc/release/LICENSE.txt
    doc/release/NOTES.txt
    doc/release/README.txt
    dsn/pom.xml
    imap/pom.xml
    javadoc/pom.xml
    mail/pom.xml
    mailapi/pom.xml
    mbox/dist/pom.xml
    mbox/native/pom.xml
    mbox/pom.xml
    parent-distrib/pom.xml
    pom.xml
    pop3/pom.xml
    servlet/pom.xml
    smtp/pom.xml
    taglib/pom.xml
    webapp/pom.xml

Added Paths:
-----------
    update_version

Diffs:
-----
diff -r 2e172c96c8cc -r 655d28bc5acf assembly.xml
--- a/assembly.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/assembly.xml Wed Feb 11 11:18:33 2009 -0800
@@ -39,7 +39,7 @@
     <formats>
        <format>zip</format>
     </formats>
- <baseDirectory>mail-${mail.version}</baseDirectory>
+ <baseDirectory>javamail-${mail.version}</baseDirectory>
     <moduleSets>
        <!-- include the main mail.jar file -->
        <moduleSet>
@@ -184,6 +184,7 @@
        <fileSet>
            <directory>doc/release</directory>
            <outputDirectory></outputDirectory>
+ <filtered>true</filtered>
            <includes>
                <include>*.txt</include>
            </includes>
diff -r 2e172c96c8cc -r 655d28bc5acf client/pom.xml
--- a/client/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/client/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf demo/pom.xml
--- a/demo/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/demo/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf doc/release/COMPAT.txt
--- a/doc/release/COMPAT.txt Mon Feb 09 11:23:00 2009 -0800
+++ b/doc/release/COMPAT.txt Wed Feb 11 11:18:33 2009 -0800
@@ -1,7 +1,7 @@
                        COMPATIBILITY NOTES
                        ===================
 
- JavaMail(TM) API 1.4.1 release
+ JavaMail(TM) API ${mail.version} release
                    ------------------------------
 
 The JavaMail 1.4 specification is fully compatible with the JavaMail
diff -r 2e172c96c8cc -r 655d28bc5acf doc/release/LICENSE.txt
--- a/doc/release/LICENSE.txt Mon Feb 09 11:23:00 2009 -0800
+++ b/doc/release/LICENSE.txt Wed Feb 11 11:18:33 2009 -0800
@@ -4,7 +4,7 @@
 
 Effective Date: Date of delivery of the Software to You.
 
-Software: JavaMail 1.4.1.
+Software: JavaMail ${mail.version}
 
 License Term: Perpetual (subject to termination under the SLA).
 
diff -r 2e172c96c8cc -r 655d28bc5acf doc/release/NOTES.txt
--- a/doc/release/NOTES.txt Mon Feb 09 11:23:00 2009 -0800
+++ b/doc/release/NOTES.txt Wed Feb 11 11:18:33 2009 -0800
@@ -1,10 +1,10 @@
                             NOTES
                             =====
 
- JavaMail(TM) API 1.4.1 release
+ JavaMail(TM) API ${mail.version} release
                    ------------------------------
 
-Welcome to the 1.4.1 release of the JavaMail API implementation.
+Welcome to the ${mail.version} release of the JavaMail API
implementation.
 
 Please refer to CHANGES.txt for a list of the changes since the
 previous release.
@@ -66,6 +66,9 @@
 and RFC 3464. To make use of this support you need to include dsn.jar
 in your CLASSPATH along with mail.jar. See the javadocs for the
 com.sun.mail.dsn package for more details.
+
+The DSN package also provides support for creating and parsing Message
+Disposition Notifications, as defined by RFC 3798.
 
 The APIs unique to this package should be considered EXPERIMENTAL.
 They may be changed in the future in ways that are incompatible with
@@ -123,7 +126,9 @@
 ----------------------------------------------
 
 1. This version of JavaMail will only work in applets when using
- the Java(TM) Plug-in (http://java.sun.com/products/plugin).
+ the Java(TM) Plug-in (http://java.sun.com/products/plugin),
+ which is part of the current Java Runtime Environment (JRE)
+ available from Sun at
http://java.sun.com/javase/downloads/index.jsp.
 
 2. Internationalization. Parameter encoding in MIME headers, as
    specified by RFC2231, *has* been implemented. Note that
@@ -170,12 +175,13 @@
 
   The IMAP implementation works with IMAP4 and IMAP4rev1 servers.
   The current release has been tested with:
- Sun Java System Messaging Server version 6.3
+ Sun Java System Messaging Server version 7.0
        UW IMAP4 server version 2003.339
        Cyrus IMAP4 server version 1.6.19
 
   Previous releases have been tested with:
        Sun Java System Messaging Server version 5.2
+ Sun Java System Messaging Server version 6.3
        Sun Internet Mail Server version 2.0, 3.2, and 4.0
        Netscape Messaging Server version 3.01 and 4.1
        Microsoft Exchange
@@ -186,11 +192,12 @@
 
   The current release of the SMTP implementation has been tested with:
        Sendmail version 8.13.8
- Sun Java System Messaging Server version 6.3
+ Sun Java System Messaging Server version 7.0
 
   Previous releases have been tested with:
        Sendmail version 8.6 and 8.9.1
        Sun Java System Messaging Server version 5.2
+ Sun Java System Messaging Server version 6.3
        Sun Internet Mail Server version 3.2 and 4.0
        Netscape Messaging Server version 3.01 and 4.1
        Microsoft Exchange
@@ -217,5 +224,9 @@
 
 Instructions on how to subscribe are on our website.
 
+You can also find help in the JavaMail forum:
+
+ http://forums.sun.com/forum.jspa?forumID=43
+
 
 ------------------------------------------------------------------
diff -r 2e172c96c8cc -r 655d28bc5acf doc/release/README.txt
--- a/doc/release/README.txt Mon Feb 09 11:23:00 2009 -0800
+++ b/doc/release/README.txt Wed Feb 11 11:18:33 2009 -0800
@@ -1,10 +1,10 @@
                        README
                        ======
 
- JavaMail(TM) API 1.4.1 release
+ JavaMail(TM) API ${mail.version} release
            ------------------------------
 
-Welcome to the JavaMail API 1.4.1 release! This release includes
+Welcome to the JavaMail API ${mail.version} release! This release
includes
 versions of the JavaMail API implementation, IMAP, SMTP, and POP3
 service providers, some examples, and documentation for the JavaMail
 API.
@@ -148,15 +148,16 @@
   UNIX/Linux
   ----------
 
- 1. Unzip the javamail-1_4_1.zip archive. (you may have already done
this)
+ 1. Unzip the javamail${mail.zipversion}.zip archive.
+ (You may have already done this.)
 
   2. Set your CLASSPATH to include the "mail.jar" file obtained from
      the download, as well as the current directory.
 
- Assuming you unzipped javamail-1_4_1.zip in /u/me/download/ the
+ Assuming you unzipped javamail${mail.zipversion}.zip in
/u/me/download/ the
      following would work:
 
- export
CLASSPATH=$CLASSPATH:/u/me/download/javamail-1.4.1/mail.jar:.
+ export
CLASSPATH=$CLASSPATH:/u/me/download/javamail-${mail.version}/mail.jar:.
 
     Also include the "activation.jar" file that you obtained from
     downloading the Java Activation Framework, in your CLASSPATH.
@@ -190,15 +191,16 @@
   Windows
   -------
 
- 1. Unzip the javamail-1_4_1.zip archive. (you may have already done
this)
+ 1. Unzip the javamail${mail.zipversion}.zip archive.
+ (You may have already done this.)
 
   2. Set your CLASSPATH to include the "mail.jar" file obtained from
      the download, as well as the current directory.
 
- Assuming you unzipped javamail-1_4_1.zip in c:\download the
+ Assuming you unzipped javamail${mail.zipversion}.zip in
c:\download the
      following would work:
      
- set CLASSPATH=%CLASSPATH%;c:\download\javamail-1.4.1\mail.jar;.
+ set
CLASSPATH=%CLASSPATH%;c:\download\javamail-${mail.version}\mail.jar;.
 
     Also include the "activation.jar" file that you obtained from
     downloading the JavaBeans Activation Framework, in your CLASSPATH.
diff -r 2e172c96c8cc -r 655d28bc5acf dsn/pom.xml
--- a/dsn/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/dsn/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf imap/pom.xml
--- a/imap/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/imap/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>parent-distrib</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
        <relativePath>../parent-distrib/pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff -r 2e172c96c8cc -r 655d28bc5acf javadoc/pom.xml
--- a/javadoc/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/javadoc/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,13 +42,13 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
     <artifactId>javadoc</artifactId>
     <packaging>pom</packaging>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     <name>JavaMail API javadocs</name>
     <description>${project.name}</description>
 
diff -r 2e172c96c8cc -r 655d28bc5acf mail/pom.xml
--- a/mail/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/mail/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>javax.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf mailapi/pom.xml
--- a/mailapi/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/mailapi/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>javax.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf mbox/dist/pom.xml
--- a/mbox/dist/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/mbox/dist/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff -r 2e172c96c8cc -r 655d28bc5acf mbox/native/pom.xml
--- a/mbox/native/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/mbox/native/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
        <relativePath>../../pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff -r 2e172c96c8cc -r 655d28bc5acf mbox/pom.xml
--- a/mbox/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/mbox/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf parent-distrib/pom.xml
--- a/parent-distrib/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/parent-distrib/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf pom.xml
--- a/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -43,7 +43,7 @@
     <groupId>com.sun.mail</groupId>
     <artifactId>all</artifactId>
     <packaging>pom</packaging>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     <name>JavaMail API distribution</name>
     <description>${project.name}</description>
     <url>http://java.sun.com/projects/javamail</url>
@@ -69,7 +69,9 @@
     </organization>
 
     <properties>
- <mail.version>1.4.2-SNAPSHOT</mail.version>
+ <mail.version>1.4.2</mail.version>
+ <!-- like mail.version, but with underscores instead of dots
-->
+ <mail.zipversion>1_4_2</mail.zipversion>
        <mail.spec.version>1.4</mail.spec.version>
        <activation-api.version>1.1</activation-api.version>
        <!-- defaults that are overridden in mail module -->
@@ -272,7 +274,7 @@
                        </goals>
                -->
                        <configuration>
- <finalName>mail-${mail.version}</finalName>
+
<finalName>javamail${mail.zipversion}</finalName>
                            <descriptors>
                                <descriptor>assembly.xml</descriptor>
                            </descriptors>
diff -r 2e172c96c8cc -r 655d28bc5acf pop3/pom.xml
--- a/pop3/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/pop3/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>parent-distrib</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
        <relativePath>../parent-distrib/pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff -r 2e172c96c8cc -r 655d28bc5acf servlet/pom.xml
--- a/servlet/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/servlet/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf smtp/pom.xml
--- a/smtp/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/smtp/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>parent-distrib</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
        <relativePath>../parent-distrib/pom.xml</relativePath>
     </parent>
     <modelVersion>4.0.0</modelVersion>
diff -r 2e172c96c8cc -r 655d28bc5acf taglib/pom.xml
--- a/taglib/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/taglib/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>
diff -r 2e172c96c8cc -r 655d28bc5acf update_version
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/update_version Wed Feb 11 11:18:33 2009 -0800
@@ -0,0 +1,24 @@
+#!/bin/sh
+#
+# update version number in pom files, e.g., to change to release
+# version number in preparation for release, or to change back to
+# snapshot version number after release.
+#
+# Usage: update_version old-version new-version
+#
+for file in `find . -name '*.xml' `
+do
+ ed - "$file" <<-EOF
+ g:<version>$1</version>:s::<version>$2</version>:
+ w
+ q
+ EOF
+done
+zip1=`echo "$1" | sed -e s/\\./_/`
+zip2=`echo "$2" | sed -e s/\\./_/`
+ed - pom.xml <<-EOF
+g:<mail.version>$1</mail.version>:s::<mail.version>$2</mail.version>:
+g:<mail.zipversion>$zip1</mail.zipversion>:s::<mail.zipversion>$zip2</
mail.zipversion>:
+w
+q
+EOF
diff -r 2e172c96c8cc -r 655d28bc5acf webapp/pom.xml
--- a/webapp/pom.xml Mon Feb 09 11:23:00 2009 -0800
+++ b/webapp/pom.xml Wed Feb 11 11:18:33 2009 -0800
@@ -2,7 +2,7 @@
 <!--
     DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS HEADER.
 
- Copyright 1997-2008 Sun Microsystems, Inc. All rights reserved.
+ Copyright 1997-2009 Sun Microsystems, Inc. All rights reserved.
 
     The contents of this file are subject to the terms of either the
GNU
     General Public License Version 2 only ("GPL") or the Common
Development
@@ -42,7 +42,7 @@
     <parent>
        <groupId>com.sun.mail</groupId>
        <artifactId>all</artifactId>
- <version>1.4.2-SNAPSHOT</version>
+ <version>1.4.2</version>
     </parent>
     <modelVersion>4.0.0</modelVersion>
     <groupId>com.sun.mail</groupId>