*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