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=helloAppRead 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-conversationNote: mvn seam:generate-entities doesn't work yet.
You can download few Seam examptes that I converted to using Maven:
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>