Notes on the Apache MyFaces Commons 1.0.1 Release

Release manager: Leonardo Uribe

Timeline

  • Proposed release date: 2010-12-14

Issues

Tasks

Proposed Release Announcement

}}}

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

1. Preparing myfaces commons11 1.0.1
  * Try -DdryRun=true SUCCESS

{{{
mvn clean install
mvn install -Pgenerate-assembly
mvn release:prepare -DprepareRelease=true -DdryRun=true
  • Release it! FAIL
mvn release:prepare -DprepareRelease=true -Dresume=false
mvn install
mvn install -Pgenerate-assembly
mvn release:rollback -DprepareRelease=true 
mvn release:prepare -DprepareRelease=true -Dresume=false

Note: Preparing the release will create the new tag in SVN, automatically checking in on your behalf.

Note: If you're located in Europe then release:prepare may fail with 'Unable to tag SCM' and 'svn: No such revision X'. Wait 10 seconds and run mvn release:prepare again.

mvn release:prepare -DprepareRelease=true

2. Stage the release for a vote

mvn release:perform -DperformRelease=true

4. Generate assembly

cd myfaces-commons-assembly
mvn package
  • Sign artifacts using script.
openssl md5 myfaces-commons11-1.0.1-src.tar.gz > myfaces-commons11-1.0.1-src.tar.gz.md5
openssl md5 myfaces-commons11-1.0.1-src.zip > myfaces-commons11-1.0.1-src.zip.md5
openssl sha1 myfaces-commons11-1.0.1-src.tar.gz > myfaces-commons11-1.0.1-src.tar.gz.sha1
openssl sha1 myfaces-commons11-1.0.1-src.zip > myfaces-commons11-1.0.1-src.zip.sha1
gpg --armor --output myfaces-commons11-1.0.1-src.tar.gz.asc --detach-sig myfaces-commons11-1.0.1-src.tar.gz
gpg --armor --output myfaces-commons11-1.0.1-src.zip.asc --detach-sig myfaces-commons11-1.0.1-src.zip
openssl md5 myfaces-commons11-1.0.1-bin.tar.gz > myfaces-commons11-1.0.1-bin.tar.gz.md5
openssl md5 myfaces-commons11-1.0.1-bin.zip > myfaces-commons11-1.0.1-bin.zip.md5
openssl sha1 myfaces-commons11-1.0.1-bin.tar.gz > myfaces-commons11-1.0.1-bin.tar.gz.sha1
openssl sha1 myfaces-commons11-1.0.1-bin.zip > myfaces-commons11-1.0.1-bin.zip.sha1
gpg --armor --output myfaces-commons11-1.0.1-bin.tar.gz.asc --detach-sig myfaces-commons11-1.0.1-bin.tar.gz
gpg --armor --output myfaces-commons11-1.0.1-bin.zip.asc --detach-sig myfaces-commons11-1.0.1-bin.zip

openssl md5 myfaces-commons12-1.0.1-src.tar.gz > myfaces-commons12-1.0.1-src.tar.gz.md5
openssl md5 myfaces-commons12-1.0.1-src.zip > myfaces-commons12-1.0.1-src.zip.md5
openssl sha1 myfaces-commons12-1.0.1-src.tar.gz > myfaces-commons12-1.0.1-src.tar.gz.sha1
openssl sha1 myfaces-commons12-1.0.1-src.zip > myfaces-commons12-1.0.1-src.zip.sha1
gpg --armor --output myfaces-commons12-1.0.1-src.tar.gz.asc --detach-sig myfaces-commons12-1.0.1-src.tar.gz
gpg --armor --output myfaces-commons12-1.0.1-src.zip.asc --detach-sig myfaces-commons12-1.0.1-src.zip
openssl md5 myfaces-commons12-1.0.1-bin.tar.gz > myfaces-commons12-1.0.1-bin.tar.gz.md5
openssl md5 myfaces-commons12-1.0.1-bin.zip > myfaces-commons12-1.0.1-bin.zip.md5
openssl sha1 myfaces-commons12-1.0.1-bin.tar.gz > myfaces-commons12-1.0.1-bin.tar.gz.sha1
openssl sha1 myfaces-commons12-1.0.1-bin.zip > myfaces-commons12-1.0.1-bin.zip.sha1
gpg --armor --output myfaces-commons12-1.0.1-bin.tar.gz.asc --detach-sig myfaces-commons12-1.0.1-bin.tar.gz
gpg --armor --output myfaces-commons12-1.0.1-bin.zip.asc --detach-sig myfaces-commons12-1.0.1-bin.zip
  • Copy to directory
scp myfaces-commons11-1.0.1-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons101binsrc/binaries
scp myfaces-commons11-1.0.1-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons101binsrc/sources
scp myfaces-commons12-1.0.1-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons101binsrc/binaries
scp myfaces-commons12-1.0.1-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons101binsrc/sources

4. Ask for vote

Hi,

I was running the needed tasks to get the 1.0.1 release of Apache
MyFaces Commons out.

MyFaces Commons project aims to provide non-renderkit-specific utilites
that can be used with any MyFaces JSF framework.

For more info about this artifacts take a loot at the site on ([4]).

Please note that this vote concerns all of the following parts:
 1. Maven artifact group "org.apache.myfaces.commons" v1.0.1 [1]

The artifacts were deployed on nexus repo [1] and to my private 
Apache account [3] for binary and source packages.

The release notes could be found at [5].

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

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

------------------------------------------------
[ ] +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] https://repository.apache.org/content/repositories/orgapachemyfaces-007/org/apache/myfaces/commons/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://people.apache.org/~lu4242/myfacescommons101binsrc
[4] http://myfaces.apache.org/commons
[5] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310846&styleName=Html&version=12315967

5. Vote success, continue with the procedure

6. Deploy on repo1.maven.org

mvn clean install deploy -DperformRelease=true -DaltDeploymentRepository=myfaces-staging::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository  

7. copy svn branch to tag

8. ANNOUNCE mail

The Apache MyFaces team is pleased to announce the release of
Apache MyFaces Commons 1.0.1.

This project contains non-renderkit-specific code that can be used with any 
myfaces jsf framework.

MyFaces Commons 1.0.1 is available in both binary and source distributions.

    * http://myfaces.apache.org/commons/download.html

Apache MyFaces Commons is available in the central Maven repository under
Group ID "org.apache.myfaces.commons".

Release Notes - MyFaces Commons - Version 1.0.1

Bug

    * [MFCOMMONS-1] - id attribute for html components on JSF 1.2 could be set via an rtexprvalue (but not by a ValueExpression)
    * [MFCOMMONS-3] - <mc:exportActionListener> does not work with Facelets
    * [MFCOMMONS-8] - EnumConverter can't fetch target class automatically
    * [MFCOMMONS-16] - EL expressions are to evaluated on validation time for Validator classes on facelets
    * [MFCOMMONS-22] - Detail message for mcv:validateDateRestriction is not clear
    * [MFCOMMONS-24] - Copy myfaces messages from javax.faces.Messages.properties to myfaces commons utils bundle
    * [MFCOMMONS-26] - validateRegExpr doesnt support value binding in patter property

Improvement

    * [MFCOMMONS-4] - Adding Facelets example module to test components
    * [MFCOMMONS-6] - <mc:exporterActionListener> just reads first outputText of content
    * [MFCOMMONS-13] - Update MessageUtils to new implementation in shared
    * [MFCOMMONS-14] - Add new utility class for init parameters WebConfigParamUtils
    * [MFCOMMONS-15] - Move and document some very useful classes from shared to myfaces commons utils
    * [MFCOMMONS-17] - Add facelet function findComponent
    * [MFCOMMONS-18] - Use myfaces builder annotations instead doclets
    * [MFCOMMONS-19] - Create branch for JSF 2.0
    * [MFCOMMONS-21] - Update shale-test dependency with myfaces-test
    * [MFCOMMONS-23] - Test for classes on tld and faces-config.xml requires connection to java.sun.com
    * [MFCOMMONS-25] - Add Facelets Support to myfaces commons

New Feature

    * [MFCOMMONS-12] - Add ConverterBase class to allow create converters that evaluate EL expressions at render time
    * [MFCOMMONS-20] - Add mc:outputClientId component and Facelets EL function

Enjoy!

Leonardo Uribe

  • No labels