This project was motivated by a fundamental problem with seam-gen reverse engineering from the database. Quite simply, the strategy results in too much lost information. For example:
@Length(min=3)
)In addition, this project aims to simplify using JBoss Seam by leveraging Maven.
[top] |
Specify the plugin in your pom.xml:
<build> <plugins> <plugin> <groupId>net.sf.stitch</groupId> <artifactId>maven-stitch-plugin</artifactId> <configuration> <entityClasses> <param>com.company.project.EntityClass1</param> <param>com.company.project.EntityClass2</param> </entityClasses> </configuration> <dependencies> <dependency> <groupId>com.company.project</groupId> <artifactId>project-model</artifactId> <version>1.0-SNAPSHOT</version> </dependency> </dependencies> <executions> <execution> <phase>compile</phase> <goals> <goal>crud</goal> </goals> </execution> </executions> </plugin> </plugins> </build>
The entityClasses
must list the classes that you want CRUD generation.
[top] |
The following goals are available:
[top] |
Yes, of course! There are several things that you can do:
[top] |
If you are considering this tool, you may also be interested in looking at:
[top] |