27 diciembre 2008

Seam Maven integration

Usage of Seam Maven integration

Archetype:

We recommend using our Seam Archetype.

By running this command you will get template for your project.

    mvn archetype:create  -DarchetypeArtifactId=softeu-archetype-seam \
-DremoteRepositories=http://maven.softeu.cz/ \
-DgroupId=cz.softeu.test -DartifactId=helloApp

Read README.txt inside the generated project.

Modify profiles.xml and jdbc.properties and configure it for your environment (DB + Container).

Now you can use Maven Seam plugin (similar to SeamGen):

    mvn seam:new-entity
mvn seam:new-action
mvn seam:new-form
mvn seam:new-conversation

Note: mvn seam:generate-entities doesn't work yet.

Seam Examples

You can download few Seam examptes that I converted to using Maven:

Using by hand

Add our Maven repository to your repositories in pom.xml:



softeu-repo
http://maven.softeu.cz/

And add dependency on your chosen profile(s)


jboss.seam.profiles
seam-facelets
1.1.6.GA
compile

No hay comentarios: