Tuesday, May 27, 2008

Using Facelets with Apache MyFaces Tomahawk

Probably the easiest way to use Facelets with Apache MyFaces Tomahawk is using the tomahawk-facelets project.

Installing the library into your local maven repository is easy:

mvn install:install-file -Dfile=tomahawk-facelets.jar -DgroupId=com.google.code.tomahawk -DartifactId=tomahawk-facelets -Dversion=1.1.6.2 -Dpackaging=jar -DgeneratePom=true

Then you can use it in your pom:
<dependency>
    <groupId>com.google.code.tomahawk</groupId>
    <artifactId>tomahawk-facelets</artifactId>
    <version>1.1.6.2</version>
</dependency>

No comments:

Post a Comment

Related Posts Plugin for WordPress, Blogger...