Notes on the MyFaces Core 2.1.0 Release




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

Download a nightly build of the distribution assemblies:

Configure a <repository> for Maven 2:

           <name>Apache Snapshot Repository</name>

And declare a dependency on the 2.1.0 snapshots:


Note: Maven 2.1.0 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- (You must be subscribed to post. See:


Proposed Release Announcement


1. Preparing shared 4.1.0

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

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

mvn install -Pgenerate-assembly
cd assembly
mvn package

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

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

scp -p -r myfaces-core-2.1.0-bin*
scp -p -r myfaces-core-2.1.0-src*

cd /home/lu4242/public_html/myfaces210binsrc/binaries

wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate

cd /home/lu4242/public_html/myfaces210binsrc/sources

wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate
wget --no-check-certificate



I was running the needed tasks to get the 2.1.0 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.1.0  [1]
 2. Maven artifact group "org.apache.myfaces.core" v2.1.0  [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.1.0" 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..............

Leonardo Uribe


8. Clirr report to check binary incompatibilities success

9. Vote closed, starting distribution

cd /home/lu4242/public_html/myfaces210binsrc/sources
cp * /www/
cd /home/lu4242/public_html/myfaces210binsrc/binaries
cp * /www/

Alternative for manual copy:

mvn clean deploy -DaltDeploymentRepository=myfaces-staging::default::scpexe:// -Psign-artifacts -DperformRelease=true -Dpassphrase=???

Alternative for manual copy:

mvn clean deploy -DaltDeploymentRepository=myfaces-staging::default::scpexe:// -Psign-artifacts -DperformRelease=true -Dpassphrase=??? -Pgenerate-assembly 

10. Announce

Subject: [ANNOUNCE] MyFaces Core v2.1.0 Release

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

MyFaces Core is a JavaServer(tm) Faces 2.1 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.1.0 is available in both binary and source distributions.


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

Release Notes - MyFaces Core - Version 2.1.0 


    * [MYFACES-3120] - Use ExternalContext.encodeResourceUrl for stylesheet and script links
    * [MYFACES-3121] - Add media attribute to h:outputStylesheet
    * [MYFACES-3134] - Move all code related to state caching into one place
    * [MYFACES-3137] - Align ResponseStateManager implementation with the spec
    * [MYFACES-3138] - Simplify ResponseStateManager implementation code


    * [MYFACES-2628] - Facelets ResourceSolver cant work
    * [MYFACES-2881] - Server state saving with two forms, ajax and normal request is broken
    * [MYFACES-2924] - Component bindings are not reset when explicit navigation to the same page is derived from action
    * [MYFACES-3103] - Composite component using new .view.xml mapping does not work
    * [MYFACES-3117] - Current server state saving implementation prevents multi-window usage
    * [MYFACES-3124] - Use both SKIP_ITERATION hints in RESTORE_VIEW
    * [MYFACES-3125] - ValidatorTagHandlerDelegate does not invoke next handler in partial processing mode, which damages the component structure
    * [MYFACES-3128] - Problems with a custom Resource Resolver
    * [MYFACES-3132] - javax.faces.context.ResponseWriterWrapper implementation is overdone
    * [MYFACES-3140] - FacesMessage.VALUES is not ordered properly
    * [MYFACES-3141] - FacesMessage implements Serializable but cannot be serialized
    * [MYFACES-3142] - h:outputScript and h:outputStylesheet renderer listeners cannot implement PartialStateHolder
    * [MYFACES-3152] - javax.faces.application.StateManager default implementation for writeState and saveSerializedView needs to be implemented
    * [MYFACES-3154] - UIDebug doesn't check for existing url parameters


    * [MYFACES-1753] - Do not require to buffer the output with server-side-state-saving
    * [MYFACES-1791] - state management and multiple frames
    * [MYFACES-2837] - jsf.js 2.0 reva new functions
    * [MYFACES-3111] - [PERF] Review UIData.saveDescendantComponentStates and restoreDescendantComponentStates
    * [MYFACES-3123] - jsf.js: Merge in the latest javascript fixes and changes from the 2.0 core into the 2.1 core
    * [MYFACES-3129] - [PERF] Call first getChildCount() or getFacetCount() before try to create the iterator
    * [MYFACES-3136] - [perf] review UIComponentBase.getRendererType
    * [MYFACES-3148] - Log "PanelGrid ... has not enough children" with Level.FINE in Production
    * [MYFACES-3151] - [perf] minimize ExternalContext.getInitParameter invocations in myfaces API

New Feature

    * [MYFACES-3075] - Allow ELResolvers filtering


    * [MYFACES-2616] - Fix UIData state saving model (spec issue 153)
    * [MYFACES-3025] - 2.1: implement VisitHint.SKIP_ITERATION support in UIData
    * [MYFACES-3083] - Implement StateManager.IS_SAVING_STATE
    * [MYFACES-3084] - Add FacesContext.isReleased() method
    * [MYFACES-3085] - Modify ResourceHandler.RESOURCE_EXCLUDES_DEFAULT_VALUE to include .groovy as an excluded default extension
    * [MYFACES-3086] - Add h:doctype component
    * [MYFACES-3087] - Add h:head and h:body xmlns property
    * [MYFACES-3088] - Implement ExternalContext.isSecure() and getSessionMaxInactiveInterval() method
    * [MYFACES-3089] - Implement FaceletCacheFactory and FaceletCache methods
    * [MYFACES-3090] - Implement VisitHint.SKIP_ITERATION hint in UIRepeat
    * [MYFACES-3091] - Implement UIComponent.ATTRS_WITH_DECLARED_DEFAULT_VALUES behavior
    * [MYFACES-3093] - Check FacesServlet description for support servlet 3.0 spec
    * [MYFACES-3094] - Check javax.faces.resource.Script and javax.faces.resource.Stylesheet modifications
    * [MYFACES-3095] - Check h:button and h:link modifications.
    * [MYFACES-3097] - Add cc:attribute targetAttributeName
    * [MYFACES-3098] - Add support for view.xml handling and facelets-processing element
    * [MYFACES-3110] - Allow use the same library for a composite component for resources defined inside it (resolve #{resource['this:...']} )
    * [MYFACES-3122] - Create xsd schemas for .view.xml pages


Leonardo Uribe