Notes on the MyFaces Core 1.2.5 Release
Release manager: Leonardo Uribe
Timeline
- Proposed release date: 2008-11-08
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 1.2.5 snapshots:
<dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-api</artifactId> <version>1.2.5-SNAPSHOT</version> </dependency> <dependency> <groupId>org.apache.myfaces.core</groupId> <artifactId>myfaces-impl</artifactId> <version>1.2.5-SNAPSHOT</version> </dependency>
Note: Maven 2.0.4 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 == <<Anchor(diary)>> 1. Preparing shared 3.0.5 * Trying to prepare SUCCESS!. {{{ mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_5 -DdryRun=true
- Release it! FAIL.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_5 -Dresume=false
- mvn install, mvn release:rollback and try again SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/shared/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=3_0_5 -Dresume=false
2. Preparing core 1.2.5
- copied trunk to temporary work branch core/branches/1_2_5prepare
- Set all dependencies to org.apache.myfaces.shared artifacts to version "3.0.5" instead 3.0.5-SNAPSHOT
- -DdryRun=true SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/core/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=1_2_5 -DdryRun=true
- Do it! -Dresume=false SUCCESS!
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/core/branches -Dusername=lu4242 -Dscm.password=??? -Dtag=1_2_5 -Dresume=false
- Checkout 1_2_5 branch mvn install -DperformRelease=true
3. Deploy on local repo
*shared 3.0.5 and core 1.2.5
mvn clean deploy -DperformRelease=true -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/lu4242/stage/repo125 -Psign-artifacts -Dpassphrase=???
*copy manually using scp to the account on people.apache.org. Due to a bug on linux [WWW] http://jira.codehaus.org/browse/MDEPLOY-62 deploy not work on linux. SUCCESS
cd home/lu4242/stage/repo125 scp -p -r org lu4242@people.apache.org:/home/lu4242/public_html/myfaces125
4. JIRA Release Management
- Create 1.2.6 and 1.2.6-SNAPSHOT versions
- Find resolved issues and close them
- Unresolved issues moved to 1.2.6-SNAPSHOT
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-1.2.5-bin.tar.gz and zip,
cd 1_2_5 mvn install -Pgenerate-assembly cd assembly mvn package
- Create myfaces-core-1.2.5-src.tar.gz and zip manually and create .asc .md5 .sha1 for bin and src
openssl md5 myfaces-core-1.2.5-src.tar.gz > myfaces-core-1.2.5-src.tar.gz.md5 openssl md5 myfaces-core-1.2.5-src.zip > myfaces-core-1.2.5-src.zip.md5 openssl sha1 myfaces-core-1.2.5-src.tar.gz > myfaces-core-1.2.5-src.tar.gz.sha1 openssl sha1 myfaces-core-1.2.5-src.zip > myfaces-core-1.2.5-src.zip.sha1 gpg --armor --output myfaces-core-1.2.5-src.tar.gz.asc --detach-sig myfaces-core-1.2.5-src.tar.gz gpg --armor --output myfaces-core-1.2.5-src.zip.asc --detach-sig myfaces-core-1.2.5-src.zip openssl md5 myfaces-core-1.2.5-bin.tar.gz > myfaces-core-1.2.5-bin.tar.gz.md5 openssl md5 myfaces-core-1.2.5-bin.zip > myfaces-core-1.2.5-bin.zip.md5 openssl sha1 myfaces-core-1.2.5-bin.tar.gz > myfaces-core-1.2.5-bin.tar.gz.sha1 openssl sha1 myfaces-core-1.2.5-bin.zip > myfaces-core-1.2.5-bin.zip.sha1 gpg --armor --output myfaces-core-1.2.5-bin.tar.gz.asc --detach-sig myfaces-core-1.2.5-bin.tar.gz gpg --armor --output myfaces-core-1.2.5-bin.zip.asc --detach-sig myfaces-core-1.2.5-bin.zip
- Copy to private account on people.apache.org
scp -p -r myfaces-core-1.2.5-bin* lu4242@people.apache.org:/home/lu4242/public_html/myfaces125binsrc/binaries scp -p -r myfaces-core-1.2.5-src* lu4242@people.apache.org:/home/lu4242/public_html/myfaces125binsrc/sources
7. VOTE
Hi, I was running the needed tasks to get the 1.2.5 release of Apache MyFaces core out. The problem found on linux systems was solved (see MYFACES-2025). The artifacts passed all TCK test. Please note that this vote concerns all of the following parts: 1. Maven artifact group "org.apache.myfaces.shared" v3.0.5 [1] 2. Maven artifact group "org.apache.myfaces.core" v1.2.5 [1] The artifacts are deployed to my private Apache account ([1] and [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 "1.2.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] http://people.apache.org/~lu4242/myfaces125 [2] http://www.apache.org/foundation/voting.html#ReleaseVotes [3] http://people.apache.org/~lu4242/myfaces125binsrc [4] https://issues.apache.org/jira/secure/ReleaseNote.jspa?projectId=10600&styleName=Html&version=12313492
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/myfaces125binsrc/sources cp * /www/www.apache.org/dist/myfaces/source cd /home/lu4242/public_html/myfaces125binsrc/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 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=???
- SVN Tags for projects
http://svn.apache.org/repos/asf/myfaces/shared/tags/3_0_5/
http://svn.apache.org/repos/asf/myfaces/core/tags/1_2_5/
10. Announce
Subject: [ANNOUNCE] MyFaces Core v1.2.5 Release The Apache MyFaces team is pleased to announce the release of MyFaces Core 1.2.5. MyFaces Core is a JavaServer(tm) Faces 1.2 implementation as specified by JSR-252. MyFaces Core has passed Sun's JSR-252 TCK and is 100% compliant with the JSR-252 specification. MyFaces Core 1.2.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 1.2.5 Bug * [MYFACES-1886] - Translation is wrong for french * [MYFACES-1954] - <h:messages> changed defaults for showSummary and showDetail * [MYFACES-1964] - JspException thrown if actionListener's type attribute is not supplied * [MYFACES-1966] - facet tag is in both myfaces_core.tld and myfaces_html.tld * [MYFACES-2000] - text/* accept content type not supported * [MYFACES-2011] - Javascript error on links after clicking a popup/download link * [MYFACES-2023] - HtmlFormRendererBase not calling protected methods for actionUrl, method and charset Improvement * [MYFACES-1949] - Apply myfaces-builder-plugin generation for myfaces core 1.2.x and 2.0.x * [MYFACES-1960] - Make the state-manager (JspStateManagerImpl) behaviour storing the previous view-states in MyFaces optional Task * [MYFACES-1823] - pom.xml uses deprecated syntax * [MYFACES-1976] - Enhance build process, unpacking shared only when a release occur and use a dependency to shared instead regards Leonardo Uribe