Goals available for this plugin:
Goal | Description |
---|---|
torque:datadtd | Generates a data dtd from schema files. |
torque:datadump | Reads the content of tables from thh database and stores the data in XML files. |
torque:datasql | Generates SQL for populating the database from data.xml files. |
torque:documentation | Creates html or anakia documentation for the data model from the schema.xml files. |
torque:id-table-init-sql | Generates SQL for populating the id table in the database. |
torque:om | Generates the sources for the persistence classes from the schema.xml files. |
torque:sql | Generates SQL for creating the database from the schema.xml files. |
torque:sqlExec | Executes the generated SQL. |
The following specifies the minimum requirements to run this Maven plugin:
Maven | 2.0 |
JDK | 1.4 |
Memory | No minimum requirement. |
Disk Space | No minimum requirement. |
You should specify the version in your project's plugin configuration:
<project> ... <build> <!-- To define the plugin version in your parent POM --> <pluginManagement> <plugins> <plugin> <groupId>org.apache.torque</groupId> <artifactId>torque-maven-plugin</artifactId> <version>3.3.1-SNAPSHOT</version> </plugin> ... </plugins> </pluginManagement> <!-- To use the plugin goals in your POM or parent POM --> <plugins> <plugin> <groupId>org.apache.torque</groupId> <artifactId>torque-maven-plugin</artifactId> <version>3.3.1-SNAPSHOT</version> </plugin> ... </plugins> </build> ... </project>
For more information, see "Guide to Configuring Plug-ins"