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:

<repositories>
    <repository>
        <id>softeu-repo</id>
        <url>http://maven.softeu.cz/</url>
    </repository>
</repositories>

And add dependency on your chosen profile(s)

<dependency>
    <groupId>jboss.seam.profiles</groupId>
    <artifactId>seam-facelets</artifactId>
    <version>1.1.6.GA</version>
    <scope>compile</scope>
</dependency>