*This is for dbflute-1.0.x (Java6,7).
See dbflute Maven Plugin for dbflute-1.1.x (Java8)
dbflute Maven Plugin is a plugin for Apache Maven 2.x. dbflute Maven Plugin allows you to configure files and run commands for dbflute on mvn command.
dbflute Maven Plugin provides the follwing goals:
Goals of dbflute Maven Plugin are used as mvn sub-commands. To use this plugin, add the following code to pom.xml of your project.
<?xml version="1.0" encoding="UTF-8"?> <project> ... <pluginRepositories> <pluginRepository> <id>maven.seasar.org</id> <name>The Seasar Foundation Maven2 Repository</name> <url>http://maven.seasar.org/maven2/</url> </pluginRepository> <pluginRepository> <id>maven-snapshot.seasar.org</id> <name>The Seasar Foundation Maven2 Repository</name> <url>http://maven.seasar.org/maven2-snapshot/</url> </pluginRepository> </pluginRepositories> ... <build> <plugins> ... <plugin> <groupId>org.seasar.dbflute</groupId> <artifactId>dbflute-maven-plugin</artifactId> <version>1.0.0</version> <configuration> <dbfluteVersion>1.0.0</dbfluteVersion> <rootPackage>sample.app</rootPackage> <dbPackage>sample.app.db</dbPackage> <clientProject>sample</clientProject> <schemaFile>${basedir}/dbflute/schema/project-schema-sample.xml</schemaFile> </configuration> </plugin> ... </plugins> </build> ... </project>
For example, you can run download goal below:
mvn dbflute:download