webtier@glassfish.java.net

Re: [webtier] Versioning of Mojarra jar files?

From: Ryan Lubke <Ryan.Lubke_at_Sun.COM>
Date: Wed, 14 Oct 2009 11:12:55 -0700

On 10/14/09 10:44 AM, Uwe Seimet wrote:
> Hello,
>
> I have a question regarding the filenames of jsf-api.jar and
> jsf-impl.jar. Can you add version numbers to these files, e.g.
> jsf-impl-2.0.0.jar? This would help to prevent errors like accidentally
> using Mojarra 2.0 in a setup where 1.2 would have been required.
>
I would recommend you obtain the 2.0.0 jars from maven. They include
the version string
in the jar file name.

RC2:

         <dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-api</artifactId>
             <version>2.0.0-b22</version>
         </dependency>
         <dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-impl</artifactId>
             <version>2.0.0-b22</version>
         </dependency>

Nightly:

         <dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-api</artifactId>
             <version>2.0.0-SNAPSHOT</version>
         </dependency>
         <dependency>
             <groupId>com.sun.faces</groupId>
             <artifactId>jsf-impl</artifactId>
             <version>2.0.0-SNAPSHOT</version>
         </dependency>


You can download directly from here:
http://download.java.net/maven/2/com/sun/faces/


> Best regards
>
> Uwe
>
>