Notes on the MyFaces Core 1.2.2 Release

Release manager: Leonardo Uribe

Timeline

  • Release process for Core 1.2.1 not successful yet started
  • Nightly builds are available (see Testing)
  • Proposed release date: 2008-01-25

Issues

Testing

Here's how you can help us test the distribution.

Download a nightly build of the distribution assemblies:

Configure a <repository> for Maven 2:

        <repository>
           <id>apache.snapshots</id>
           <name>Apache Snapshot Repository</name>
           <url>http://people.apache.org/repo/m2-snapshot-repository</url>
        </repository>

And declare a dependency on the 1.2.1 snapshots:

        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-api</artifactId>
            <version>1.2.1-SNAPSHOT</version>
        </dependency>
        <dependency>
            <groupId>org.apache.myfaces.core</groupId>
            <artifactId>myfaces-impl</artifactId>
            <version>1.2.1-SNAPSHOT</version>
        </dependency>

Note: Maven 2.0.4 will not download a new version if one is already present in your local repository. You will need to delete $M2_REPO/org/apache/myfaces/core to force Maven to download the new version. (Usually, $M2_REPO is <your home directory>/.m2/repository .)

Test your application, then, let us know the results (good or bad!) on dev at myfaces.apache.org. (You must be subscribed to post. See: http://myfaces.apache.org/mail-lists.html.)

Tasks

Proposed Release Announcement

}}}

== Diary ==
<<Anchor(diary)>>

1. Preparing shared 3.0.2

    * Trying to prepare SUCCESS!.
{{{
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_2 -DdryRun=true
  • Release it! FAIL.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_2 -Dresume=false
  • mvn install, mvn release:rollback and try again SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_2 -Dresume=false

2. Preparing core 1.2.2

  • copied trunk to temporary work branch core/branches/1_2_2prepare
  • Set all dependencies to org.apache.myfaces.shared artifacts to version "3.0.2" instead 3.0.1-SNAPSHOT
  • -DdryRun=true SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/core/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=1_2_2 -DdryRun=true
  • Do it! -Dresume=false SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/core/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=1_2_2 -Dresume=false
  • Checkout 1_2_2 branch mvn install

3. Deploy on local repo

*shared 3.0.2 and core 1.2.2

mvn clean deploy -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/lu4242/stage/repo -Psign-artifacts -Dpassphrase=??? 

*copy manually using scp to the account on people.apache.org. Due to a bug on linux [WWW] http://jira.codehaus.org/browse/MDEPLOY-62 deploy not work on linux. SUCCESS

   cd home/lu4242/stage/repo
   scp -p -r org lu4242@people.apache.org:/home/lu4242/public_html/myfaces121

4. JIRA Release Management

  • Create 1.2.2 and 1.2.2-SNAPSHOT versions
  • Move issues from 1.2.1 to 1.2.2 since 1.2.1 never was released
  • Find resolved issues and close them
  • Unresolved issues moved to 1.2.3-SNAPSHOT

5. Next step is the TCK
TCK passed confirmed by Joe Bohn

6. Generate assembly

  • Try to do it automatically javadoc and other stuff SUCCESS. It generate myfaces-core-1.2.2-bin.tar.gz and zip,
cd 1_2_2
mvn install -Pgenerate-assembly
cd assembly
mvn assembly:assembly -Psign-artifacts -Dpassphrase=??? 

  • Create myfaces-core-1.2.2-src.tar.gz and zip manually and create .asc .md5 .sha1 for bin and src
openssl md5 myfaces-core-1.2.2-src.tar.gz > myfaces-core-1.2.2-src.tar.gz.md5
openssl md5 myfaces-core-1.2.2-src.zip > myfaces-core-1.2.2-src.zip.md5
openssl sha1 myfaces-core-1.2.2-src.tar.gz > myfaces-core-1.2.2-src.tar.gz.md5
openssl sha1 myfaces-core-1.2.2-src.zip > myfaces-core-1.2.2-src.zip.sha1
gpg --armor --output myfaces-core-1.2.2-src.tar.gz.asc --detach-sig myfaces-core-1.2.2-src.tar.gz
gpg --armor --output myfaces-core-1.2.2-src.zip.asc --detach-sig myfaces-core-1.2.2-src.zip

openssl md5 myfaces-core-1.2.2-bin.tar.gz > myfaces-core-1.2.2-bin.tar.gz.md5
openssl md5 myfaces-core-1.2.2-bin.zip > myfaces-core-1.2.2-bin.zip.md5
openssl sha1 myfaces-core-1.2.2-bin.tar.gz > myfaces-core-1.2.2-bin.tar.gz.md5
openssl sha1 myfaces-core-1.2.2-bin.zip > myfaces-core-1.2.2-bin.zip.sha1
gpg --armor --output myfaces-core-1.2.2-bin.tar.gz.asc --detach-sig myfaces-core-1.2.2-bin.tar.gz
gpg --armor --output myfaces-core-1.2.2-bin.zip.asc --detach-sig myfaces-core-1.2.2-bin.zip

7. VOTE

Hi,

I was running the needed tasks to get the 1.2.2 release of Apache
MyFaces core out.

Please note that this vote concerns all of the following parts:
 1. Maven artifact group "org.apache.myfaces.shared" v3.0.2  [1]
 2. Maven artifact group "org.apache.myfaces.core" v1.2.2  [1]

The artifacts are deployed to my private Apache account ([1]).

Please take a look at the "1.2.2" artifacts and vote!

Please note: This vote is "majority approval" with a minimum of three
+1 votes (see [3]).

------------------------------------------------
[ ] +1 for community members who have reviewed the bits
[ ] +0
[ ] -1 for fatal flaws that should cause these bits not to be released,
 and why..............
------------------------------------------------

Thanks,
Leonardo Uribe

[1] http://people.apache.org/~lu4242/myfaces122
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes

8. Clirr report to check binary incompatibilities success

9. Vote closed, starting distribution

  • detected error when generating md5 and sha1, do again and SUCCESS!
  • copy on /www/www.apache.org/dist/myfaces/source and /www/www.apache.org/dist/myfaces/binaries
cd /home/lu4242/public_html/myfaces122binsrc/sources
cp * /www/www.apache.org/dist/myfaces/source
cd /home/lu4242/public_html/myfaces122binsrc/binaries
cp * /www/www.apache.org/dist/myfaces/binaries
  • No labels