You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by Apache Wiki <wi...@apache.org> on 2013/10/25 23:14:38 UTC
[Myfaces Wiki] Update of "CoreRelease220beta" by LeonardoUribe
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Myfaces Wiki" for change notification.
The "CoreRelease220beta" page has been changed by LeonardoUribe:
https://wiki.apache.org/myfaces/CoreRelease220beta
New page:
== Notes on the MyFaces Core 2.2.0-beta Release ==
Release manager: Leonardo Uribe
== Timeline ==
* Proposed release date: 2013-10-30
=== Issues ===
=== Testing ===
<<Anchor(testing)>>
Here's how you can help us test the distribution.
Download a nightly build of the distribution assemblies:
* http://people.apache.org/builds/myfaces/nightly/
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.2.0-beta snapshots:
{{{
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-api</artifactId>
<version>2.2.0-beta-SNAPSHOT</version>
</dependency>
<dependency>
<groupId>org.apache.myfaces.core</groupId>
<artifactId>myfaces-impl</artifactId>
<version>2.2.0-beta-SNAPSHOT</version>
</dependency>}}}
'''Note:''' Maven 2.2.0-beta 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 ==
<<Anchor(tasks)>>
== Proposed Release Announcement ==
<<Anchor(releasenotes)>>
{{{
}}}
== Diary ==
<<Anchor(diary)>>
Follow the guide on http://www.apache.org/dev/publishing-maven-artifacts.html
1. Preparing shared 4.2.0
* Change shared/core/pom.xml variable to mirror updated shared copy from core and run from shared root path
{{{
mvn clean install -Dsynch-shared=true
}}}
* Try -DdryRun=true SUCCESS
{{{
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/tags -DdryRun=true
}}}
* Release it! FAIL
{{{
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/tags -Dresume=false
mvn install
mvn release:rollback
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/tags -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 -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/tags
}}}
* Stage the release for a vote
{{{
mvn release:perform -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/tags
}}}
2. Preparing core 2.2.0-beta
* Try -DdryRun=true SUCCESS
{{{
mvn clean install
mvn install -Pgenerate-assembly -Papache-release
mvn release:prepare -DprepareRelease=true -DdryRun=true
}}}
* Release it! FAIL
{{{
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
}}}
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
}}}
* Stage the release for a vote
{{{
mvn release:perform -DperformRelease=true
}}}
* Checkout generated tag mvn install -DperformRelease=true
4. JIRA Release Management
* Create 2.1.1 and 2.1.1-SNAPSHOT versions
* Find resolved issues and close them
* Unresolved issues moved to 2.1.1-SNAPSHOT
* Issues fixed on both 2.1.1, 2.0.6 should be saved on a text file to add it later.
5. Next step is the TCK
TCK passed confirmed by Leonardo Uribe
6. Generate assembly
* Try to do it automatically javadoc and other stuff SUCCESS. It generate myfaces-core-2.2.0-beta-bin.tar.gz and zip,
{{{
mvn install -Pgenerate-assembly
cd assembly
mvn package
}}}
* Create myfaces-core-2.2.0-beta-src.tar.gz and zip manually and create .asc .md5 .sha1 for bin and src
{{{
openssl md5 myfaces-core-2.2.0-beta-src.tar.gz > myfaces-core-2.2.0-beta-src.tar.gz.md5
openssl md5 myfaces-core-2.2.0-beta-src.zip > myfaces-core-2.2.0-beta-src.zip.md5
openssl sha1 myfaces-core-2.2.0-beta-src.tar.gz > myfaces-core-2.2.0-beta-src.tar.gz.sha1
openssl sha1 myfaces-core-2.2.0-beta-src.zip > myfaces-core-2.2.0-beta-src.zip.sha1
gpg --armor --output myfaces-core-2.2.0-beta-src.tar.gz.asc --detach-sig myfaces-core-2.2.0-beta-src.tar.gz
gpg --armor --output myfaces-core-2.2.0-beta-src.zip.asc --detach-sig myfaces-core-2.2.0-beta-src.zip
openssl md5 myfaces-core-2.2.0-beta-bin.tar.gz > myfaces-core-2.2.0-beta-bin.tar.gz.md5
openssl md5 myfaces-core-2.2.0-beta-bin.zip > myfaces-core-2.2.0-beta-bin.zip.md5
openssl sha1 myfaces-core-2.2.0-beta-bin.tar.gz > myfaces-core-2.2.0-beta-bin.tar.gz.sha1
openssl sha1 myfaces-core-2.2.0-beta-bin.zip > myfaces-core-2.2.0-beta-bin.zip.sha1
gpg --armor --output myfaces-core-2.2.0-beta-bin.tar.gz.asc --detach-sig myfaces-core-2.2.0-beta-bin.tar.gz
gpg --armor --output myfaces-core-2.2.0-beta-bin.zip.asc --detach-sig myfaces-core-2.2.0-beta-bin.zip
}}}
* Copy to private account on people.apache.org
{{{
scp -p -r myfaces-core-2.2.0-beta-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfaces220betabinsrc/binaries
scp -p -r myfaces-core-2.2.0-beta-src* lu4242@people.apache.org:/home/lu4242/public_html/myfaces220betabinsrc/sources
}}}
* ALTERNATIVE: get it from nexus maven repository:
{{{
cd /home/lu4242/public_html/myfaces220betabinsrc/binaries
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-bin.zip.sha1
cd /home/lu4242/public_html/myfaces220betabinsrc/sources
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.tar.gz
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.tar.gz.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.tar.gz.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.tar.gz.sha1
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.zip
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.zip.asc
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.zip.md5
wget --no-check-certificate https://repository.apache.org/content/repositories/orgapachemyfaces-015/org/apache/myfaces/core/myfaces-core-assembly/2.2.0-beta/myfaces-core-assembly-2.2.0-beta-src.zip.sha1
}}}
7. VOTE
{{{
Hi,
I was running the needed tasks to get the 2.2.0-beta 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.2.0 [1]
2. Maven artifact group "org.apache.myfaces.core" v2.2.0-beta [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.2.0-beta" 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-015/org/apache/myfaces/
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes
[3] http://people.apache.org/~lu4242/myfaces220betabinsrc
[4] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&version=12324571
}}}
8. Clirr report to check binary incompatibilities success
9. Vote closed, starting distribution
* copy on /www/www.apache.org/dist/myfaces/source and /www/www.apache.org/dist/myfaces/binaries
{{{
cd /home/lu4242/public_html/myfaces220betabinsrc/sources
cp * /www/www.apache.org/dist/myfaces/source
cd /home/lu4242/public_html/myfaces220betabinsrc/binaries
cp * /www/www.apache.org/dist/myfaces/binaries
}}}
* copy shared on /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/shared and test SUCCESS
{{{
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=???
}}}
* copy core on /www/people.apache.org/repo/m2-ibiblio-rsync-repository/org/apache/myfaces/core SUCCESS
{{{
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
}}}
* Site deploy for shared and core (mvn site:site and mvn site:deploy)
10. Announce
* Sent announcement mail
* To: announce@apache.org, announce@myfaces.apache.org
* Cc: dev@myfaces.apache.org, users@myfaces.apache.org
* Sent announcement to jcp-open@apache.org (Necessary for TCK certified releases)
{{{
Subject: [ANNOUNCE] MyFaces Core v2.2.0-beta Release
The Apache MyFaces team is pleased to announce the release of MyFaces Core 2.2.0-beta.
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.2.0-beta 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".
Bug
[MYFACES-3696] - Button rendering itself after ajax request loses type and other attributes
[MYFACES-3705] - Concurrency "feature" in FaceletCacheImpl
[MYFACES-3708] - NPE when no title using primefaces mobile
[MYFACES-3709] - metadata - component with duplicate id
[MYFACES-3721] - Override of uniqueIdCounter for UIViewRoot in restoreView cause component duplicate id exception
[MYFACES-3726] - root context induces wrong urls
[MYFACES-3731] - HTMLEncoder.encodeURIAtributte re-escapes already percent-encoded string
Improvement
[MYFACES-3710] - Create SelectItemsIterator only once in UISelectOne.validateValue()
[MYFACES-3712] - [perf] UILeaf.setId() does not require the valid id check, because it is always generated by facelets
[MYFACES-3713] - [perf] use getFacetCount() when possible and avoid create iterator instances
New Feature
[MYFACES-3711] - Add alwaysRecompile mode for EL Expression Cache Mode
regards,
Leonardo Uribe
}}}