Notes on the MyFaces Build Tools Builder Plugin 1.0.2 Release

Release manager: Leonardo Uribe

Timeline

  • Proposed release date: 2008-10-24

Issues

  • This release is necessary for release myfaces core 1.2.5 and tomahawk 1.1.8

Testing

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

Add this to your pom.xml (a node inside <project> )

  <pluginRepositories>
    <pluginRepository>
        <id>test-builder-plugin-1.0.2</id>
        <name>Test repository for myfaces-builder-plugin 1.0.2</name>
        <url>http://people.apache.org/~lu4242/m2-plugins-102</url>
    </pluginRepository>
  </pluginRepositories>  

then use myfaces-builder-plugin:

    <plugins>
      <plugin>
        <groupId>org.apache.myfaces.buildtools</groupId>
        <artifactId>myfaces-builder-plugin</artifactId>
        <version>1.0.2</version>
        ..... some stuff ....
      </plugin>
    <plugins>

myfaces core 1.1.x, 1.2.x and tomahawk use myfaces-builder-plugin so the most easy way is modify its pom (api/pom.xml, impl/pom.xml for example) for use it, then mvn install and check the generated artifacts.

Tasks

Proposed Release Announcement

}}}

== Diary ==
<<Anchor(diary)>>

1. Preparing myfaces-plugin-parent 1.0.2

    * Trying to prepare SUCCESS!.
{{{
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-plugin-parent" -DdryRun=true
  • Release it! SUCCESS.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-plugin-parent" -Dresume=false
  • Rollback but do not remove branch files, for restore myfaces-plugin-parent to 1.0.2-SNAPSHOT (later this will be changed manually)
  • Checkout branch and build parent plugin pom using mvn clean install.

1.1 Preparing myfaces-builder-annotations 1.0.2

  • Change on pom.xml its parent plugin to 1.0.2 and temporary commit (avoid branch creation).
    • Trying to prepare SUCCESS!.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-builder-annotations" -DdryRun=true
  • Release it! SUCCESS.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-builder-annotations" -Dresume=false
  • Rollback but do not remove branch files, for restore myfaces-plugin-parent to 1.0.2-SNAPSHOT (later this will be changed manually)

1.2 Preparing myfaces-builder-plugin 1.0.2

  • Change on pom.xml its parent plugin to 1.0.2 and temporary commit (avoid branch creation).
    • Trying to prepare SUCCESS!.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-builder-plugin" -DdryRun=true
  • Release it! SUCCESS.
mvn release:prepare -DtagBase=https://svn.apache.org/repos/asf/myfaces/myfaces-build-tools/branches/ -Dusername=lu4242 -Dscm.password=??? -Dtag="lu4242_m2_plugins_102_release/myfaces-builder-plugin" -Dresume=false
  • Rollback but do not remove branch files, for restore myfaces-plugin-parent to 1.0.2-SNAPSHOT (later this will be changed manually)

2. Deploy on local repo (all three artifacts) SUCCESS

mvn clean source:jar install deploy -DaltDeploymentRepository=myfaces-local-staging::default::scp://localhost/home/lu4242/stage/repoplugins102 -DperformRelease=true

3. Copy on people.apache.org

scp -p -r org lu4242@people.apache.org:/home/lu4242/public_html/m2-plugins-102

4. Ask for vote

Hi,

I was running the needed tasks to get the 1.0.2 release of Apache
MyFaces Builder Plugin out.

This artifacts are necessary to release myfaces core 1.2.5 (the first
myfaces 1.2.x version to fully use myfaces builder plugin). Note that
a snapshot version is used for build myfaces core 1.2.x and 2.0.x branch.

Several bug fixes has been done on some java annotations and on plugins.

Please note that this vote concerns all of the following parts:
 1. Maven artifact group "org.apache.myfaces.buildtools" v1.0.2 (only myfaces-builder-plugin, myfaces-builder-annotations, myfaces-plugin-parent) [1]

The artifacts are deployed to my private Apache account ([1]).

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 [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/m2-plugins-102
[2] http://www.apache.org/foundation/voting.html#ReleaseVotes

5. Vote success, continue with the procedure

6. Deploy on repo1.maven.org

mvn clean source:jar 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 Builder Plugin and Annotations 1.0.2.

Apache MyFaces Builder Plugin is a maven plugin, used internally in
other projects like myfaces core and tomahawk for generate component classes,
tag classes, faces-config files, .tld files and facelets taglib files. In other
words, its several maven goals provide a component kit for generate jsf
components with minimal effort.

Apache Myfaces Builder Annotations is a set of annotations used by 
Myfaces Builder Plugin to define the metadata.

Apache MyFaces Builder Plugin and Annotations is available in the central Maven repository under
Group ID "org.apache.myfaces.buildtools".

Enjoy!


  • No labels