Notes on the MyFaces Core 2.0.5 Release

Timeline

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 2.0.5 snapshots:

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

Note: Maven 2.0.5 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

1. Preparing shared 4.0.6

mvn release:prepare -DdryRun=true

mvn release:prepare -Dresume=false
mvn install
mvn release:rollback
mvn release:prepare -Dresume=false

mvn release:prepare

mvn release:perform

2. Preparing core 2.0.5

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

mvn release:prepare -DprepareRelease=true -Dresume=false
mvn install
mvn install -Pgenerate-assembly -Papache-release
mvn release:rollback -DprepareRelease=true 
mvn release:prepare -DprepareRelease=true -Dresume=false

mvn release:prepare -DprepareRelease=true

mvn release:perform -DperformRelease=true

4. JIRA Release Management

5. Next step is the TCK

6. Generate assembly

cd 2_0_4
mvn install -Pgenerate-assembly
cd assembly
mvn package

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

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

scp -p -r myfaces-core-2.0.5-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfaces205binsrc/binaries
scp -p -r myfaces-core-2.0.5-src* lu4242@people.apache.org:/home/lu4242/public_html/myfaces205binsrc/sources

cd /home/lu4242/public_html/myfaces205binsrc/binaries

wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-bin.zip.sha1

cd /home/lu4242/public_html/myfaces205binsrc/sources

wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-066/org/apache/myfaces/core/myfaces-core-assembly/2.0.5/myfaces-core-assembly-2.0.5-src.zip.sha1

7. VOTE

Hi,

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

The artifacts passed all TCK tests.

Please note that this vote concerns all of the following parts:
 1. Maven artifact group "org.apache.myfaces.shared" v4.0.6  [1]
 2. Maven artifact group "org.apache.myfaces.core" v2.0.5  [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 [4].

Also the clirr test does not show binary incompatibilities with myfaces-api.

Please take a look at the "2.0.5" 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] https://repository.apache.org/content/repositories/orgapachemyfaces-044/org/apache/myfaces/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://people.apache.org/~lu4242/myfaces205binsrc
[4] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12316346

8. Clirr report to check binary incompatibilities success

9. Vote closed, starting distribution

cd /home/lu4242/public_html/myfaces205binsrc/sources
cp * /www/www.apache.org/dist/myfaces/source
cd /home/lu4242/public_html/myfaces205binsrc/binaries
cp * /www/www.apache.org/dist/myfaces/binaries

Alternative for manual copy:

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

Alternative for manual copy:

mvn clean deploy -DaltDeploymentRepository=myfaces-staging::default::scpexe://people.apache.org/www/people.apache.org/repo/m2-ibiblio-rsync-repository -Psign-artifacts -DperformRelease=true -Dpassphrase=??? -Pgenerate-assembly 

10. Announce

Subject: [ANNOUNCE] MyFaces Core v2.0.5 Release

The Apache MyFaces team is pleased to announce the release of MyFaces Core 2.0.5.

MyFaces Core is a JavaServer(tm) Faces 2.0 implementation as specified by JSR-314. MyFaces Core has passed Sun's JSR-314 TCK and is 100% compliant with the JSR-314 specification. 

MyFaces Core 2.0.5 is available in both binary and source distributions.

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

MyFaces Core is also available in the central Maven repository under Group ID "org.apache.myfaces.core".

Release Notes - MyFaces Core - Version 2.0.5 

Bug

    * [MYFACES-2457] - f:selectItem "escape" property not bound in facelets
    * [MYFACES-3035] - PostConstruct method is called before properties are injected on Tomcat 7
    * [MYFACES-3039] - MyFaces broken in Portlet environment: Fails to support extendable FacesContextFactory/FacesContext/ExternalContext
    * [MYFACES-3040] - @PreDestroy Has Called 2 times
    * [MYFACES-3042] - CCE: when running in portlet: Remove Servlet dependencies in FaceletViewDeclarationLanguage.java
    * [MYFACES-3043] - Ajax: response(...) function breaks if request(...) has not been called previously
    * [MYFACES-3044] - Resource jsf.js not found when using the OSGi bundle
    * [MYFACES-3045] - jsf.js jsf.ajax.request doesn't resolve calling URL correctly -- ajax use in portlets broken
    * [MYFACES-3047] - Component resources disappear after page reload
    * [MYFACES-3049] - Bean Validation doesn't work with Glassfish el-impl-2.2
    * [MYFACES-3050] - jsf.js: Bug in onload handler and queue
    * [MYFACES-3054] - Allow forClass and value (converterId) together for @FacesConverter
    * [MYFACES-3061] - Failure rendering the whole page by ajax due to ui:debug
    * [MYFACES-3064] - UIView.createUniqueId shouldn't call encodeNameSpace to build the id.
    * [MYFACES-3065] - checkedViewIdCacheEnabled should only be FALSE in ProjectStage#Development
    * [MYFACES-3069] - Ajax: response function cannot be overrided by custom components
    * [MYFACES-3081] - javax.faces.Application addBehaviors() throws UnsupportedOperationException when it shouldn't
    * [MYFACES-3096] - Attached object pointing to the same component twice add one of them twice
    * [MYFACES-3102] - FaceletViewDeclarationLanguage.getRenderedViewId is not necessary anymore since JSF 2.0

Improvement

    * [MYFACES-2995] - Make method of determinine app context in FactoryFinder pluggable
    * [MYFACES-3005] - Only send Flash cookie if needed
    * [MYFACES-3071] - jsf.js: improve dynamic code loading
    * [MYFACES-3072] - jsf.js: improvement in the error reporting
    * [MYFACES-3073] - jsf.js: code cleanup _Runtime.js

New Feature

    * [MYFACES-2290] - Add OSGi bundle information and bundle classloader / activator

Test

    * [MYFACES-3062] - drop cglib from api tests

regards,

Leonardo Uribe

CoreRelease205 (last edited 2011-04-10 19:31:28 by LeonardoUribe)