Created
March 15, 2017 01:47
-
-
Save enzinier/a65d2ecfe27acd073079770212170048 to your computer and use it in GitHub Desktop.
Example for mybatis-generator maven plugin.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<plugin> | |
<groupId>org.mybatis.generator</groupId> | |
<artifactId>mybatis-generator-maven-plugin</artifactId> | |
<version>${mybatis-generator.version}</version> | |
<executions> | |
<execution> | |
<id>Generate MyBatis Artifacts</id> | |
<goals> | |
<goal>generate</goal> | |
</goals> | |
<phase>none</phase> | |
<configuration> | |
<configurationFile>${basedir}/src/main/resources/config/mysqlGeneratorConfig.xml</configurationFile> | |
<overwrite>true</overwrite> | |
<jdbcDriver>com.mysql.jdbc.Driver</jdbcDriver> | |
<jdbcURL>jdbc:mysql://localhost:3306/sakira</jdbcURL> | |
<jdbcUserId>root</jdbcUserId> | |
<jdbcPassword>root.local</jdbcPassword> | |
<verbose>true</verbose> | |
</configuration> | |
</execution> | |
</executions> | |
</plugin> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
thanks for this 👍