Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <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>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement