11 May 2011

Migration from Seam 2 to Seam 3

I am migrating one of my application from Seam 2 to Seam 3 and hence posting my observations in this post. The post is not complete yet and i will be adding to it when ever i work on the migration.
  1.  To begin with configure the profile mentioned in this link either in your pom.xml or settings.xml. Else the build will fail to resolve parent pom.
  2. Install Maven 3.0.3 or above. Certain Maven plugins will not work with 2.2.1 or any 2.x.x versions.
  3.  
    UPDATE: As Seam 3.0 is lacking many of the features in Seam 2.0 I have paused the migration as of now and waiting for Seam 3.1 release
     

    07 April 2011

    Generating a self signed certificate specifying validity using keytool in JDK

    Sometimes you may wish to change the default validity of a JDK keytool generated self signed certificate in your development environment. Use the argument validity to control the validity period. In the below example the validity is 10 years.

    keytool -genkey -keystore yourname.keys -alias somealias -validity 3650