Notes on the Apache MyFaces Commons 1.0.2 Release

Timeline

Issues

Tasks

Proposed Release Announcement

Diary

1. Preparing myfaces commons11 1.0.2

mvn clean install
mvn install -Pgenerate-assembly
mvn release:prepare -DprepareRelease=true -DdryRun=true

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

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

openssl md5 myfaces-commons11-1.0.2-src.tar.gz > myfaces-commons11-1.0.2-src.tar.gz.md5
openssl md5 myfaces-commons11-1.0.2-src.zip > myfaces-commons11-1.0.2-src.zip.md5
openssl sha1 myfaces-commons11-1.0.2-src.tar.gz > myfaces-commons11-1.0.2-src.tar.gz.sha1
openssl sha1 myfaces-commons11-1.0.2-src.zip > myfaces-commons11-1.0.2-src.zip.sha1
gpg --armor --output myfaces-commons11-1.0.2-src.tar.gz.asc --detach-sig myfaces-commons11-1.0.2-src.tar.gz
gpg --armor --output myfaces-commons11-1.0.2-src.zip.asc --detach-sig myfaces-commons11-1.0.2-src.zip
openssl md5 myfaces-commons11-1.0.2-bin.tar.gz > myfaces-commons11-1.0.2-bin.tar.gz.md5
openssl md5 myfaces-commons11-1.0.2-bin.zip > myfaces-commons11-1.0.2-bin.zip.md5
openssl sha1 myfaces-commons11-1.0.2-bin.tar.gz > myfaces-commons11-1.0.2-bin.tar.gz.sha1
openssl sha1 myfaces-commons11-1.0.2-bin.zip > myfaces-commons11-1.0.2-bin.zip.sha1
gpg --armor --output myfaces-commons11-1.0.2-bin.tar.gz.asc --detach-sig myfaces-commons11-1.0.2-bin.tar.gz
gpg --armor --output myfaces-commons11-1.0.2-bin.zip.asc --detach-sig myfaces-commons11-1.0.2-bin.zip

openssl md5 myfaces-commons12-1.0.2-src.tar.gz > myfaces-commons12-1.0.2-src.tar.gz.md5
openssl md5 myfaces-commons12-1.0.2-src.zip > myfaces-commons12-1.0.2-src.zip.md5
openssl sha1 myfaces-commons12-1.0.2-src.tar.gz > myfaces-commons12-1.0.2-src.tar.gz.sha1
openssl sha1 myfaces-commons12-1.0.2-src.zip > myfaces-commons12-1.0.2-src.zip.sha1
gpg --armor --output myfaces-commons12-1.0.2-src.tar.gz.asc --detach-sig myfaces-commons12-1.0.2-src.tar.gz
gpg --armor --output myfaces-commons12-1.0.2-src.zip.asc --detach-sig myfaces-commons12-1.0.2-src.zip
openssl md5 myfaces-commons12-1.0.2-bin.tar.gz > myfaces-commons12-1.0.2-bin.tar.gz.md5
openssl md5 myfaces-commons12-1.0.2-bin.zip > myfaces-commons12-1.0.2-bin.zip.md5
openssl sha1 myfaces-commons12-1.0.2-bin.tar.gz > myfaces-commons12-1.0.2-bin.tar.gz.sha1
openssl sha1 myfaces-commons12-1.0.2-bin.zip > myfaces-commons12-1.0.2-bin.zip.sha1
gpg --armor --output myfaces-commons12-1.0.2-bin.tar.gz.asc --detach-sig myfaces-commons12-1.0.2-bin.tar.gz
gpg --armor --output myfaces-commons12-1.0.2-bin.zip.asc --detach-sig myfaces-commons12-1.0.2-bin.zip

scp myfaces-commons11-1.0.2-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/binaries
scp myfaces-commons11-1.0.2-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/sources
scp myfaces-commons12-1.0.2-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/binaries
scp myfaces-commons12-1.0.2-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/sources
scp myfaces-commons20-1.0.2-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/binaries
scp myfaces-commons20-1.0.2-src* lu4242@people.apache.org:/home/lu4242/public_html/myfacescommons102binsrc/sources

4. Ask for vote

Hi,

I was running the needed tasks to get the 1.0.2 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.2 [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.2" 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-051/org/apache/myfaces/commons/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://people.apache.org/~lu4242/myfacescommons102binsrc
[4] http://myfaces.apache.org/commons
[5] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=12310846&version=12318450

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

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

MyFaces Commons 1.0.2 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.2

Bug

    * [MFCOMMONS-27] - CLONE - Its not possible to change the summary/ detail message of a ParametrizableFacesMessage
    * [MFCOMMONS-32] - mcv:validateCompareTo uses "for" attribute to identify the target component, but JSF 2.0 facelets reserves that property name for composite components
    * [MFCOMMONS-34] - HTML class should declare constants
    * [MFCOMMONS-37] - Extended ResourceHandler should be configured after all other wrappers, to be the first one when a request is processed
    * [MFCOMMONS-38] - Resource ending with .css is not processed for value expressions when gzip compression is enabled and cache disk is true

Improvement

    * [MFCOMMONS-30] - Change URL management of Advanced JSF 2 ResourceHandler
    * [MFCOMMONS-35] - Move some utility methods from shared to commons
    * [MFCOMMONS-36] - MyFaces Commons ResourceHandler should allow configuration /javax.faces.resource or ResourceHandler#RESOURCE_IDENTIFIER through a web config param

New Feature

    * [MFCOMMONS-29] - Advanced JSF 2 ResourceHandler

Task

    * [MFCOMMONS-33] - Extended ResourceHandler implementation

Enjoy!

Leonardo Uribe